k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits.yaml (about) 1 presubmits: 2 kubernetes-sigs/cluster-api-provider-ibmcloud: 3 - name: pull-cluster-api-provider-ibmcloud-make 4 cluster: eks-prow-build-cluster 5 always_run: true 6 branches: 7 # The script this job runs is not in all branches. 8 - ^main$ 9 decorate: true 10 path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud 11 labels: 12 preset-service-account: "true" 13 preset-dind-enabled: "true" 14 spec: 15 containers: 16 - command: 17 - "runner.sh" 18 - "./scripts/ci-make.sh" 19 # docker-in-docker needs privileged mode 20 securityContext: 21 privileged: true 22 image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.28 23 imagePullPolicy: Always 24 resources: 25 limits: 26 cpu: "2" 27 memory: "6Gi" 28 requests: 29 cpu: "2" 30 memory: "6Gi" 31 annotations: 32 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud 33 testgrid-tab-name: pr-make 34 - name: pull-cluster-api-provider-ibmcloud-test 35 cluster: eks-prow-build-cluster 36 always_run: true 37 branches: 38 # The script this job runs is not in all branches. 39 - ^main$ 40 decorate: true 41 path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud 42 labels: 43 preset-service-account: "true" 44 spec: 45 containers: 46 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.28 47 imagePullPolicy: Always 48 command: 49 - "./scripts/ci-test.sh" 50 resources: 51 limits: 52 cpu: "2" 53 memory: "6Gi" 54 requests: 55 cpu: "2" 56 memory: "6Gi" 57 annotations: 58 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud 59 testgrid-tab-name: pr-test 60 - name: pull-cluster-api-provider-ibmcloud-smoke-test 61 cluster: eks-prow-build-cluster 62 always_run: true 63 branches: 64 # The script this job runs is not in all branches. 65 - ^main$ 66 decorate: true 67 path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud 68 labels: 69 preset-service-account: "true" 70 preset-dind-enabled: "true" 71 preset-kind-volume-mounts: "true" 72 spec: 73 containers: 74 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.28 75 imagePullPolicy: Always 76 env: 77 - name: "IBMCLOUD_API_KEY" 78 value: "dummyApiKey" 79 command: 80 - "runner.sh" 81 - "./scripts/ci-smoke-test.sh" 82 # docker-in-docker needs privileged mode 83 securityContext: 84 privileged: true 85 resources: 86 limits: 87 cpu: "2" 88 memory: "6Gi" 89 requests: 90 cpu: "2" 91 memory: "6Gi" 92 annotations: 93 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud 94 testgrid-tab-name: pr-smoke-test 95 - name: pull-cluster-api-provider-ibmcloud-build 96 cluster: eks-prow-build-cluster 97 always_run: true 98 branches: 99 # The script this job runs is not in all branches. 100 - ^main$ 101 optional: false 102 decorate: true 103 path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud 104 spec: 105 containers: 106 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.28 107 command: 108 - "./scripts/ci-build.sh" 109 resources: 110 limits: 111 memory: "6Gi" 112 cpu: "2" 113 requests: 114 memory: "6Gi" 115 cpu: "2" 116 annotations: 117 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud 118 testgrid-tab-name: pr-build 119 - name: pull-cluster-api-provider-ibmcloud-verify 120 cluster: eks-prow-build-cluster 121 always_run: true 122 branches: 123 # The script this job runs is not in all branches. 124 - ^main$ 125 optional: false 126 decorate: true 127 path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud" 128 spec: 129 containers: 130 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.28 131 command: 132 - "make" 133 - "verify" 134 resources: 135 limits: 136 cpu: "2" 137 memory: "6Gi" 138 requests: 139 cpu: "2" 140 memory: "6Gi" 141 annotations: 142 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud 143 testgrid-tab-name: pr-verify 144 - name: pull-cluster-api-provider-ibmcloud-coverage 145 cluster: eks-prow-build-cluster 146 always_run: true 147 decorate: true 148 path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud" 149 extra_refs: 150 - org: kubernetes 151 repo: test-infra 152 base_ref: master 153 path_alias: k8s.io/test-infra 154 branches: 155 - ^main$ 156 spec: 157 containers: 158 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.28 159 command: 160 - runner.sh 161 args: 162 - bash 163 - -c 164 - | 165 result=0 166 ./scripts/ci-test-coverage.sh || result=$? 167 cp cover.* ${ARTIFACTS} 168 cd ../../k8s.io/test-infra/gopherage 169 GO111MODULE=on go build . 170 ./gopherage filter --exclude-path="zz_generated,generated\.go" "${ARTIFACTS}/cover.out" > "${ARTIFACTS}/filtered.cov" || result=$? 171 ./gopherage html "${ARTIFACTS}/filtered.cov" > "${ARTIFACTS}/coverage.html" || result=$? 172 ./gopherage junit --threshold 0 "${ARTIFACTS}/filtered.cov" > "${ARTIFACTS}/junit_coverage.xml" || result=$? 173 exit $result 174 resources: 175 limits: 176 cpu: "2" 177 memory: "6Gi" 178 requests: 179 cpu: "2" 180 memory: "6Gi" 181 - name: pull-cluster-api-provider-ibmcloud-apidiff 182 cluster: eks-prow-build-cluster 183 decorate: true 184 path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud" 185 always_run: true 186 optional: true 187 labels: 188 preset-service-account: "true" 189 branches: 190 - ^main$ 191 spec: 192 containers: 193 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.28 194 command: 195 - runner.sh 196 args: 197 - ./scripts/ci-apidiff.sh 198 resources: 199 limits: 200 cpu: "2" 201 memory: "6Gi" 202 requests: 203 cpu: "2" 204 memory: "6Gi" 205 annotations: 206 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud 207 testgrid-tab-name: pr-apidiff-main