From 984250ce1da1b28f7af634e148b55438f6301f2e Mon Sep 17 00:00:00 2001 From: Sandhya Dasu Date: Tue, 14 Jul 2026 10:59:44 -0400 Subject: [PATCH] Add NoRegistryClusterInstall capability to variant registry This change adds Component and Capability tracking for Agent IRI No registry nstaller jobs in the variant registry system. Jobs matching the pattern '-iso-no-registry` are now classified with: - Component: Installer - Capability: NoRegistryClusterInstall - JobTier: candidate This enables Sippy to track these jobs separately via the capability-based variant system introduced in PR #3696. --- pkg/variantregistry/ocp.go | 1 + pkg/variantregistry/ocp_test.go | 30 ++++++++++++++++++++++++++++++ pkg/variantregistry/snapshot.yaml | 8 ++++++++ 3 files changed, 39 insertions(+) diff --git a/pkg/variantregistry/ocp.go b/pkg/variantregistry/ocp.go index 15e7b44778..b1f3e3c057 100644 --- a/pkg/variantregistry/ocp.go +++ b/pkg/variantregistry/ocp.go @@ -767,6 +767,7 @@ var componentCapabilityPatterns = []componentCapabilityEntry{ {[]string{"-cpu-partitioning"}, "Node / Kubelet", "CPU Partitioning", "spotcheck-30d"}, {[]string{"-etcd-scaling"}, "Etcd", "Scaling", "spotcheck-30d"}, {[]string{"-aws-ovn-installer-dualstack"}, "Installer", "AWSDualStackInstall", "candidate"}, + {[]string{"-iso-no-registry"}, "Installer / Agent based installation", "NoRegistryClusterInstall", "candidate"}, } // setComponentAndCapability identifies the component and capability owner for a job. diff --git a/pkg/variantregistry/ocp_test.go b/pkg/variantregistry/ocp_test.go index 89667990b5..5e5b72992b 100644 --- a/pkg/variantregistry/ocp_test.go +++ b/pkg/variantregistry/ocp_test.go @@ -2294,6 +2294,36 @@ func TestVariantSyncer(t *testing.T) { VariantCapability: "AWSDualStackInstall", }, }, + { + job: "periodic-ci-openshift-release-main-nightly-5.0-e2e-agent-compact-iso-no-registry-techpreview", + expected: map[string]string{ + VariantRelease: "5.0", + VariantReleaseMajor: "5", + VariantReleaseMinor: "0", + VariantArch: "amd64", + VariantInstaller: "agent", + VariantPlatform: "metal", + VariantNetwork: "ovn", + VariantNetworkStack: "ipv4", + VariantOwner: "eng", + VariantTopology: "compact", + VariantSuite: "unknown", + VariantUpgrade: VariantNoValue, + VariantProcedure: VariantNoValue, + VariantJobTier: "candidate", + VariantAggregation: VariantNoValue, + VariantSecurityMode: VariantDefaultValue, + VariantFeatureSet: "techpreview", + VariantNetworkAccess: VariantDefaultValue, + VariantScheduler: VariantDefaultValue, + VariantContainerRuntime: "crun", + VariantCGroupMode: "v2", + VariantLayeredProduct: VariantNoValue, + VariantOS: "rhcos10", + VariantComponent: "Installer / Agent based installation", + VariantCapability: "NoRegistryClusterInstall", + }, + }, } for _, test := range tests { t.Run(test.job, func(t *testing.T) { diff --git a/pkg/variantregistry/snapshot.yaml b/pkg/variantregistry/snapshot.yaml index e8dc86cc6c..628281d029 100644 --- a/pkg/variantregistry/snapshot.yaml +++ b/pkg/variantregistry/snapshot.yaml @@ -270294,6 +270294,8 @@ periodic-ci-openshift-release-main-nightly-5.0-e2e-agent-compact-iso-no-registry Aggregation: none Architecture: amd64 CGroupMode: v2 + Capability: NoRegistryClusterInstall + Component: Installer / Agent based installation ContainerRuntime: crun FeatureSet: techpreview Installer: agent @@ -270341,6 +270343,8 @@ periodic-ci-openshift-release-main-nightly-5.0-e2e-agent-ha-dualstack-iso-no-reg Aggregation: none Architecture: amd64 CGroupMode: v2 + Capability: NoRegistryClusterInstall + Component: Installer / Agent based installation ContainerRuntime: crun FeatureSet: techpreview Installer: agent @@ -270365,6 +270369,8 @@ periodic-ci-openshift-release-main-nightly-5.0-e2e-agent-ha5-dualstack-iso-no-re Aggregation: none Architecture: amd64 CGroupMode: v2 + Capability: NoRegistryClusterInstall + Component: Installer / Agent based installation ContainerRuntime: crun FeatureSet: techpreview Installer: agent @@ -270550,6 +270556,8 @@ periodic-ci-openshift-release-main-nightly-5.0-e2e-agent-sno-ipv4-iso-no-registr Aggregation: none Architecture: amd64 CGroupMode: v2 + Capability: NoRegistryClusterInstall + Component: Installer / Agent based installation ContainerRuntime: crun FeatureSet: techpreview Installer: agent