Skip to content
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

MGMT-19248: Add assisted installer OpenShift AI job #58924

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,27 @@ tests:
OPENSHIFT_VERSION=4.18
OPENSHIFT_INSTALL_RELEASE_IMAGE=""
workflow: assisted-baremetal
- as: e2e-metal-assisted-openshift-ai-4-17
run_if_changed: ^(internal/operators/.*\.go|internal/operators/openshiftai/.*|internal/operators/api/.*|internal/operators/handler/.*)$
steps:
cluster_profile: packet-assisted
dependencies:
OPENSHIFT_TESTS_IMAGE: tests
env:
ASSISTED_CONFIG: |
OPENSHIFT_VERSION=4.17
OPENSHIFT_INSTALL_RELEASE_IMAGE=""
NUM_MASTERS=3
MASTER_MEMORY=40960
MASTER_CPU=10
MASTER_DISK_COUNT=2
NUM_WORKERS=3
WORKER_MEMORY=65536
WORKER_DISK_COUNT=2
WORKER_CPU=20
OLM_OPERATORS=openshift-ai
OPENSHIFT_AI_REQUIRE_GPU=false
workflow: assisted-baremetal
zz_generated_metadata:
branch: master
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,28 @@ tests:
ASSISTED_CONFIG: |
OCI_BOOT_VOLUME_TYPE="ISCSI"
workflow: assisted-oci
- always_run: false
as: e2e-metal-assisted-openshift-ai-4-17
optional: true
steps:
cluster_profile: packet-assisted
dependencies:
OPENSHIFT_TESTS_IMAGE: tests
env:
ASSISTED_CONFIG: |
OPENSHIFT_VERSION=4.17
OPENSHIFT_INSTALL_RELEASE_IMAGE=""
NUM_MASTERS=3
MASTER_MEMORY=40960
MASTER_CPU=10
MASTER_DISK_COUNT=2
NUM_WORKERS=3
WORKER_MEMORY=65536
WORKER_DISK_COUNT=2
WORKER_CPU=20
OLM_OPERATORS=openshift-ai
OPENSHIFT_AI_REQUIRE_GPU=false
workflow: assisted-baremetal
zz_generated_metadata:
branch: master
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4306,6 +4306,82 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )edge-e2e-metal-assisted-onprem,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build01
context: ci/prow/edge-e2e-metal-assisted-openshift-ai-4-17
decorate: true
labels:
ci-operator.openshift.io/cloud: packet-edge
ci-operator.openshift.io/cloud-cluster-profile: packet-assisted
ci-operator.openshift.io/variant: edge
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-assisted-service-master-edge-e2e-metal-assisted-openshift-ai-4-17
rerun_command: /test edge-e2e-metal-assisted-openshift-ai-4-17
run_if_changed: ^(internal/operators/.*\.go|internal/operators/openshiftai/.*|internal/operators/api/.*|internal/operators/handler/.*)$
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-metal-assisted-openshift-ai-4-17
- --variant=edge
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )edge-e2e-metal-assisted-openshift-ai-4-17,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2448,6 +2448,80 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-metal-assisted-onprem,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build01
context: ci/prow/e2e-metal-assisted-openshift-ai-4-17
decorate: true
labels:
ci-operator.openshift.io/cloud: packet-edge
ci-operator.openshift.io/cloud-cluster-profile: packet-assisted
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-assisted-test-infra-master-e2e-metal-assisted-openshift-ai-4-17
optional: true
rerun_command: /test e2e-metal-assisted-openshift-ai-4-17
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-metal-assisted-openshift-ai-4-17
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-metal-assisted-openshift-ai-4-17,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down