Skip to content

Commit

Permalink
baremetal-operator: metal ipi job consistency
Browse files Browse the repository at this point in the history
This updates baremetal-operator repo with consistent job naming, like we've
done in other repsos.

The end result of this PR should be:

| Job                             | IP Stack  | SDN          | Always | Req'd |
|---------------------------------|-----------|--------------|--------|-------|
| e2e\-metal\-ipi                 | IPv4      | OpenShiftSDN |        |       |
| e2e\-metal\-ipi\-upgrade        | IPv4      | OpenShiftSDN |        |       |
| e2e\-metal\-ipi\-ovn\-ipv6      | IPv6      | OVN          | X      | X     |
| e2e\-metal\-ipi\-ovn\-dualstack | IPv4/IPv6 | OVN          |        |       |
| e2e\-metal\-ipi\-virtualmedia   | IPv4      | OpenShiftSDN |        |       |
  • Loading branch information
stbenjam committed Dec 7, 2020
1 parent e7aa1bf commit 0202765
Show file tree
Hide file tree
Showing 2 changed files with 230 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,35 @@ tests:
- as: e2e-metal-ipi
steps:
cluster_profile: packet
env:
DEVSCRIPTS_CONFIG: |
IP_STACK=v4
NETWORK_TYPE=OpenShiftSDN
workflow: baremetalds-e2e
- as: e2e-metal-ipi-ovn-ipv6
steps:
cluster_profile: packet
env:
DEVSCRIPTS_CONFIG: |
IP_STACK=v6
NETWORK_TYPE=OVNKubernetes
workflow: baremetalds-e2e
- as: e2e-metal-ipi-ovn-dualstack
steps:
cluster_profile: packet
env:
DEVSCRIPTS_CONFIG: |
IP_STACK=v4v6
NETWORK_TYPE=OVNKubernetes
workflow: baremetalds-e2e
- as: e2e-metal-ipi-virtualmedia
steps:
cluster_profile: packet
pre:
- ref: baremetalds-packet-setup
- ref: ipi-install-rbac
- ref: baremetalds-devscripts-conf-virtualmedia
- ref: baremetalds-devscripts-setup
workflow: baremetalds-e2e
zz_generated_metadata:
branch: master
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
presubmits:
openshift/baremetal-operator:
- agent: kubernetes
always_run: true
always_run: false
branches:
- master
cluster: build02
Expand All @@ -13,6 +13,7 @@ presubmits:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-baremetal-operator-master-e2e-metal-ipi
optional: true
path_alias: github.com/metal3-io/baremetal-operator
rerun_command: /test e2e-metal-ipi
spec:
Expand Down Expand Up @@ -66,6 +67,205 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-metal-ipi,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- master
cluster: build02
context: ci/prow/e2e-metal-ipi-ovn-dualstack
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-baremetal-operator-master-e2e-metal-ipi-ovn-dualstack
optional: true
path_alias: github.com/metal3-io/baremetal-operator
rerun_command: /test e2e-metal-ipi-ovn-dualstack
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-password-file=/etc/boskos/password
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/e2e-metal-ipi-ovn-dualstack-cluster-profile
- --target=e2e-metal-ipi-ovn-dualstack
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-metal-ipi-ovn-dualstack-cluster-profile
name: cluster-profile
- 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: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-packet
- configMap:
name: cluster-profile-packet
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-metal-ipi-ovn-dualstack,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build02
context: ci/prow/e2e-metal-ipi-ovn-ipv6
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-baremetal-operator-master-e2e-metal-ipi-ovn-ipv6
path_alias: github.com/metal3-io/baremetal-operator
rerun_command: /test e2e-metal-ipi-ovn-ipv6
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-password-file=/etc/boskos/password
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/e2e-metal-ipi-ovn-ipv6-cluster-profile
- --target=e2e-metal-ipi-ovn-ipv6
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-metal-ipi-ovn-ipv6-cluster-profile
name: cluster-profile
- 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: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-packet
- configMap:
name: cluster-profile-packet
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-metal-ipi-ovn-ipv6,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- master
cluster: build02
context: ci/prow/e2e-metal-ipi-virtualmedia
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-baremetal-operator-master-e2e-metal-ipi-virtualmedia
path_alias: github.com/metal3-io/baremetal-operator
rerun_command: /test e2e-metal-ipi-virtualmedia
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-password-file=/etc/boskos/password
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/e2e-metal-ipi-virtualmedia-cluster-profile
- --target=e2e-metal-ipi-virtualmedia
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-metal-ipi-virtualmedia-cluster-profile
name: cluster-profile
- 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: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-packet
- configMap:
name: cluster-profile-packet
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-metal-ipi-virtualmedia,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down

0 comments on commit 0202765

Please sign in to comment.