|
| 1 | +postsubmits: |
| 2 | + ppc64le-cloud/docker-ce-build: |
| 3 | + - name: postsubmit-unit-test-docker |
| 4 | + cluster: k8s-ppc64le-cluster |
| 5 | + labels: |
| 6 | + preset-build-docker: "true" |
| 7 | + decorate: true |
| 8 | + decoration_config: |
| 9 | + timeout: 2h |
| 10 | + run_if_changed: 'job/postsubmit-ci-docker' |
| 11 | + reporter_config: |
| 12 | + slack: |
| 13 | + channel: 'prow-job-notifications' |
| 14 | + job_states_to_report: |
| 15 | + - failure |
| 16 | + - error |
| 17 | + report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>' |
| 18 | + branches: |
| 19 | + - prow-job-tracking |
| 20 | + spec: |
| 21 | + containers: |
| 22 | + - image: quay.io/powercloud/docker-ce-build@sha256:b1e2679b9a5aabe15a94ae3130f5b02ce67441cf361fda7dc7a41929bb50ba87 |
| 23 | + resources: |
| 24 | + requests: |
| 25 | + cpu: "4000m" |
| 26 | + limits: |
| 27 | + cpu: "4000m" |
| 28 | + command: |
| 29 | + - /bin/bash |
| 30 | + args: |
| 31 | + - -c |
| 32 | + - | |
| 33 | + ## |
| 34 | + # This job is populated with the files from the 'prow-job-tracking' branch. |
| 35 | + # We switch to the 'main' branch, as it contains the scripts used by this job. |
| 36 | + ### |
| 37 | +
|
| 38 | + set -o errexit |
| 39 | + set -o nounset |
| 40 | + set -o pipefail |
| 41 | + set -o xtrace |
| 42 | +
|
| 43 | + #Set this to your dev branch for testing |
| 44 | + WORK_BRANCH=main |
| 45 | + git fetch https://github.com/${REPO_OWNER}/${REPO_NAME} ${WORK_BRANCH} |
| 46 | + git checkout ${WORK_BRANCH} |
| 47 | + echo "* Start prow-unit-test-docker *" |
| 48 | + chmod ug+x $PWD/upstream-master-ci/prow-unit-test-docker.sh |
| 49 | + $PWD/upstream-master-ci/prow-unit-test-docker.sh |
| 50 | + rc=$? |
| 51 | + [ $rc != 0 ] && echo "ERROR: prow-unit-test-docker exited with code:$rc" |
| 52 | + exit $rc |
| 53 | +
|
| 54 | + securityContext: |
| 55 | + privileged: true |
| 56 | + - name: postsubmit-integration-cli-docker |
| 57 | + cluster: k8s-ppc64le-cluster |
| 58 | + labels: |
| 59 | + preset-build-docker: "true" |
| 60 | + decorate: true |
| 61 | + decoration_config: |
| 62 | + timeout: 2h |
| 63 | + run_if_changed: 'job/postsubmit-ci-docker' |
| 64 | + reporter_config: |
| 65 | + slack: |
| 66 | + channel: 'prow-job-notifications' |
| 67 | + job_states_to_report: |
| 68 | + - failure |
| 69 | + - error |
| 70 | + report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>' |
| 71 | + branches: |
| 72 | + - prow-job-tracking |
| 73 | + spec: |
| 74 | + containers: |
| 75 | + - image: quay.io/powercloud/docker-ce-build@sha256:b1e2679b9a5aabe15a94ae3130f5b02ce67441cf361fda7dc7a41929bb50ba87 |
| 76 | + resources: |
| 77 | + requests: |
| 78 | + cpu: "4000m" |
| 79 | + limits: |
| 80 | + cpu: "4000m" |
| 81 | + command: |
| 82 | + - /bin/bash |
| 83 | + args: |
| 84 | + - -c |
| 85 | + - | |
| 86 | + ## |
| 87 | + # This job is populated with the files from the 'prow-job-tracking' branch. |
| 88 | + # We switch to the 'main' branch, as it contains the scripts used by this job. |
| 89 | + ### |
| 90 | +
|
| 91 | + set -o errexit |
| 92 | + set -o nounset |
| 93 | + set -o pipefail |
| 94 | + set -o xtrace |
| 95 | +
|
| 96 | + #Set this to your dev branch for testing |
| 97 | + WORK_BRANCH=main |
| 98 | + git fetch https://github.com/${REPO_OWNER}/${REPO_NAME} ${WORK_BRANCH} |
| 99 | + git checkout ${WORK_BRANCH} |
| 100 | + echo "* Start prow-integration-cli-docker *" |
| 101 | + chmod ug+x $PWD/upstream-master-ci/prow-integration-cli.sh |
| 102 | + $PWD/upstream-master-ci/prow-integration-cli.sh |
| 103 | + rc=$? |
| 104 | + [ $rc != 0 ] && echo "ERROR: prow-integration-cli-docker exited with code:$rc" |
| 105 | + exit $rc |
| 106 | +
|
| 107 | + securityContext: |
| 108 | + privileged: true |
| 109 | + - name: postsubmit-integration-test-docker |
| 110 | + cluster: k8s-ppc64le-cluster |
| 111 | + labels: |
| 112 | + preset-build-docker: "true" |
| 113 | + decorate: true |
| 114 | + decoration_config: |
| 115 | + timeout: 2h |
| 116 | + run_if_changed: 'job/postsubmit-ci-docker' |
| 117 | + reporter_config: |
| 118 | + slack: |
| 119 | + channel: 'prow-job-notifications' |
| 120 | + job_states_to_report: |
| 121 | + - failure |
| 122 | + - error |
| 123 | + report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>' |
| 124 | + branches: |
| 125 | + - prow-job-tracking |
| 126 | + spec: |
| 127 | + containers: |
| 128 | + - image: quay.io/powercloud/docker-ce-build@sha256:b1e2679b9a5aabe15a94ae3130f5b02ce67441cf361fda7dc7a41929bb50ba87 |
| 129 | + resources: |
| 130 | + requests: |
| 131 | + cpu: "4000m" |
| 132 | + limits: |
| 133 | + cpu: "4000m" |
| 134 | + command: |
| 135 | + - /bin/bash |
| 136 | + args: |
| 137 | + - -c |
| 138 | + - | |
| 139 | + ## |
| 140 | + # This job is populated with the files from the 'prow-job-tracking' branch. |
| 141 | + # We switch to the 'main' branch, as it contains the scripts used by this job. |
| 142 | + ### |
| 143 | +
|
| 144 | + set -o errexit |
| 145 | + set -o nounset |
| 146 | + set -o pipefail |
| 147 | + set -o xtrace |
| 148 | +
|
| 149 | + #Set this to your dev branch for testing |
| 150 | + WORK_BRANCH=main |
| 151 | + git fetch https://github.com/${REPO_OWNER}/${REPO_NAME} ${WORK_BRANCH} |
| 152 | + git checkout ${WORK_BRANCH} |
| 153 | + echo "* Start prow-integration-test-docker *" |
| 154 | + chmod ug+x $PWD/upstream-master-ci/prow-integration-tests.sh |
| 155 | + $PWD/upstream-master-ci/prow-integration-tests.sh |
| 156 | + rc=$? |
| 157 | + [ $rc != 0 ] && echo "ERROR: prow-integration-test-docker exited with code:$rc" |
| 158 | + exit $rc |
| 159 | +
|
| 160 | + securityContext: |
| 161 | + privileged: true |
0 commit comments