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

[wip] rehearse clusters for debug #60212

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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 @@ -139,6 +139,23 @@ tests:
requests:
cpu: 100m
workflow: optional-operators-ci-operator-sdk-aws
- as: e2e-operator-prod-f7
cron: '@weekly'
steps:
cluster_profile: aws
env:
CHANNEL: stable-v1.14
TARGET_NAMESPACES: cert-manager-operator
test:
- ref: cert-manager-install
- as: test
cli: latest
commands: make test-e2e
from: src
resources:
requests:
cpu: 100m
workflow: ipi-aws
zz_generated_metadata:
branch: cert-manager-1.14
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,22 @@ tests:
requests:
cpu: 100m
workflow: optional-operators-ci-operator-sdk-aws
- as: e2e-operator-stage-f7
cron: '@weekly'
steps:
cluster_profile: aws
env:
INDEX_IMG: quay.io/redhat-user-workloads/cert-manager-oape-tenant/cert-manager-operator-1-15/cert-manager-operator-fbc-1-15:bf2b01d9ed2c009b6007c5f651b7b18043f8941a
test:
- ref: cert-manager-install
- as: test
cli: latest
commands: make test-e2e
from: src
resources:
requests:
cpu: 100m
workflow: ipi-aws
zz_generated_metadata:
branch: cert-manager-1.15
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ tests:
OO_INSTALL_MODE: AllNamespaces
OO_INSTALL_NAMESPACE: cert-manager-operator
OO_SECURITY_CONTEXT: restricted
TIMEOUT: +6 hours
test:
- as: install
cli: latest
Expand All @@ -105,6 +106,7 @@ tests:
requests:
cpu: 100m
- ref: fips-check-fips-or-die
- ref: wait
- as: test
cli: latest
commands: make test-e2e
Expand All @@ -113,6 +115,54 @@ tests:
requests:
cpu: 100m
workflow: optional-operators-ci-operator-sdk-aws
- as: e2e-operator-upgrade
steps:
cluster_profile: aws
test:
- as: install
cli: latest
commands: |
export REGISTRY_AUTH_FILE=/tmp/import-secret/.dockerconfigjson
export DOCKER_CONFIG=/tmp/.docker
mkdir -p $DOCKER_CONFIG
cp $REGISTRY_AUTH_FILE $DOCKER_CONFIG/config.json
cd /tmp
oc create namespace cert-manager-operator
operator-sdk run bundle --security-context-config restricted -n cert-manager-operator registry.redhat.io/cert-manager/cert-manager-operator-bundle:v1.14.1
oc wait --timeout=10m --for condition=Available -n cert-manager-operator deployment cert-manager-operator-controller-manager
oc get deployment -n cert-manager
credentials:
- mount_path: /tmp/pull-secret
name: registry-pull-credentials
namespace: test-credentials
- mount_path: /tmp/import-secret
name: ci-pull-credentials
namespace: test-credentials
from: cli-operator-sdk
resources:
requests:
cpu: 100m
- as: upgrade
cli: latest
commands: |
operator-sdk run bundle-upgrade --security-context-config restricted -n cert-manager-operator "$OO_BUNDLE"
oc wait --timeout=10m --for condition=Available -n cert-manager-operator deployment cert-manager-operator-controller-manager
oc get deployment -n cert-manager
dependencies:
- env: OO_BUNDLE
name: cert-manager-operator-bundle
from: cli-operator-sdk
resources:
requests:
cpu: 100m
- as: test
cli: latest
commands: make test-e2e
from: src
resources:
requests:
cpu: 100m
workflow: ipi-aws
zz_generated_metadata:
branch: master
org: openshift
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
base_images:
cli:
name: "4.17"
namespace: ocp
tag: cli
tests-private:
name: tests-private
namespace: ci
tag: "4.17"
upi-installer:
name: "4.17"
namespace: ocp
tag: upi-installer
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.21
use_build_cache: true
releases:
latest:
candidate:
architecture: amd64
product: ocp
stream: nightly
version: "4.17"
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: e2e-operator
cron: '@weekly'
steps:
cluster_profile: aws-qe
env:
BASE_DOMAIN: qe.devcluster.openshift.com
TEST_FILTERS: CFE&;~ChkUpgrade&;
TEST_SCENARIOS: cert-manager
test:
- ref: openshift-extended-test
- ref: openshift-e2e-test-qe-report
workflow: cucushift-installer-rehearse-aws-ipi
zz_generated_metadata:
branch: master
org: openshift
repo: cert-manager-operator
variant: ocp-4.17
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
periodics:
- agent: kubernetes
cluster: build09
cron: '@weekly'
decorate: true
extra_refs:
- base_ref: cert-manager-1.14
org: openshift
repo: cert-manager-operator
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-cert-manager-operator-cert-manager-1.14-e2e-operator-prod-f7
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-operator-prod-f7
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
periodics:
- agent: kubernetes
cluster: build09
cron: '@weekly'
decorate: true
extra_refs:
- base_ref: cert-manager-1.15
org: openshift
repo: cert-manager-operator
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-cert-manager-operator-cert-manager-1.15-e2e-operator-stage-f7
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-operator-stage-f7
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
periodics:
- agent: kubernetes
cluster: build10
cron: '@weekly'
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: master
org: openshift
repo: cert-manager-operator
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-qe
ci-operator.openshift.io/variant: ocp-4.17
ci.openshift.io/generator: prowgen
job-release: "4.17"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-cert-manager-operator-master-ocp-4.17-e2e-operator
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-operator
- --variant=ocp-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
Loading