-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add periodic CI cluster-updates evaluation jobs for 4.22 #82093
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
fao89
wants to merge
1
commit into
openshift:main
Choose a base branch
from
fao89:cluster-update-evals
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
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,11 @@ | ||
| # DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. | ||
| # Fetched from https://github.com/fao89/ocp-evals root OWNERS | ||
| # If the repo had OWNERS_ALIASES then the aliases were expanded | ||
| # Logins who are not members of 'openshift' organization were filtered out | ||
| # See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
|
||
| approvers: | ||
| - fao89 | ||
| options: {} | ||
| reviewers: | ||
| - fao89 |
197 changes: 197 additions & 0 deletions
197
ci-operator/config/fao89/ocp-evals/fao89-ocp-evals-main__4.22.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,197 @@ | ||
| base_images: | ||
| lightspeed-service-api: | ||
| name: lightspeed-service-api | ||
| namespace: ols | ||
| tag: latest | ||
| build_root: | ||
| project_image: | ||
| dockerfile_literal: | | ||
| FROM registry.ci.openshift.org/ocp/ubi-python-311:9 | ||
| USER 0 | ||
| RUN dnf install -y git && dnf clean all | ||
| releases: | ||
| latest: | ||
| candidate: | ||
| product: ocp | ||
| stream: nightly | ||
| version: "4.22" | ||
| resources: | ||
| '*': | ||
| limits: | ||
| memory: 4Gi | ||
| requests: | ||
| cpu: 100m | ||
| memory: 200Mi | ||
| tests: | ||
| - as: cu-eval-openai-periodics | ||
| cluster_claim: | ||
| architecture: amd64 | ||
| cloud: aws | ||
| labels: | ||
| region: us-east-1 | ||
| owner: openshift-ci | ||
| product: ocp | ||
| timeout: 2h0m0s | ||
| version: "4.22" | ||
| cron: 30 14 * * * | ||
| steps: | ||
| allow_skip_on_success: true | ||
| post: | ||
| - ref: gather-must-gather | ||
| test: | ||
| - as: e2e | ||
| cli: latest | ||
| commands: | | ||
| export PROVIDER=openai | ||
| export PROVIDER_KEY_PATH=/var/run/openai/token | ||
| export OPENAI_PROVIDER_KEY_PATH=/var/run/openai/token | ||
| export OPENAI_API_KEY=$(cat /var/run/openai/token) | ||
| export EVAL_TAG=cluster-updates-critical | ||
|
|
||
| tests/scripts/test-cluster-updates.sh --artifact-dir "${ARTIFACT_DIR}" | ||
| credentials: | ||
| - mount_path: /var/run/openai | ||
| name: openai-apitoken | ||
| namespace: test-credentials | ||
| dependencies: | ||
| - env: OLS_IMAGE | ||
| name: lightspeed-service-api | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: generic-claim | ||
| - as: cu-eval-watsonx-granite-periodics | ||
| cluster_claim: | ||
| architecture: amd64 | ||
| cloud: aws | ||
| labels: | ||
| region: us-east-1 | ||
| owner: openshift-ci | ||
| product: ocp | ||
| timeout: 2h0m0s | ||
| version: "4.22" | ||
| cron: 30 15 * * * | ||
| steps: | ||
| allow_skip_on_success: true | ||
| post: | ||
| - ref: gather-must-gather | ||
| test: | ||
| - as: e2e | ||
| cli: latest | ||
| commands: | | ||
| export PROVIDER=watsonx | ||
| export PROVIDER_KEY_PATH=/var/run/watsonx/token | ||
| export OPENAI_PROVIDER_KEY_PATH=/var/run/openai/token | ||
| export OPENAI_API_KEY=$(cat /var/run/openai/token) | ||
| export WATSONX_PROVIDER_KEY_PATH=/var/run/watsonx/token | ||
| export EVAL_TAG=cluster-updates-critical | ||
|
|
||
| cp config/system_watsonx.yaml config/system.yaml | ||
| tests/scripts/test-cluster-updates.sh --artifact-dir "${ARTIFACT_DIR}" | ||
| credentials: | ||
| - mount_path: /var/run/openai | ||
| name: openai-apitoken | ||
| namespace: test-credentials | ||
| - mount_path: /var/run/watsonx | ||
| name: watsonx-apitoken | ||
| namespace: test-credentials | ||
| dependencies: | ||
| - env: OLS_IMAGE | ||
| name: lightspeed-service-api | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: generic-claim | ||
| - as: cu-eval-vertex-gemini-periodics | ||
| cluster_claim: | ||
| architecture: amd64 | ||
| cloud: aws | ||
| labels: | ||
| region: us-east-1 | ||
| owner: openshift-ci | ||
| product: ocp | ||
| timeout: 2h0m0s | ||
| version: "4.22" | ||
| cron: 30 16 * * * | ||
| steps: | ||
| allow_skip_on_success: true | ||
| post: | ||
| - ref: gather-must-gather | ||
| test: | ||
| - as: e2e | ||
| cli: latest | ||
| commands: | | ||
| export PROVIDER=google_vertex | ||
| export PROVIDER_KEY_PATH=/var/run/vertex/token | ||
| export OPENAI_PROVIDER_KEY_PATH=/var/run/openai/token | ||
| export OPENAI_API_KEY=$(cat /var/run/openai/token) | ||
| export VERTEX_PROVIDER_KEY_PATH=/var/run/vertex/token | ||
| export EVAL_TAG=cluster-updates-critical | ||
|
|
||
| cp config/system_google_vertex.yaml config/system.yaml | ||
| tests/scripts/test-cluster-updates.sh --artifact-dir "${ARTIFACT_DIR}" | ||
| credentials: | ||
| - mount_path: /var/run/openai | ||
| name: openai-apitoken | ||
| namespace: test-credentials | ||
| - mount_path: /var/run/vertex | ||
| name: vertex-apitoken | ||
| namespace: test-credentials | ||
| dependencies: | ||
| - env: OLS_IMAGE | ||
| name: lightspeed-service-api | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: generic-claim | ||
| - as: cu-eval-vertex-anthropic-periodics | ||
| cluster_claim: | ||
| architecture: amd64 | ||
| cloud: aws | ||
| labels: | ||
| region: us-east-1 | ||
| owner: openshift-ci | ||
| product: ocp | ||
| timeout: 2h0m0s | ||
| version: "4.22" | ||
| cron: 30 17 * * * | ||
| steps: | ||
| allow_skip_on_success: true | ||
| post: | ||
| - ref: gather-must-gather | ||
| test: | ||
| - as: e2e | ||
| cli: latest | ||
| commands: | | ||
| export PROVIDER=google_vertex_anthropic | ||
| export PROVIDER_KEY_PATH=/var/run/vertex/token | ||
| export OPENAI_PROVIDER_KEY_PATH=/var/run/openai/token | ||
| export OPENAI_API_KEY=$(cat /var/run/openai/token) | ||
| export VERTEX_PROVIDER_KEY_PATH=/var/run/vertex/token | ||
| export EVAL_TAG=cluster-updates-critical | ||
|
|
||
| cp config/system_google_vertex_anthropic.yaml config/system.yaml | ||
| tests/scripts/test-cluster-updates.sh --artifact-dir "${ARTIFACT_DIR}" | ||
| credentials: | ||
| - mount_path: /var/run/openai | ||
| name: openai-apitoken | ||
| namespace: test-credentials | ||
| - mount_path: /var/run/vertex | ||
| name: vertex-apitoken | ||
| namespace: test-credentials | ||
| dependencies: | ||
| - env: OLS_IMAGE | ||
| name: lightspeed-service-api | ||
| from: src | ||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| workflow: generic-claim | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| zz_generated_metadata: | ||
| branch: main | ||
| org: fao89 | ||
| repo: ocp-evals | ||
| variant: "4.22" | ||
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.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: openshift/release
Length of output: 309
🏁 Script executed:
Repository: openshift/release
Length of output: 41037
Restore a non-root runtime user after installing Git.
ci-operator/config/fao89/cluster-updates-evals/fao89-cluster-updates-evals-main__4.22.yaml:9-11leaves the build-root image running as root afterdnf install. Switch back to the image’s standard non-root UID before it is used in CI.🤖 Prompt for AI Agents
Source: Coding guidelines