Skip to content
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
@@ -1,9 +1,22 @@
base_images:
rosa-aws-cli:
name: rosa-aws-cli
namespace: ci
tag: latest
build_root:
from_repository: true
images:
items:
- dockerfile_path: build/Dockerfile
to: unused
to: aws-vpce-operator
- dockerfile_path: test/e2e/Containerfile.prow
to: operator-e2e
releases:
latest:
candidate:
product: ocp
stream: ci
version: "4.21"
resources:
'*':
limits:
Expand Down Expand Up @@ -53,6 +66,28 @@ tests:
container:
from: src
skip_if_only_changed: ^(?:\.tekton|\.github)|\.md$|^(?:\.gitignore|OWNERS|LICENSE)$
- as: avo-e2e-presubmit
run_if_changed: ^(test/e2e/.*|pkg/.*|api/.*|cmd/.*|deploy/.*|go\.mod|go\.sum)$
steps:
cluster_profile: rosa-e2e-01
env:
CHANNEL_GROUP: stable
OCM_LOGIN_ENV: staging
OPERATOR_IMAGE: quay.io/redhat-services-prod/openshift/aws-vpce-operator:latest
OPERATOR_NAME: aws-vpce-operator
OPERATOR_PKO_IMAGE: quay.io/redhat-services-prod/openshift/aws-vpce-operator-pko:latest
workflow: rosa-operator-e2e-workflow
- as: avo-e2e-postsubmit
postsubmit: true
steps:
cluster_profile: rosa-e2e-01
env:
CHANNEL_GROUP: stable
OCM_LOGIN_ENV: staging
OPERATOR_IMAGE: quay.io/redhat-services-prod/openshift/aws-vpce-operator:latest
OPERATOR_NAME: aws-vpce-operator
OPERATOR_PKO_IMAGE: quay.io/redhat-services-prod/openshift/aws-vpce-operator-pko:latest
workflow: rosa-operator-e2e-workflow
zz_generated_metadata:
branch: main
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,88 @@ postsubmits:
always_run: true
branches:
- ^main$
cluster: build05
cluster: build03
decorate: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: rosa-e2e-01
ci.openshift.io/generator: prowgen
job-release: "4.21"
max_concurrency: 1
name: branch-ci-openshift-aws-vpce-operator-main-avo-e2e-postsubmit
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=avo-e2e-postsubmit
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
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
- agent: kubernetes
always_run: true
branches:
- ^main$
cluster: build11
decorate: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
max_concurrency: 1
name: branch-ci-openshift-aws-vpce-operator-main-publish-coverage
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,87 @@
presubmits:
openshift/aws-vpce-operator:
- agent: kubernetes
always_run: false
branches:
- ^main$
- ^main-
cluster: build01
context: ci/prow/avo-e2e-presubmit
decorate: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: rosa-e2e-01
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-aws-vpce-operator-main-avo-e2e-presubmit
rerun_command: /test avo-e2e-presubmit
run_if_changed: ^(test/e2e/.*|pkg/.*|api/.*|cmd/.*|deploy/.*|go\.mod|go\.sum)$
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=avo-e2e-presubmit
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
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( | .* )avo-e2e-presubmit,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand All @@ -10,6 +92,7 @@ presubmits:
decorate: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-aws-vpce-operator-main-coverage
rerun_command: /test coverage
Expand Down Expand Up @@ -79,6 +162,7 @@ presubmits:
decorate: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-aws-vpce-operator-main-e2e-binary-build-success
rerun_command: /test e2e-binary-build-success
Expand Down Expand Up @@ -141,6 +225,7 @@ presubmits:
decorate: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-aws-vpce-operator-main-images
rerun_command: /test images
Expand Down Expand Up @@ -194,6 +279,7 @@ presubmits:
decorate: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-aws-vpce-operator-main-lint
rerun_command: /test lint
Expand Down Expand Up @@ -256,6 +342,7 @@ presubmits:
decorate: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-aws-vpce-operator-main-test
rerun_command: /test test
Expand Down Expand Up @@ -318,6 +405,7 @@ presubmits:
decorate: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-aws-vpce-operator-main-validate
rerun_command: /test validate
Expand Down
10 changes: 10 additions & 0 deletions ci-operator/step-registry/rosa/operator/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
approvers:
- tiwillia
- dustman9000
- bmeng
- ravitri
reviewers:
- tiwillia
- dustman9000
- bmeng
- ravitri
10 changes: 10 additions & 0 deletions ci-operator/step-registry/rosa/operator/e2e-workflow/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
approvers:
- tiwillia
- dustman9000
- bmeng
- ravitri
reviewers:
- tiwillia
- dustman9000
- bmeng
- ravitri
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "rosa/operator/e2e-workflow/rosa-operator-e2e-workflow-workflow.yaml",
"owners": {
"approvers": [
"tiwillia",
"dustman9000",
"bmeng",
"ravitri"
],
"reviewers": [
"tiwillia",
"dustman9000",
"bmeng",
"ravitri"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
workflow:
as: rosa-operator-e2e-workflow
steps:
env:
CHANNEL_GROUP: stable
OPENSHIFT_VERSION: ""
pre:
- chain: rosa-aws-sts-provision
- ref: rosa-cluster-wait-ready-nodes
- ref: rosa-operator-install
test:
- ref: rosa-operator-e2e
post:
- ref: osd-gather-extra
- chain: rosa-aws-sts-deprovision
documentation: |-
Provisions a ROSA Classic STS cluster, installs an operator via PKO,
runs the operator e2e tests, then deprovisions. Designed for operator
CI validation with ephemeral clusters.
10 changes: 10 additions & 0 deletions ci-operator/step-registry/rosa/operator/e2e/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
approvers:
- tiwillia
- dustman9000
- bmeng
- ravitri
reviewers:
- tiwillia
- dustman9000
- bmeng
- ravitri
Loading