-
Notifications
You must be signed in to change notification settings - Fork 2.3k
CMP-4326: Add CI jobs for periodic testing of the e2e tests in CaC-compliance operator repo #80274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Anna-Koudelkova
wants to merge
1
commit into
openshift:main
Choose a base branch
from
Anna-Koudelkova:periodic_CaC_co
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
158 changes: 158 additions & 0 deletions
158
...anceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.12.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,158 @@ | ||
| build_root: | ||
| image_stream_tag: | ||
| name: release | ||
| namespace: openshift | ||
| tag: rhel-9-release-golang-1.23-openshift-4.19 | ||
| releases: | ||
| arm64-latest: | ||
| candidate: | ||
| architecture: arm64 | ||
| product: ocp | ||
| stream: nightly | ||
| version: "4.12" | ||
| initial: | ||
| integration: | ||
| name: "4.12" | ||
| namespace: ocp | ||
| latest: | ||
| candidate: | ||
| product: ocp | ||
| stream: ci | ||
| version: "4.12" | ||
| resources: | ||
| '*': | ||
| requests: | ||
| cpu: 200m | ||
| memory: 400Mi | ||
| tests: | ||
| - as: e2e-aws-prerelease-f60 | ||
| cron: 10 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-prerelease | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-parsing-f60 | ||
| cron: 15 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-parsing | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-deployment-f60 | ||
| cron: 20 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-deployment | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-scan-config-f60 | ||
| cron: 25 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-scan-config | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-tailoring-f60 | ||
| cron: 30 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-tailoring | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-cel-f60 | ||
| cron: 35 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-cel | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| zz_generated_metadata: | ||
| branch: master | ||
| org: ComplianceAsCode | ||
| repo: compliance-operator | ||
| variant: ocp-4.12 | ||
158 changes: 158 additions & 0 deletions
158
...anceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.13.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,158 @@ | ||
| build_root: | ||
| image_stream_tag: | ||
| name: release | ||
| namespace: openshift | ||
| tag: rhel-9-release-golang-1.23-openshift-4.19 | ||
| releases: | ||
| arm64-latest: | ||
| candidate: | ||
| architecture: arm64 | ||
| product: ocp | ||
| stream: nightly | ||
| version: "4.13" | ||
| initial: | ||
| integration: | ||
| name: "4.13" | ||
| namespace: ocp | ||
| latest: | ||
| candidate: | ||
| product: ocp | ||
| stream: ci | ||
| version: "4.13" | ||
| resources: | ||
| '*': | ||
| requests: | ||
| cpu: 200m | ||
| memory: 400Mi | ||
| tests: | ||
| - as: e2e-aws-prerelease-f60 | ||
| cron: 40 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-prerelease | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-parsing-f60 | ||
| cron: 45 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-parsing | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-deployment-f60 | ||
| cron: 50 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-deployment | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-scan-config-f60 | ||
| cron: 55 3 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-scan-config | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-tailoring-f60 | ||
| cron: 0 4 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-tailoring | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| - as: e2e-aws-cel-f60 | ||
| cron: 5 4 2 1,3,5,7,9,11 * | ||
| steps: | ||
| cluster_profile: aws-stackrox | ||
| env: | ||
| BASE_DOMAIN: perfscale.rox.systems | ||
| CATALOG_SOURCE_NAME: compliance-operator | ||
| OO_BUNDLE: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-bundle-release:release-1.9 | ||
| OO_INSTALL_NAMESPACE: openshift-compliance | ||
| TEST_TYPE: release | ||
| test: | ||
| - ref: file-integrity-konflux-catalogsource | ||
| - ref: optional-operators-operator-sdk-non-ci-bundle-image | ||
| - as: test | ||
| cli: latest | ||
| commands: make e2e-cel | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: ipi-aws | ||
| zz_generated_metadata: | ||
| branch: master | ||
| org: ComplianceAsCode | ||
| repo: compliance-operator | ||
| variant: ocp-4.13 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: openshift/release
Length of output: 9129
🏁 Script executed:
Repository: openshift/release
Length of output: 4097
🌐 Web query:
OpenShift 4.19 ci-operator build root image_stream_tag tag rhel-9-release-golang-1.23-openshift-4.19💡 Result:
In OpenShift 4.19, the
rhel-9-release-golang-1.23-openshift-4.19tag is used within theci-operatorconfiguration to define thebuild_root_image[1][2][3]. This tag ensures that the build environment for OpenShift components is consistent with the ART (Automated Release Team) build specifications for the 4.19 release cycle [4][5]. When defined in a component's.ci-operator.yamlfile, this configuration is typically structured as follows: build_root_image: name: release namespace: openshift tag: rhel-9-release-golang-1.23-openshift-4.19 Thebuild_rootprovides the necessary build-time dependencies, such as the specified Go version (1.23) and RHEL 9 base environment, required for compiling components and running tests within the OpenShift CI environment [6][7][8]. Consistent use of this tag across components helps maintain parity between the component-level builds and the central ART-managed release images [4][5][9]. Additionally, this tag is often paired with corresponding builder images in the component'sDockerfile(e.g.,FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19 AS builder) to ensure the build environment used during CI processes remains identical to the one used for the final productized images [1][10][2].Citations:
Make the 4.12–4.18 build roots consistent with their test variants. These seven configs still point at the 4.19/RHEL-9 Go build root while the newer sibling variants use their own matching image streams up to 4.22. If the Go 1.23 build root is intentional, align the 4.20–4.22 variants to the same root; otherwise update each job to the build root appropriate for that OCP variant.
📍 Affects 7 files
ci-operator/config/ComplianceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.12.yaml#L1-L5(this comment)ci-operator/config/ComplianceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.13.yaml#L1-L5ci-operator/config/ComplianceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.14.yaml#L1-L5ci-operator/config/ComplianceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.15.yaml#L1-L5ci-operator/config/ComplianceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.16.yaml#L1-L5ci-operator/config/ComplianceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.17.yaml#L1-L5ci-operator/config/ComplianceAsCode/compliance-operator/ComplianceAsCode-compliance-operator-master__ocp-4.18.yaml#L1-L5🤖 Prompt for AI Agents