Skip to content

Commit

Permalink
ppc64le specific changes added to prow config (#216)
Browse files Browse the repository at this point in the history
* ppc64le specific changes added to prow config

* refactored the code and reduced the number of lines
  • Loading branch information
valen-mascarenhas14 authored Sep 27, 2023
1 parent ccb2a18 commit 691ce1b
Show file tree
Hide file tree
Showing 40 changed files with 128 additions and 192 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,8 @@ periodics:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,8 @@ periodics:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,8 @@ periodics:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,8 @@ periodics:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
5 changes: 2 additions & 3 deletions prow/jobs/generated/knative/client-main.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
5 changes: 2 additions & 3 deletions prow/jobs/generated/knative/client-release-1.10.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
5 changes: 2 additions & 3 deletions prow/jobs/generated/knative/client-release-1.11.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
5 changes: 2 additions & 3 deletions prow/jobs/generated/knative/client-release-1.9.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
10 changes: 4 additions & 6 deletions prow/jobs/generated/knative/eventing-main.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down Expand Up @@ -305,9 +304,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-rekt-tests.sh --run-tests
command:
- runner.sh
Expand Down
10 changes: 4 additions & 6 deletions prow/jobs/generated/knative/eventing-release-1.10.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down Expand Up @@ -305,9 +304,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-rekt-tests.sh --run-tests
command:
- runner.sh
Expand Down
10 changes: 4 additions & 6 deletions prow/jobs/generated/knative/eventing-release-1.11.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down Expand Up @@ -305,9 +304,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-rekt-tests.sh --run-tests
command:
- runner.sh
Expand Down
10 changes: 4 additions & 6 deletions prow/jobs/generated/knative/eventing-release-1.9.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down Expand Up @@ -305,9 +304,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-rekt-tests.sh --run-tests
command:
- runner.sh
Expand Down
5 changes: 2 additions & 3 deletions prow/jobs/generated/knative/operator-main.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
5 changes: 2 additions & 3 deletions prow/jobs/generated/knative/operator-release-1.10.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
5 changes: 2 additions & 3 deletions prow/jobs/generated/knative/operator-release-1.11.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
5 changes: 2 additions & 3 deletions prow/jobs/generated/knative/operator-release-1.9.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
command:
- runner.sh
Expand Down
14 changes: 6 additions & 8 deletions prow/jobs/generated/knative/serving-main.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -675,10 +675,9 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint 'a9367076.nip.io
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint '${server_vm}
./test/e2e-tests.sh --run-tests --kourier-version latest
command:
- runner.sh
Expand Down Expand Up @@ -757,10 +756,9 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint 'a9367076.nip.io
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint '${server_vm}
./test/e2e-tests.sh --run-tests --contour-version latest
command:
- runner.sh
Expand Down
14 changes: 6 additions & 8 deletions prow/jobs/generated/knative/serving-release-1.10.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,9 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint 'a9367076.nip.io
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint '${server_vm}
./test/e2e-tests.sh --run-tests --kourier-version latest
command:
- runner.sh
Expand Down Expand Up @@ -340,10 +339,9 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint 'a9367076.nip.io
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint '${server_vm}
./test/e2e-tests.sh --run-tests --contour-version latest
command:
- runner.sh
Expand Down
14 changes: 6 additions & 8 deletions prow/jobs/generated/knative/serving-release-1.11.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,9 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint 'a9367076.nip.io
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint '${server_vm}
./test/e2e-tests.sh --run-tests --kourier-version latest
command:
- runner.sh
Expand Down Expand Up @@ -340,10 +339,9 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint 'a9367076.nip.io
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint '${server_vm}
./test/e2e-tests.sh --run-tests --contour-version latest
command:
- runner.sh
Expand Down
14 changes: 6 additions & 8 deletions prow/jobs/generated/knative/serving-release-1.9.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,9 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint 'a9367076.nip.io
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint '${server_vm}
./test/e2e-tests.sh --run-tests --kourier-version latest
command:
- runner.sh
Expand Down Expand Up @@ -340,10 +339,9 @@ periodics:
- bash
- -c
- |
cat /opt/cluster/ci-script > /tmp/connect.sh
chmod +x /tmp/connect.sh
. /tmp/connect.sh ${CI_JOB}
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint 'a9367076.nip.io
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
export TEST_OPTIONS=$TEST_OPTIONS' --ingressendpoint '${server_vm}
./test/e2e-tests.sh --run-tests --contour-version latest
command:
- runner.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ jobs:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
env:
- name: CI_JOB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ jobs:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
env:
- name: CI_JOB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ jobs:
- bash
- -c
- |
mkdir -p /root/.kube
cat /opt/cluster/ci-script > connect.sh
chmod +x connect.sh
./connect.sh ${CI_JOB}
server_vm="$(sh /opt/cluster/vm-script)"
source /opt/cluster/ci-script "${CI_JOB}" "${server_vm}"
./test/e2e-tests.sh --run-tests
env:
- name: CI_JOB
Expand Down
Loading

0 comments on commit 691ce1b

Please sign in to comment.