Skip to content

Commit d5cfc9c

Browse files
bear-redhatabraham2512
authored andcommitted
Add a test for publicnet only deployment (openshift#64653)
1 parent deaf4c0 commit d5cfc9c

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed

ci-operator/config/openshift/origin/openshift-origin-main.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,18 @@ tests:
302302
enable:
303303
- observers-resource-watch
304304
workflow: openshift-e2e-aws-serial
305+
- always_run: false
306+
as: e2e-aws-ovn-serial-publicnet
307+
skip_if_only_changed: ^(?:docs|\.github)/|\.md$|^(?:\.gitignore|OWNERS|OWNERS_ALIASES|PROJECT|LICENSE)$
308+
steps:
309+
cluster_profile: aws-2
310+
env:
311+
OPENSHIFT_INSTALL_AWS_PUBLIC_ONLY: "true"
312+
TEST_SUITE: openshift/conformance/serial
313+
observers:
314+
enable:
315+
- observers-resource-watch
316+
workflow: openshift-e2e-aws-serial
305317
- always_run: false
306318
as: e2e-aws-ovn-virt-techpreview
307319
optional: true

ci-operator/jobs/openshift/origin/openshift-origin-main-presubmits.yaml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,6 +1571,79 @@ presubmits:
15711571
secret:
15721572
secretName: result-aggregator
15731573
trigger: (?m)^/test( | .* )e2e-aws-ovn-serial-2of2,?($|\s.*)
1574+
- agent: kubernetes
1575+
always_run: false
1576+
branches:
1577+
- ^main$
1578+
- ^main-
1579+
cluster: build05
1580+
context: ci/prow/e2e-aws-ovn-serial-publicnet
1581+
decorate: true
1582+
labels:
1583+
ci-operator.openshift.io/cloud: aws
1584+
ci-operator.openshift.io/cloud-cluster-profile: aws-2
1585+
ci.openshift.io/generator: prowgen
1586+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
1587+
name: pull-ci-openshift-origin-main-e2e-aws-ovn-serial-publicnet
1588+
rerun_command: /test e2e-aws-ovn-serial-publicnet
1589+
skip_if_only_changed: ^(?:docs|\.github)/|\.md$|^(?:\.gitignore|OWNERS|OWNERS_ALIASES|PROJECT|LICENSE)$
1590+
spec:
1591+
containers:
1592+
- args:
1593+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1594+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1595+
- --lease-server-credentials-file=/etc/boskos/credentials
1596+
- --report-credentials-file=/etc/report/credentials
1597+
- --secret-dir=/secrets/ci-pull-credentials
1598+
- --target=e2e-aws-ovn-serial-publicnet
1599+
command:
1600+
- ci-operator
1601+
image: ci-operator:latest
1602+
imagePullPolicy: Always
1603+
name: ""
1604+
resources:
1605+
requests:
1606+
cpu: 10m
1607+
volumeMounts:
1608+
- mountPath: /etc/boskos
1609+
name: boskos
1610+
readOnly: true
1611+
- mountPath: /secrets/ci-pull-credentials
1612+
name: ci-pull-credentials
1613+
readOnly: true
1614+
- mountPath: /secrets/gcs
1615+
name: gcs-credentials
1616+
readOnly: true
1617+
- mountPath: /secrets/manifest-tool
1618+
name: manifest-tool-local-pusher
1619+
readOnly: true
1620+
- mountPath: /etc/pull-secret
1621+
name: pull-secret
1622+
readOnly: true
1623+
- mountPath: /etc/report
1624+
name: result-aggregator
1625+
readOnly: true
1626+
serviceAccountName: ci-operator
1627+
volumes:
1628+
- name: boskos
1629+
secret:
1630+
items:
1631+
- key: credentials
1632+
path: credentials
1633+
secretName: boskos-credentials
1634+
- name: ci-pull-credentials
1635+
secret:
1636+
secretName: ci-pull-credentials
1637+
- name: manifest-tool-local-pusher
1638+
secret:
1639+
secretName: manifest-tool-local-pusher
1640+
- name: pull-secret
1641+
secret:
1642+
secretName: registry-pull-credentials
1643+
- name: result-aggregator
1644+
secret:
1645+
secretName: result-aggregator
1646+
trigger: (?m)^/test( | .* )e2e-aws-ovn-serial-publicnet,?($|\s.*)
15741647
- agent: kubernetes
15751648
always_run: false
15761649
branches:

0 commit comments

Comments
 (0)