Skip to content

Commit db68f3f

Browse files
committed
Add optional tech preview bootstrap E2E tests for MCO presubmits
1 parent fa70d98 commit db68f3f

4 files changed

Lines changed: 138 additions & 0 deletions

File tree

ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ tests:
9393
steps:
9494
cluster_profile: aws
9595
workflow: openshift-e2e-aws-serial
96+
- as: e2e-aws-techpreview-featuregate
97+
steps:
98+
cluster_profile: aws
99+
workflow: openshift-e2e-aws-techpreview
96100
- as: verify
97101
commands: |
98102
make verify

ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-release-4.9.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ tests:
9494
steps:
9595
cluster_profile: aws
9696
workflow: openshift-e2e-aws-serial
97+
- as: e2e-aws-techpreview-featuregate
98+
steps:
99+
cluster_profile: aws
100+
workflow: openshift-e2e-aws-techpreview
97101
- as: verify
98102
commands: |
99103
make verify

ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,71 @@ presubmits:
456456
secret:
457457
secretName: result-aggregator
458458
trigger: (?m)^/test( | .* )e2e-aws-single-node,?($|\s.*)
459+
- agent: kubernetes
460+
always_run: true
461+
branches:
462+
- master
463+
cluster: build02
464+
context: ci/prow/e2e-aws-techpreview-featuregate
465+
decorate: true
466+
labels:
467+
ci-operator.openshift.io/prowgen-controlled: "true"
468+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
469+
name: pull-ci-openshift-machine-config-operator-master-e2e-aws-techpreview-featuregate
470+
optional: true
471+
rerun_command: /test e2e-aws-techpreview-featuregate
472+
spec:
473+
containers:
474+
- args:
475+
- --gcs-upload-secret=/secrets/gcs/service-account.json
476+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
477+
- --lease-server-credentials-file=/etc/boskos/credentials
478+
- --report-credentials-file=/etc/report/credentials
479+
- --secret-dir=/usr/local/e2e-aws-techpreview-featuregate-cluster-profile
480+
- --target=e2e-aws-techpreview-featuregate
481+
command:
482+
- ci-operator
483+
image: ci-operator:latest
484+
imagePullPolicy: Always
485+
name: ""
486+
resources:
487+
requests:
488+
cpu: 10m
489+
volumeMounts:
490+
- mountPath: /etc/boskos
491+
name: boskos
492+
readOnly: true
493+
- mountPath: /usr/local/e2e-aws-techpreview-featuregate-cluster-profile
494+
name: cluster-profile
495+
- mountPath: /secrets/gcs
496+
name: gcs-credentials
497+
readOnly: true
498+
- mountPath: /etc/pull-secret
499+
name: pull-secret
500+
readOnly: true
501+
- mountPath: /etc/report
502+
name: result-aggregator
503+
readOnly: true
504+
serviceAccountName: ci-operator
505+
volumes:
506+
- name: boskos
507+
secret:
508+
items:
509+
- key: credentials
510+
path: credentials
511+
secretName: boskos-credentials
512+
- name: cluster-profile
513+
projected:
514+
sources:
515+
- secret:
516+
name: cluster-secrets-aws
517+
- name: pull-secret
518+
secret:
519+
secretName: registry-pull-credentials
520+
- name: result-aggregator
521+
secret:
522+
secretName: result-aggregator
523+
trigger: (?m)^/test( | .* )e2e-aws-techpreview-featuregate,?($|\s.*)
459524
- agent: kubernetes
460525
always_run: false
461526
branches:

ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-release-4.9-presubmits.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,71 @@ presubmits:
456456
secret:
457457
secretName: result-aggregator
458458
trigger: (?m)^/test( | .* )e2e-aws-single-node,?($|\s.*)
459+
- agent: kubernetes
460+
always_run: true
461+
branches:
462+
- release-4.9
463+
cluster: build02
464+
context: ci/prow/e2e-aws-techpreview-featuregate
465+
decorate: true
466+
labels:
467+
ci-operator.openshift.io/prowgen-controlled: "true"
468+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
469+
name: pull-ci-openshift-machine-config-operator-release-4.9-e2e-aws-techpreview-featuregate
470+
optional: true
471+
rerun_command: /test e2e-aws-techpreview-featuregate
472+
spec:
473+
containers:
474+
- args:
475+
- --gcs-upload-secret=/secrets/gcs/service-account.json
476+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
477+
- --lease-server-credentials-file=/etc/boskos/credentials
478+
- --report-credentials-file=/etc/report/credentials
479+
- --secret-dir=/usr/local/e2e-aws-techpreview-featuregate-cluster-profile
480+
- --target=e2e-aws-techpreview-featuregate
481+
command:
482+
- ci-operator
483+
image: ci-operator:latest
484+
imagePullPolicy: Always
485+
name: ""
486+
resources:
487+
requests:
488+
cpu: 10m
489+
volumeMounts:
490+
- mountPath: /etc/boskos
491+
name: boskos
492+
readOnly: true
493+
- mountPath: /usr/local/e2e-aws-techpreview-featuregate-cluster-profile
494+
name: cluster-profile
495+
- mountPath: /secrets/gcs
496+
name: gcs-credentials
497+
readOnly: true
498+
- mountPath: /etc/pull-secret
499+
name: pull-secret
500+
readOnly: true
501+
- mountPath: /etc/report
502+
name: result-aggregator
503+
readOnly: true
504+
serviceAccountName: ci-operator
505+
volumes:
506+
- name: boskos
507+
secret:
508+
items:
509+
- key: credentials
510+
path: credentials
511+
secretName: boskos-credentials
512+
- name: cluster-profile
513+
projected:
514+
sources:
515+
- secret:
516+
name: cluster-secrets-aws
517+
- name: pull-secret
518+
secret:
519+
secretName: registry-pull-credentials
520+
- name: result-aggregator
521+
secret:
522+
secretName: result-aggregator
523+
trigger: (?m)^/test( | .* )e2e-aws-techpreview-featuregate,?($|\s.*)
459524
- agent: kubernetes
460525
always_run: false
461526
branches:

0 commit comments

Comments
 (0)