Skip to content

Commit b12fe05

Browse files
committed
feat: add tnf abi presubmit to installer
add presubmit lane for tnf agent changes to the installer repo Signed-off-by: ehila <[email protected]>
1 parent 8530876 commit b12fe05

9 files changed

+285
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,14 @@ tests:
12091209
cluster_profile: equinix-ocp-metal
12101210
workflow: agent-e2e-compact-ipv4
12111211
timeout: 6h0m0s
1212+
- as: e2e-agent-two-node-fencing-ipv4
1213+
cluster: build05
1214+
optional: true
1215+
run_if_changed: ^(cmd|pkg|data).*/agent/
1216+
steps:
1217+
cluster_profile: equinix-edge-enablement
1218+
workflow: baremetalds-two-node-fencing-agent-ipv4
1219+
timeout: 6h0m0s
12121220
- as: e2e-agent-compact-ipv4-none-platform
12131221
cluster: build05
12141222
optional: true

ci-operator/config/openshift/installer/openshift-installer-release-4.21.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,14 @@ tests:
12101210
cluster_profile: equinix-ocp-metal
12111211
workflow: agent-e2e-compact-ipv4
12121212
timeout: 6h0m0s
1213+
- as: e2e-agent-two-node-fencing-ipv4
1214+
cluster: build05
1215+
optional: true
1216+
run_if_changed: ^(cmd|pkg|data).*/agent/
1217+
steps:
1218+
cluster_profile: equinix-edge-enablement
1219+
workflow: baremetalds-two-node-fencing-agent-ipv4
1220+
timeout: 6h0m0s
12131221
- as: e2e-agent-compact-ipv4-none-platform
12141222
cluster: build05
12151223
optional: true

ci-operator/config/openshift/installer/openshift-installer-release-4.22.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,14 @@ tests:
12091209
cluster_profile: equinix-ocp-metal
12101210
workflow: agent-e2e-compact-ipv4
12111211
timeout: 6h0m0s
1212+
- as: e2e-agent-two-node-fencing-ipv4
1213+
cluster: build05
1214+
optional: true
1215+
run_if_changed: ^(cmd|pkg|data).*/agent/
1216+
steps:
1217+
cluster_profile: equinix-edge-enablement
1218+
workflow: baremetalds-two-node-fencing-agent-ipv4
1219+
timeout: 6h0m0s
12121220
- as: e2e-agent-compact-ipv4-none-platform
12131221
cluster: build05
12141222
optional: true

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

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,83 @@ presubmits:
977977
secret:
978978
secretName: result-aggregator
979979
trigger: (?m)^/test( | .* )e2e-agent-sno-ipv6,?($|\s.*)
980+
- agent: kubernetes
981+
always_run: false
982+
branches:
983+
- ^main$
984+
- ^main-
985+
cluster: build05
986+
context: ci/prow/e2e-agent-two-node-fencing-ipv4
987+
decorate: true
988+
decoration_config:
989+
timeout: 6h0m0s
990+
labels:
991+
ci-operator.openshift.io/cloud: equinix-edge-enablement
992+
ci-operator.openshift.io/cloud-cluster-profile: equinix-edge-enablement
993+
ci-operator.openshift.io/cluster: build05
994+
ci.openshift.io/generator: prowgen
995+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
996+
name: pull-ci-openshift-installer-main-e2e-agent-two-node-fencing-ipv4
997+
optional: true
998+
rerun_command: /test e2e-agent-two-node-fencing-ipv4
999+
run_if_changed: ^(cmd|pkg|data).*/agent/
1000+
spec:
1001+
containers:
1002+
- args:
1003+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1004+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1005+
- --lease-server-credentials-file=/etc/boskos/credentials
1006+
- --report-credentials-file=/etc/report/credentials
1007+
- --secret-dir=/secrets/ci-pull-credentials
1008+
- --target=e2e-agent-two-node-fencing-ipv4
1009+
command:
1010+
- ci-operator
1011+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
1012+
imagePullPolicy: Always
1013+
name: ""
1014+
resources:
1015+
requests:
1016+
cpu: 10m
1017+
volumeMounts:
1018+
- mountPath: /etc/boskos
1019+
name: boskos
1020+
readOnly: true
1021+
- mountPath: /secrets/ci-pull-credentials
1022+
name: ci-pull-credentials
1023+
readOnly: true
1024+
- mountPath: /secrets/gcs
1025+
name: gcs-credentials
1026+
readOnly: true
1027+
- mountPath: /secrets/manifest-tool
1028+
name: manifest-tool-local-pusher
1029+
readOnly: true
1030+
- mountPath: /etc/pull-secret
1031+
name: pull-secret
1032+
readOnly: true
1033+
- mountPath: /etc/report
1034+
name: result-aggregator
1035+
readOnly: true
1036+
serviceAccountName: ci-operator
1037+
volumes:
1038+
- name: boskos
1039+
secret:
1040+
items:
1041+
- key: credentials
1042+
path: credentials
1043+
secretName: boskos-credentials
1044+
- name: ci-pull-credentials
1045+
secret:
1046+
secretName: ci-pull-credentials
1047+
- name: manifest-tool-local-pusher
1048+
secret:
1049+
secretName: manifest-tool-local-pusher
1050+
- name: pull-secret
1051+
secret:
1052+
secretName: registry-pull-credentials
1053+
- name: result-aggregator
1054+
secret:
1055+
secretName: result-aggregator
1056+
trigger: (?m)^/test( | .* )e2e-agent-two-node-fencing-ipv4,?($|\s.*)
9801057
- agent: kubernetes
9811058
always_run: false
9821059
branches:

ci-operator/jobs/openshift/installer/openshift-installer-release-4.21-presubmits.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,83 @@ presubmits:
975975
secret:
976976
secretName: result-aggregator
977977
trigger: (?m)^/test( | .* )e2e-agent-sno-ipv6,?($|\s.*)
978+
- agent: kubernetes
979+
always_run: false
980+
branches:
981+
- ^release-4\.21$
982+
- ^release-4\.21-
983+
cluster: build05
984+
context: ci/prow/e2e-agent-two-node-fencing-ipv4
985+
decorate: true
986+
decoration_config:
987+
timeout: 6h0m0s
988+
labels:
989+
ci-operator.openshift.io/cloud: equinix-edge-enablement
990+
ci-operator.openshift.io/cloud-cluster-profile: equinix-edge-enablement
991+
ci-operator.openshift.io/cluster: build05
992+
ci.openshift.io/generator: prowgen
993+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
994+
name: pull-ci-openshift-installer-release-4.21-e2e-agent-two-node-fencing-ipv4
995+
optional: true
996+
rerun_command: /test e2e-agent-two-node-fencing-ipv4
997+
run_if_changed: ^(cmd|pkg|data).*/agent/
998+
spec:
999+
containers:
1000+
- args:
1001+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1002+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1003+
- --lease-server-credentials-file=/etc/boskos/credentials
1004+
- --report-credentials-file=/etc/report/credentials
1005+
- --secret-dir=/secrets/ci-pull-credentials
1006+
- --target=e2e-agent-two-node-fencing-ipv4
1007+
command:
1008+
- ci-operator
1009+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
1010+
imagePullPolicy: Always
1011+
name: ""
1012+
resources:
1013+
requests:
1014+
cpu: 10m
1015+
volumeMounts:
1016+
- mountPath: /etc/boskos
1017+
name: boskos
1018+
readOnly: true
1019+
- mountPath: /secrets/ci-pull-credentials
1020+
name: ci-pull-credentials
1021+
readOnly: true
1022+
- mountPath: /secrets/gcs
1023+
name: gcs-credentials
1024+
readOnly: true
1025+
- mountPath: /secrets/manifest-tool
1026+
name: manifest-tool-local-pusher
1027+
readOnly: true
1028+
- mountPath: /etc/pull-secret
1029+
name: pull-secret
1030+
readOnly: true
1031+
- mountPath: /etc/report
1032+
name: result-aggregator
1033+
readOnly: true
1034+
serviceAccountName: ci-operator
1035+
volumes:
1036+
- name: boskos
1037+
secret:
1038+
items:
1039+
- key: credentials
1040+
path: credentials
1041+
secretName: boskos-credentials
1042+
- name: ci-pull-credentials
1043+
secret:
1044+
secretName: ci-pull-credentials
1045+
- name: manifest-tool-local-pusher
1046+
secret:
1047+
secretName: manifest-tool-local-pusher
1048+
- name: pull-secret
1049+
secret:
1050+
secretName: registry-pull-credentials
1051+
- name: result-aggregator
1052+
secret:
1053+
secretName: result-aggregator
1054+
trigger: (?m)^/test( | .* )e2e-agent-two-node-fencing-ipv4,?($|\s.*)
9781055
- agent: kubernetes
9791056
always_run: false
9801057
branches:

ci-operator/jobs/openshift/installer/openshift-installer-release-4.22-presubmits.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,83 @@ presubmits:
976976
secret:
977977
secretName: result-aggregator
978978
trigger: (?m)^/test( | .* )e2e-agent-sno-ipv6,?($|\s.*)
979+
- agent: kubernetes
980+
always_run: false
981+
branches:
982+
- ^release-4\.22$
983+
- ^release-4\.22-
984+
cluster: build05
985+
context: ci/prow/e2e-agent-two-node-fencing-ipv4
986+
decorate: true
987+
decoration_config:
988+
timeout: 6h0m0s
989+
labels:
990+
ci-operator.openshift.io/cloud: equinix-edge-enablement
991+
ci-operator.openshift.io/cloud-cluster-profile: equinix-edge-enablement
992+
ci-operator.openshift.io/cluster: build05
993+
ci.openshift.io/generator: prowgen
994+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
995+
name: pull-ci-openshift-installer-release-4.22-e2e-agent-two-node-fencing-ipv4
996+
optional: true
997+
rerun_command: /test e2e-agent-two-node-fencing-ipv4
998+
run_if_changed: ^(cmd|pkg|data).*/agent/
999+
spec:
1000+
containers:
1001+
- args:
1002+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1003+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1004+
- --lease-server-credentials-file=/etc/boskos/credentials
1005+
- --report-credentials-file=/etc/report/credentials
1006+
- --secret-dir=/secrets/ci-pull-credentials
1007+
- --target=e2e-agent-two-node-fencing-ipv4
1008+
command:
1009+
- ci-operator
1010+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
1011+
imagePullPolicy: Always
1012+
name: ""
1013+
resources:
1014+
requests:
1015+
cpu: 10m
1016+
volumeMounts:
1017+
- mountPath: /etc/boskos
1018+
name: boskos
1019+
readOnly: true
1020+
- mountPath: /secrets/ci-pull-credentials
1021+
name: ci-pull-credentials
1022+
readOnly: true
1023+
- mountPath: /secrets/gcs
1024+
name: gcs-credentials
1025+
readOnly: true
1026+
- mountPath: /secrets/manifest-tool
1027+
name: manifest-tool-local-pusher
1028+
readOnly: true
1029+
- mountPath: /etc/pull-secret
1030+
name: pull-secret
1031+
readOnly: true
1032+
- mountPath: /etc/report
1033+
name: result-aggregator
1034+
readOnly: true
1035+
serviceAccountName: ci-operator
1036+
volumes:
1037+
- name: boskos
1038+
secret:
1039+
items:
1040+
- key: credentials
1041+
path: credentials
1042+
secretName: boskos-credentials
1043+
- name: ci-pull-credentials
1044+
secret:
1045+
secretName: ci-pull-credentials
1046+
- name: manifest-tool-local-pusher
1047+
secret:
1048+
secretName: manifest-tool-local-pusher
1049+
- name: pull-secret
1050+
secret:
1051+
secretName: registry-pull-credentials
1052+
- name: result-aggregator
1053+
secret:
1054+
secretName: result-aggregator
1055+
trigger: (?m)^/test( | .* )e2e-agent-two-node-fencing-ipv4,?($|\s.*)
9791056
- agent: kubernetes
9801057
always_run: false
9811058
branches:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
approvers:
2+
- edge-enablement-approvers
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"path": "baremetalds/two-node/fencing/agent/ipv4/baremetalds-two-node-fencing-agent-ipv4-workflow.yaml",
3+
"owners": {
4+
"approvers": [
5+
"edge-enablement-approvers"
6+
]
7+
}
8+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
workflow:
2+
as: baremetalds-two-node-fencing-agent-ipv4
3+
steps:
4+
allow_skip_on_success: true
5+
allow_best_effort_post_steps: true
6+
cluster_profile: equinix-edge-enablement
7+
pre:
8+
- chain: baremetalds-ipi-pre
9+
test:
10+
- chain: baremetalds-ipi-test
11+
post:
12+
- chain: baremetalds-ipi-post
13+
env:
14+
PACKET_OS: rocky_9
15+
DEVSCRIPTS_CONFIG: |
16+
AGENT_E2E_TEST_SCENARIO=TNF_IPV4
17+
FEATURE_SET="TechPreviewNoUpgrade"
18+
BMC_DRIVER=redfish
19+
documentation: |-
20+
This workflow executes a Two Node OpenShift with Fencing (TNF) cluster installation with Agent Based Installer (ABI) with IPv4

0 commit comments

Comments
 (0)