Skip to content

Commit

Permalink
move the public-to-private test to e2e job (openshift#59604)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpei authored and yingzhanredhat committed Dec 18, 2024
1 parent b4bde02 commit e3e6cf0
Show file tree
Hide file tree
Showing 7 changed files with 370 additions and 178 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,27 @@ tests:
test:
- chain: openshift-e2e-test-qe
workflow: cucushift-installer-rehearse-aws-ipi-minimal-permission
- as: aws-ipi-public-to-private-f28-destructive
cron: 4 16 5 * *
steps:
cluster_profile: aws-qe
env:
BASE_DOMAIN: qe.devcluster.openshift.com
test:
- chain: openshift-e2e-test-qe-destructive
workflow: cucushift-installer-rehearse-aws-ipi-private-migration-from-public
- as: aws-ipi-public-to-private-arm-f28
cron: 53 4 12 * *
steps:
cluster_profile: aws-qe
env:
BASE_DOMAIN: qe.devcluster.openshift.com
COMPUTE_NODE_TYPE: m6g.xlarge
CONTROL_PLANE_INSTANCE_TYPE: m6g.xlarge
OCP_ARCH: arm64
test:
- chain: openshift-e2e-test-qe
workflow: cucushift-installer-rehearse-aws-ipi-private-migration-from-public
- as: aws-ipi-ovn-efs-arm-f7-ui
cron: 4 10 3,10,17,26 * *
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,27 @@ tests:
test:
- chain: openshift-e2e-test-qe
workflow: cucushift-installer-rehearse-aws-ipi-ingress-lbtype-nlb-subnets-day2
- as: aws-ipi-public-to-private-f28-destructive
cron: 6 15 14 * *
steps:
cluster_profile: aws-qe
env:
BASE_DOMAIN: qe.devcluster.openshift.com
test:
- chain: openshift-e2e-test-qe-destructive
workflow: cucushift-installer-rehearse-aws-ipi-private-migration-from-public
- as: aws-ipi-public-to-private-arm-f28
cron: 1 13 5 * *
steps:
cluster_profile: aws-qe
env:
BASE_DOMAIN: qe.devcluster.openshift.com
COMPUTE_NODE_TYPE: m6g.xlarge
CONTROL_PLANE_INSTANCE_TYPE: m6g.xlarge
OCP_ARCH: arm64
test:
- chain: openshift-e2e-test-qe
workflow: cucushift-installer-rehearse-aws-ipi-private-migration-from-public
- as: aws-ipi-ovn-efs-arm-f7-ui
cron: 54 13 8,15,22,29 * *
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,20 +199,6 @@ tests:
test:
- ref: cucushift-installer-check-cluster-health
workflow: cucushift-installer-rehearse-aws-ipi-additional-ca-policy
- as: aws-ipi-public-to-private-arm-f28
cron: 2 0 5 * *
steps:
cluster_profile: aws-qe
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:arm64-latest
env:
BASE_DOMAIN: qe.devcluster.openshift.com
COMPUTE_NODE_TYPE: m6g.xlarge
CONTROL_PLANE_INSTANCE_TYPE: m6g.xlarge
OCP_ARCH: arm64
test:
- ref: cucushift-installer-check-cluster-health
workflow: cucushift-installer-rehearse-aws-ipi-private-migration-from-public
- as: aws-upi-reboot-nodes-f28
cron: 35 23 25 * *
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,20 +230,6 @@ tests:
test:
- ref: cucushift-installer-check-cluster-health
workflow: cucushift-installer-rehearse-aws-ipi-additional-ca-policy
- as: aws-ipi-public-to-private-arm-f28
cron: 17 23 17 * *
steps:
cluster_profile: aws-qe
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:arm64-latest
env:
BASE_DOMAIN: qe.devcluster.openshift.com
COMPUTE_NODE_TYPE: m6g.xlarge
CONTROL_PLANE_INSTANCE_TYPE: m6g.xlarge
OCP_ARCH: arm64
test:
- ref: cucushift-installer-check-cluster-health
workflow: cucushift-installer-rehearse-aws-ipi-private-migration-from-public
- as: aws-upi-reboot-nodes-f28
cron: 41 14 29 * *
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62988,6 +62988,170 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build03
cron: 53 4 12 * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-4.17
org: openshift
repo: openshift-tests-private
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-qe
ci-operator.openshift.io/variant: multi-nightly
ci.openshift.io/generator: prowgen
job-release: "4.17"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-openshift-tests-private-release-4.17-multi-nightly-aws-ipi-public-to-private-arm-f28
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
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=aws-ipi-public-to-private-arm-f28
- --variant=multi-nightly
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: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
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: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- 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
- agent: kubernetes
cluster: build03
cron: 4 16 5 * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-4.17
org: openshift
repo: openshift-tests-private
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-qe
ci-operator.openshift.io/variant: multi-nightly
ci.openshift.io/generator: prowgen
job-release: "4.17"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-openshift-tests-private-release-4.17-multi-nightly-aws-ipi-public-to-private-f28-destructive
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
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=aws-ipi-public-to-private-f28-destructive
- --variant=multi-nightly
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: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
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: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- 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
- agent: kubernetes
cluster: build03
cron: 16 20 10 * *
Expand Down
Loading

0 comments on commit e3e6cf0

Please sign in to comment.