Skip to content
Merged
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 @@ -93,6 +93,10 @@ tests:
steps:
cluster_profile: aws
workflow: openshift-e2e-aws-serial
- as: e2e-aws-techpreview-featuregate
steps:
cluster_profile: aws
workflow: openshift-e2e-aws-techpreview
- as: verify
commands: |
make verify
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ tests:
steps:
cluster_profile: aws
workflow: openshift-e2e-aws-serial
- as: e2e-aws-techpreview-featuregate
steps:
cluster_profile: aws
workflow: openshift-e2e-aws-techpreview
- as: verify
commands: |
make verify
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,71 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-aws-single-node,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build02
context: ci/prow/e2e-aws-techpreview-featuregate
decorate: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-machine-config-operator-master-e2e-aws-techpreview-featuregate
optional: true
rerun_command: /test e2e-aws-techpreview-featuregate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add optional: true

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I had done that, perhaps the regenerate killed it, will add back!

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=/usr/local/e2e-aws-techpreview-featuregate-cluster-profile
- --target=e2e-aws-techpreview-featuregate
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/e2e-aws-techpreview-featuregate-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
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: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-aws-techpreview-featuregate,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,71 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-aws-single-node,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- release-4.9
cluster: build02
context: ci/prow/e2e-aws-techpreview-featuregate
decorate: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-machine-config-operator-release-4.9-e2e-aws-techpreview-featuregate
optional: true
rerun_command: /test e2e-aws-techpreview-featuregate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add optional: true

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=/usr/local/e2e-aws-techpreview-featuregate-cluster-profile
- --target=e2e-aws-techpreview-featuregate
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/e2e-aws-techpreview-featuregate-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
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: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-aws-techpreview-featuregate,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
1 change: 1 addition & 0 deletions ci-operator/step-registry/ipi/aws/pre/techpreview/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"path": "ipi/aws/pre/techpreview/ipi-aws-pre-techpreview-chain.yaml",
"owners": {
"approvers": [
"smarterclayton",
"wking",
"vrutkovs",
"abhinavdahiya",
"deads2k",
"crawford",
"ewolinetz",
"csrwng",
"staebler"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
chain:
as: ipi-aws-pre-techpreview
steps:
- chain: ipi-conf-aws-techpreview
- chain: ipi-install
documentation: |-
The IPI setup step contains all steps that provision an OpenShift cluster
in a Tech Preview configuration on AWS.
1 change: 1 addition & 0 deletions ci-operator/step-registry/ipi/conf/aws/techpreview/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"path": "ipi/conf/aws/techpreview/ipi-conf-aws-techpreview-chain.yaml",
"owners": {
"approvers": [
"smarterclayton",
"wking",
"vrutkovs",
"abhinavdahiya",
"deads2k",
"crawford",
"ewolinetz",
"csrwng",
"staebler"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
chain:
as: ipi-conf-aws-techpreview
steps:
- ref: ipi-conf
- ref: ipi-conf-aws
- ref: ipi-conf-techpreview
- ref: ipi-install-monitoringpvc
documentation: |-
The IPI configure step chain generates the install-config.yaml file based on the cluster profile and optional input files.
This configuration will create a cluster with a TechPreviewNoUpgrade FeatureGate installed.
1 change: 1 addition & 0 deletions ci-operator/step-registry/ipi/conf/techpreview/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
set -euo pipefail

cat <<EOF > ${SHARED_DIR}/manifest_feature_gate.yaml
---
apiVersion: config.openshift.io/v1
kind: FeatureGate
metadata:
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-developer: "true"
release.openshift.io/create-only: "true"
name: cluster
spec:
featureSet: TechPreviewNoUpgrade
EOF
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"path": "ipi/conf/techpreview/ipi-conf-techpreview-ref.yaml",
"owners": {
"approvers": [
"smarterclayton",
"wking",
"vrutkovs",
"abhinavdahiya",
"deads2k",
"crawford",
"ewolinetz",
"csrwng",
"staebler"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ref:
as: ipi-conf-techpreview
commands: ipi-conf-techpreview-commands.sh
from: cli
resources:
requests:
cpu: 10m
memory: 100Mi
documentation: |-
Apply TechPreviewNoUpgrade featureGate configuration to cluster to enable tech preview features
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"path": "openshift/e2e/aws/techpreview/openshift-e2e-aws-techpreview-workflow.yaml",
"owners": {
"approvers": [
"smarterclayton",
"wking",
"vrutkovs",
"abhinavdahiya",
"deads2k",
"crawford",
"ewolinetz",
"csrwng",
"staebler"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
workflow:
as: openshift-e2e-aws-techpreview
steps:
pre:
- chain: ipi-aws-pre-techpreview
test:
- ref: openshift-e2e-test
post:
- chain: gather-core-dump
- chain: ipi-aws-post
documentation: |-
The Openshift E2E AWS workflow executes the common end-to-end test suite on AWS with a TechPreviewNoUpgrade cluster configuration.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"path": "openshift/e2e/aws/techpreview/serial/openshift-e2e-aws-techpreview-serial-workflow.yaml",
"owners": {
"approvers": [
"smarterclayton",
"wking",
"vrutkovs",
"abhinavdahiya",
"deads2k",
"crawford",
"ewolinetz",
"csrwng",
"staebler"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
workflow:
as: openshift-e2e-aws-techpreview-serial
steps:
pre:
- chain: ipi-aws-pre-techpreview
test:
- ref: openshift-e2e-test
post:
- chain: ipi-aws-post
env:
TEST_SUITE: openshift/conformance/serial
documentation: |-
The Openshift E2E AWS `serial` workflow executes the `openshift/serial` end-to-end test suite on AWS with a TechPreviewNoUpgrade cluster configuration.