Skip to content

Commit

Permalink
NE-1492 Enable Gateway API feature gate in CI and run E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
candita committed Feb 16, 2024
1 parent 3cba40c commit b48596f
Show file tree
Hide file tree
Showing 6 changed files with 291 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,24 @@ tests:
steps:
cluster_profile: aws
workflow: openshift-e2e-aws-single-node
- as: e2e-aws-gatewayapi
optional: true
steps:
cluster_profile: aws
steps:
env:
FEATURE_GATES: '[GatewayAPIEnabled=true]'
FEATURE_SET: CustomNoUpgrade
TEST: TestGatewayAPI
test:
- 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
Expand Up @@ -128,6 +128,24 @@ tests:
steps:
cluster_profile: aws
workflow: openshift-e2e-aws-single-node
- as: e2e-aws-gatewayapi
optional: true
steps:
cluster_profile: aws
steps:
env:
FEATURE_GATES: '[GatewayAPIEnabled=true]'
FEATURE_SET: CustomNoUpgrade
TEST: TestGatewayAPI
test:
- as: test
cli: latest
commands: make test-e2e
from: src
resources:
requests:
cpu: 100m
workflow: ipi-aws
zz_generated_metadata:
branch: release-4.16
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,24 @@ tests:
steps:
cluster_profile: aws
workflow: openshift-e2e-aws-single-node
- as: e2e-aws-gatewayapi
optional: true
steps:
cluster_profile: aws
steps:
env:
FEATURE_GATES: '[GatewayAPIEnabled=true]'
FEATURE_SET: CustomNoUpgrade
TEST: TestGatewayAPI
test:
- as: test
cli: latest
commands: make test-e2e
from: src
resources:
requests:
cpu: 100m
workflow: ipi-aws
zz_generated_metadata:
branch: release-4.17
org: openshift
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,84 @@
presubmits:
openshift/cluster-ingress-operator:
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build01
context: ci/prow/e2e-aws-gatewayapi
decorate: true
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: pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-gatewayapi
optional: true
rerun_command: /test e2e-aws-gatewayapi
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
- --secret-dir=/usr/local/e2e-aws-gatewayapi-cluster-profile
- --target=e2e-aws-gatewayapi
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: /usr/local/e2e-aws-gatewayapi-cluster-profile
name: cluster-profile
- 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: cluster-profile
secret:
secretName: cluster-secrets-aws
- 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( | .* )e2e-aws-gatewayapi,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,84 @@
presubmits:
openshift/cluster-ingress-operator:
- agent: kubernetes
always_run: true
branches:
- ^release-4\.16$
- ^release-4\.16-
cluster: build01
context: ci/prow/e2e-aws-gatewayapi
decorate: true
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: pull-ci-openshift-cluster-ingress-operator-release-4.16-e2e-aws-gatewayapi
optional: true
rerun_command: /test e2e-aws-gatewayapi
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
- --secret-dir=/usr/local/e2e-aws-gatewayapi-cluster-profile
- --target=e2e-aws-gatewayapi
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: /usr/local/e2e-aws-gatewayapi-cluster-profile
name: cluster-profile
- 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: cluster-profile
secret:
secretName: cluster-secrets-aws
- 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( | .* )e2e-aws-gatewayapi,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,84 @@
presubmits:
openshift/cluster-ingress-operator:
- agent: kubernetes
always_run: true
branches:
- ^release-4\.17$
- ^release-4\.17-
cluster: build01
context: ci/prow/e2e-aws-gatewayapi
decorate: true
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: pull-ci-openshift-cluster-ingress-operator-release-4.17-e2e-aws-gatewayapi
optional: true
rerun_command: /test e2e-aws-gatewayapi
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
- --secret-dir=/usr/local/e2e-aws-gatewayapi-cluster-profile
- --target=e2e-aws-gatewayapi
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: /usr/local/e2e-aws-gatewayapi-cluster-profile
name: cluster-profile
- 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: cluster-profile
secret:
secretName: cluster-secrets-aws
- 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( | .* )e2e-aws-gatewayapi,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down

0 comments on commit b48596f

Please sign in to comment.