Skip to content

Commit 08ed63f

Browse files
committed
feat: add tnf abi presubmit to installer
added two node fencing agent ipv4 workflow added presubmit lane for tnf agent changes to the installer repo Signed-off-by: ehila <[email protected]>
1 parent faf8d41 commit 08ed63f

11 files changed

+284
-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
@@ -1253,6 +1253,14 @@ tests:
12531253
NETWORK_TYPE=OVNKubernetes
12541254
workflow: agent-e2e-compact-ipv4
12551255
timeout: 6h0m0s
1256+
- as: e2e-agent-two-node-fencing-ipv4
1257+
cluster: build05
1258+
optional: true
1259+
run_if_changed: ^(cmd|pkg|data).*/agent/
1260+
steps:
1261+
cluster_profile: equinix-ocp-metal
1262+
workflow: agent-e2e-two-node-fencing-ipv4
1263+
timeout: 6h0m0s
12561264
- always_run: false
12571265
as: e2e-agent-compact-ipv4-appliance-diskimage
12581266
cluster: build05

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
@@ -1254,6 +1254,14 @@ tests:
12541254
NETWORK_TYPE=OVNKubernetes
12551255
workflow: agent-e2e-compact-ipv4
12561256
timeout: 6h0m0s
1257+
- as: e2e-agent-two-node-fencing-ipv4
1258+
cluster: build05
1259+
optional: true
1260+
run_if_changed: ^(cmd|pkg|data).*/agent/
1261+
steps:
1262+
cluster_profile: equinix-ocp-metal
1263+
workflow: agent-e2e-two-node-fencing-ipv4
1264+
timeout: 6h0m0s
12571265
- always_run: false
12581266
as: e2e-agent-compact-ipv4-appliance-diskimage
12591267
cluster: build05

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
@@ -1253,6 +1253,14 @@ tests:
12531253
NETWORK_TYPE=OVNKubernetes
12541254
workflow: agent-e2e-compact-ipv4
12551255
timeout: 6h0m0s
1256+
- as: e2e-agent-two-node-fencing-ipv4
1257+
cluster: build05
1258+
optional: true
1259+
run_if_changed: ^(cmd|pkg|data).*/agent/
1260+
steps:
1261+
cluster_profile: equinix-ocp-metal
1262+
workflow: agent-e2e-two-node-fencing-ipv4
1263+
timeout: 6h0m0s
12561264
- always_run: false
12571265
as: e2e-agent-compact-ipv4-appliance-diskimage
12581266
cluster: build05

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

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,83 @@ presubmits:
10541054
secret:
10551055
secretName: result-aggregator
10561056
trigger: (?m)^/test( | .* )e2e-agent-sno-ipv6,?($|\s.*)
1057+
- agent: kubernetes
1058+
always_run: false
1059+
branches:
1060+
- ^main$
1061+
- ^main-
1062+
cluster: build05
1063+
context: ci/prow/e2e-agent-two-node-fencing-ipv4
1064+
decorate: true
1065+
decoration_config:
1066+
timeout: 6h0m0s
1067+
labels:
1068+
ci-operator.openshift.io/cloud: equinix-ocp-metal
1069+
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
1070+
ci-operator.openshift.io/cluster: build05
1071+
ci.openshift.io/generator: prowgen
1072+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
1073+
name: pull-ci-openshift-installer-main-e2e-agent-two-node-fencing-ipv4
1074+
optional: true
1075+
rerun_command: /test e2e-agent-two-node-fencing-ipv4
1076+
run_if_changed: ^(cmd|pkg|data).*/agent/
1077+
spec:
1078+
containers:
1079+
- args:
1080+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1081+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1082+
- --lease-server-credentials-file=/etc/boskos/credentials
1083+
- --report-credentials-file=/etc/report/credentials
1084+
- --secret-dir=/secrets/ci-pull-credentials
1085+
- --target=e2e-agent-two-node-fencing-ipv4
1086+
command:
1087+
- ci-operator
1088+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
1089+
imagePullPolicy: Always
1090+
name: ""
1091+
resources:
1092+
requests:
1093+
cpu: 10m
1094+
volumeMounts:
1095+
- mountPath: /etc/boskos
1096+
name: boskos
1097+
readOnly: true
1098+
- mountPath: /secrets/ci-pull-credentials
1099+
name: ci-pull-credentials
1100+
readOnly: true
1101+
- mountPath: /secrets/gcs
1102+
name: gcs-credentials
1103+
readOnly: true
1104+
- mountPath: /secrets/manifest-tool
1105+
name: manifest-tool-local-pusher
1106+
readOnly: true
1107+
- mountPath: /etc/pull-secret
1108+
name: pull-secret
1109+
readOnly: true
1110+
- mountPath: /etc/report
1111+
name: result-aggregator
1112+
readOnly: true
1113+
serviceAccountName: ci-operator
1114+
volumes:
1115+
- name: boskos
1116+
secret:
1117+
items:
1118+
- key: credentials
1119+
path: credentials
1120+
secretName: boskos-credentials
1121+
- name: ci-pull-credentials
1122+
secret:
1123+
secretName: ci-pull-credentials
1124+
- name: manifest-tool-local-pusher
1125+
secret:
1126+
secretName: manifest-tool-local-pusher
1127+
- name: pull-secret
1128+
secret:
1129+
secretName: registry-pull-credentials
1130+
- name: result-aggregator
1131+
secret:
1132+
secretName: result-aggregator
1133+
trigger: (?m)^/test( | .* )e2e-agent-two-node-fencing-ipv4,?($|\s.*)
10571134
- agent: kubernetes
10581135
always_run: false
10591136
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
@@ -1052,6 +1052,83 @@ presubmits:
10521052
secret:
10531053
secretName: result-aggregator
10541054
trigger: (?m)^/test( | .* )e2e-agent-sno-ipv6,?($|\s.*)
1055+
- agent: kubernetes
1056+
always_run: false
1057+
branches:
1058+
- ^release-4\.21$
1059+
- ^release-4\.21-
1060+
cluster: build05
1061+
context: ci/prow/e2e-agent-two-node-fencing-ipv4
1062+
decorate: true
1063+
decoration_config:
1064+
timeout: 6h0m0s
1065+
labels:
1066+
ci-operator.openshift.io/cloud: equinix-ocp-metal
1067+
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
1068+
ci-operator.openshift.io/cluster: build05
1069+
ci.openshift.io/generator: prowgen
1070+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
1071+
name: pull-ci-openshift-installer-release-4.21-e2e-agent-two-node-fencing-ipv4
1072+
optional: true
1073+
rerun_command: /test e2e-agent-two-node-fencing-ipv4
1074+
run_if_changed: ^(cmd|pkg|data).*/agent/
1075+
spec:
1076+
containers:
1077+
- args:
1078+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1079+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1080+
- --lease-server-credentials-file=/etc/boskos/credentials
1081+
- --report-credentials-file=/etc/report/credentials
1082+
- --secret-dir=/secrets/ci-pull-credentials
1083+
- --target=e2e-agent-two-node-fencing-ipv4
1084+
command:
1085+
- ci-operator
1086+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
1087+
imagePullPolicy: Always
1088+
name: ""
1089+
resources:
1090+
requests:
1091+
cpu: 10m
1092+
volumeMounts:
1093+
- mountPath: /etc/boskos
1094+
name: boskos
1095+
readOnly: true
1096+
- mountPath: /secrets/ci-pull-credentials
1097+
name: ci-pull-credentials
1098+
readOnly: true
1099+
- mountPath: /secrets/gcs
1100+
name: gcs-credentials
1101+
readOnly: true
1102+
- mountPath: /secrets/manifest-tool
1103+
name: manifest-tool-local-pusher
1104+
readOnly: true
1105+
- mountPath: /etc/pull-secret
1106+
name: pull-secret
1107+
readOnly: true
1108+
- mountPath: /etc/report
1109+
name: result-aggregator
1110+
readOnly: true
1111+
serviceAccountName: ci-operator
1112+
volumes:
1113+
- name: boskos
1114+
secret:
1115+
items:
1116+
- key: credentials
1117+
path: credentials
1118+
secretName: boskos-credentials
1119+
- name: ci-pull-credentials
1120+
secret:
1121+
secretName: ci-pull-credentials
1122+
- name: manifest-tool-local-pusher
1123+
secret:
1124+
secretName: manifest-tool-local-pusher
1125+
- name: pull-secret
1126+
secret:
1127+
secretName: registry-pull-credentials
1128+
- name: result-aggregator
1129+
secret:
1130+
secretName: result-aggregator
1131+
trigger: (?m)^/test( | .* )e2e-agent-two-node-fencing-ipv4,?($|\s.*)
10551132
- agent: kubernetes
10561133
always_run: false
10571134
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
@@ -1053,6 +1053,83 @@ presubmits:
10531053
secret:
10541054
secretName: result-aggregator
10551055
trigger: (?m)^/test( | .* )e2e-agent-sno-ipv6,?($|\s.*)
1056+
- agent: kubernetes
1057+
always_run: false
1058+
branches:
1059+
- ^release-4\.22$
1060+
- ^release-4\.22-
1061+
cluster: build05
1062+
context: ci/prow/e2e-agent-two-node-fencing-ipv4
1063+
decorate: true
1064+
decoration_config:
1065+
timeout: 6h0m0s
1066+
labels:
1067+
ci-operator.openshift.io/cloud: equinix-ocp-metal
1068+
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
1069+
ci-operator.openshift.io/cluster: build05
1070+
ci.openshift.io/generator: prowgen
1071+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
1072+
name: pull-ci-openshift-installer-release-4.22-e2e-agent-two-node-fencing-ipv4
1073+
optional: true
1074+
rerun_command: /test e2e-agent-two-node-fencing-ipv4
1075+
run_if_changed: ^(cmd|pkg|data).*/agent/
1076+
spec:
1077+
containers:
1078+
- args:
1079+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1080+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1081+
- --lease-server-credentials-file=/etc/boskos/credentials
1082+
- --report-credentials-file=/etc/report/credentials
1083+
- --secret-dir=/secrets/ci-pull-credentials
1084+
- --target=e2e-agent-two-node-fencing-ipv4
1085+
command:
1086+
- ci-operator
1087+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
1088+
imagePullPolicy: Always
1089+
name: ""
1090+
resources:
1091+
requests:
1092+
cpu: 10m
1093+
volumeMounts:
1094+
- mountPath: /etc/boskos
1095+
name: boskos
1096+
readOnly: true
1097+
- mountPath: /secrets/ci-pull-credentials
1098+
name: ci-pull-credentials
1099+
readOnly: true
1100+
- mountPath: /secrets/gcs
1101+
name: gcs-credentials
1102+
readOnly: true
1103+
- mountPath: /secrets/manifest-tool
1104+
name: manifest-tool-local-pusher
1105+
readOnly: true
1106+
- mountPath: /etc/pull-secret
1107+
name: pull-secret
1108+
readOnly: true
1109+
- mountPath: /etc/report
1110+
name: result-aggregator
1111+
readOnly: true
1112+
serviceAccountName: ci-operator
1113+
volumes:
1114+
- name: boskos
1115+
secret:
1116+
items:
1117+
- key: credentials
1118+
path: credentials
1119+
secretName: boskos-credentials
1120+
- name: ci-pull-credentials
1121+
secret:
1122+
secretName: ci-pull-credentials
1123+
- name: manifest-tool-local-pusher
1124+
secret:
1125+
secretName: manifest-tool-local-pusher
1126+
- name: pull-secret
1127+
secret:
1128+
secretName: registry-pull-credentials
1129+
- name: result-aggregator
1130+
secret:
1131+
secretName: result-aggregator
1132+
trigger: (?m)^/test( | .* )e2e-agent-two-node-fencing-ipv4,?($|\s.*)
10561133
- agent: kubernetes
10571134
always_run: false
10581135
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
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../OWNERS
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../OWNERS
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"path": "agent/e2e/two-node/fencing/ipv4/agent-e2e-two-node-fencing-ipv4-workflow.yaml",
3+
"owners": {
4+
"approvers": [
5+
"edge-enablement-approvers"
6+
]
7+
}
8+
}

0 commit comments

Comments
 (0)