diff --git a/prow/config/jobs/api-1.10.yaml b/prow/config/jobs/api-1.10.yaml new file mode 100644 index 00000000000..dbd8357946b --- /dev/null +++ b/prow/config/jobs/api-1.10.yaml @@ -0,0 +1,155 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - make + - presubmit + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: build + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - gen-check + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: gencheck + node_selector: + testing: test-pool + requirements: + - cache +- command: + - ../test-infra/tools/automator/automator.sh + - --org=istio + - --repo=istio,client-go + - '--title=Automator: update istio/api@$AUTOMATOR_SRC_BRANCH dependency in $AUTOMATOR_ORG/$AUTOMATOR_REPO@$AUTOMATOR_BRANCH' + - --labels=auto-merge,release-notes-none + - --modifier=update_api_dep + - --token-path=/etc/github-token/oauth + - --cmd=go get istio.io/api@$AUTOMATOR_SHA && go mod tidy && make clean gen + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: update_api_dep + node_selector: + testing: test-pool + repos: + - istio/test-infra@master + requirements: + - cache + - github + types: + - postsubmit +- command: + - ../test-infra/tools/check_release_notes.sh + - --token-path=/etc/github-token/oauth + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + modifiers: + - optional + name: release-notes + node_selector: + testing: test-pool + repos: + - istio/test-infra@master + - istio/tools@master + requirements: + - cache + - github + types: + - presubmit +org: istio +repo: api +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + default: + limits: + cpu: "3" + memory: 24Gi + requests: + cpu: "1" + memory: 3Gi diff --git a/prow/config/jobs/client-go-1.10.yaml b/prow/config/jobs/client-go-1.10.yaml new file mode 100644 index 00000000000..94d9b74f247 --- /dev/null +++ b/prow/config/jobs/client-go-1.10.yaml @@ -0,0 +1,127 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - make + - build + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: build + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - lint + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: lint + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - gen-check + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: gencheck + node_selector: + testing: test-pool + requirements: + - cache +org: istio +repo: client-go +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + default: + limits: + cpu: "3" + memory: 24Gi + requests: + cpu: "1" + memory: 3Gi diff --git a/prow/config/jobs/common-files-1.10.yaml b/prow/config/jobs/common-files-1.10.yaml new file mode 100644 index 00000000000..74786112bea --- /dev/null +++ b/prow/config/jobs/common-files-1.10.yaml @@ -0,0 +1,176 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - make + - lint + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: lint + node_selector: + testing: test-pool + requirements: + - cache +- command: + - ../test-infra/tools/automator/automator.sh + - --org=istio + - --repo=istio,api,tools,release-builder,pkg,client-go,gogo-genproto,proxy + - '--title=Automator: update common-files@$AUTOMATOR_SRC_BRANCH in $AUTOMATOR_ORG/$AUTOMATOR_REPO@$AUTOMATOR_BRANCH' + - --labels=auto-merge,release-notes-none + - --strict + - --modifier=commonfiles + - --token-path=/etc/github-token/oauth + - --cmd=make update-common && make gen + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: update-common + node_selector: + testing: test-pool + repos: + - istio/test-infra@master + requirements: + - cache + - github + types: + - postsubmit +- command: + - ../test-infra/tools/automator/automator.sh + - --org=istio + - --repo=istio.io + - '--title=Automator: update common-files@$AUTOMATOR_SRC_BRANCH in $AUTOMATOR_ORG/$AUTOMATOR_REPO@$AUTOMATOR_BRANCH' + - --labels=auto-merge,release-notes-none + - --strict + - --modifier=commonfiles + - --token-path=/etc/github-token/oauth + - --cmd=make update-common && make gen + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: update-common-istio.io + node_selector: + testing: test-pool + repos: + - istio/test-infra@master + requirements: + - cache + - github + types: + - postsubmit +- command: + - ../test-infra/tools/automator/automator.sh + - --org=istio + - --repo=test-infra + - '--title=Automator: update build-tools:$AUTOMATOR_SRC_BRANCH' + - --branch=master + - --modifier=buildtools + - --token-path=/etc/github-token/oauth + - --script-path=../test-infra/tools/automator/scripts/update-images.sh + - --labels=release-notes-none + - --verbose + - -- + - --post=make gen + - --source=$AUTOMATOR_ROOT_DIR/files/common/scripts/setup_env.sh + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: update-build-tools-image + node_selector: + testing: test-pool + repos: + - istio/test-infra@master + requirements: + - cache + - github + types: + - postsubmit +org: istio +repo: common-files +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + default: + limits: + cpu: "3" + memory: 24Gi + requests: + cpu: "1" + memory: 3Gi diff --git a/prow/config/jobs/gogo-genproto-1.10.yaml b/prow/config/jobs/gogo-genproto-1.10.yaml new file mode 100644 index 00000000000..a1075cc5626 --- /dev/null +++ b/prow/config/jobs/gogo-genproto-1.10.yaml @@ -0,0 +1,127 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - make + - build + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: build + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - lint + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: lint + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - gen-check + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: gencheck + node_selector: + testing: test-pool + requirements: + - cache +org: istio +repo: gogo-genproto +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + default: + limits: + cpu: "3" + memory: 24Gi + requests: + cpu: "1" + memory: 3Gi diff --git a/prow/config/jobs/istio-1.10.yaml b/prow/config/jobs/istio-1.10.yaml new file mode 100644 index 00000000000..d5d9dee7782 --- /dev/null +++ b/prow/config/jobs/istio-1.10.yaml @@ -0,0 +1,583 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - entrypoint + - make + - -e + - T=-v -count=1 + - build + - racetest + - binaries-test + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: unit-tests + node_selector: + testing: test-pool + requirements: + - cache + - gocache +- command: + - entrypoint + - prow/release-test.sh + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: release-test + node_selector: + testing: test-pool + requirements: + - cache + - gcp + - docker + - gocache + types: + - presubmit +- command: + - entrypoint + - prow/release-commit.sh + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: release + node_selector: + testing: test-pool + requirements: + - cache + - gcp + - docker + - gocache + types: + - postsubmit +- command: + - entrypoint + - make + - benchtest + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + modifiers: + - optional + - skipped + name: benchmark + node_selector: + testing: test-pool + requirements: + - cache + - gocache + resources: benchmark + types: + - presubmit +- command: + - entrypoint + - make + - benchtest + - report-benchtest + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: benchmark-report + node_selector: + testing: test-pool + requirements: + - cache + - gcp + - gocache + resources: benchmark + types: + - postsubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.pilot.kube.presubmit + env: + - name: TEST_SELECT + value: -postsubmit,-flaky,-multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-pilot-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + types: + - presubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.security.kube.presubmit + env: + - name: TEST_SELECT + value: -postsubmit,-flaky,-multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-security-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + types: + - presubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.telemetry.kube.presubmit + env: + - name: TEST_SELECT + value: -postsubmit,-flaky,-multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-telemetry-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + types: + - presubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --topology + - MULTICLUSTER + - test.integration.telemetry.kube + env: + - name: TEST_SELECT + value: -multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-telemetry-mc-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --topology + - MULTICLUSTER + - test.integration.multicluster.kube.presubmit + env: + - name: TEST_SELECT + value: -postsubmit,-flaky,+multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-multicluster-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + types: + - presubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.kube.reachability + env: + - name: VARIANT + value: distroless + - name: TEST_SELECT + value: -multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-distroless-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.kube.reachability + env: + - name: DOCKER_IN_DOCKER_IPV6_ENABLED + value: "true" + - name: IP_FAMILY + value: ipv6 + - name: TEST_SELECT + value: -multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-ipv6-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.operator.kube.presubmit + env: + - name: TEST_SELECT + value: -postsubmit,-flaky,-multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-operator-controller-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + types: + - presubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.pilot.kube + env: + - name: TEST_SELECT + value: -multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-pilot-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + types: + - postsubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --topology + - MULTICLUSTER + - test.integration.pilot.kube + env: + - name: TEST_SELECT + value: -multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-pilot-multicluster-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.security.kube + env: + - name: TEST_SELECT + value: -multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-security-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + types: + - postsubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --topology + - MULTICLUSTER + - test.integration.security.kube + env: + - name: TEST_SELECT + value: -multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-security-multicluster-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.telemetry.kube + env: + - name: TEST_SELECT + value: -multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-telemetry-k8s-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + types: + - postsubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - test.integration.helm.kube + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-helm-tests + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --node-image + - kindest/node:v1.16.15 + - test.integration.kube.presubmit + env: + - name: INTEGRATION_TEST_FLAGS + value: ' --istio.test.retries=1 ' + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-k8s-116 + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + timeout: 4h0m0s + types: + - postsubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --node-image + - kindest/node:v1.17.11 + - --kind-config + - prow/config/endpointslice.yaml + - test.integration.kube.presubmit + env: + - name: INTEGRATION_TEST_FLAGS + value: ' --istio.test.retries=1 ' + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-k8s-117 + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + timeout: 4h0m0s + types: + - postsubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --node-image + - kindest/node:v1.18.8 + - test.integration.kube.presubmit + env: + - name: INTEGRATION_TEST_FLAGS + value: ' --istio.test.retries=1 ' + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-k8s-118 + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + timeout: 4h0m0s + types: + - postsubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --node-image + - kindest/node:v1.19.4 + - test.integration.kube.presubmit + env: + - name: INTEGRATION_TEST_FLAGS + value: ' --istio.test.retries=1 ' + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: integ-k8s-119 + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + timeout: 4h0m0s + types: + - postsubmit +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --node-image + - gcr.io/istio-testing/kind-node:v1.21.0-beta.0 + - test.integration.kube.presubmit + env: + - name: INTEGRATION_TEST_FLAGS + value: ' --istio.test.retries=1 ' + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + modifiers: + - hidden + name: integ-k8s-121 + node_selector: + testing: test-pool + requirements: + - cache + - kind + - gocache + timeout: 4h0m0s + types: + - postsubmit +- command: + - make + - test.integration.analyze + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: analyze-tests + node_selector: + testing: test-pool + requirements: + - cache + - gocache + types: + - presubmit +- command: + - make + - lint + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: lint + node_selector: + testing: test-pool + requirements: + - cache + - gocache + resources: lint + types: + - presubmit +- command: + - make + - gen-check + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: gencheck + node_selector: + testing: test-pool + requirements: + - cache + - gocache + types: + - presubmit +- command: + - ../test-infra/tools/check_release_notes.sh + - --token-path=/etc/github-token/oauth + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: release-notes + node_selector: + testing: test-pool + repos: + - istio/test-infra@master + - istio/tools@master + requirements: + - cache + - github + - gocache + types: + - presubmit +org: istio +repo: istio +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +requirements: +- gocache +resources: + benchmark: + limits: + memory: 24Gi + requests: + cpu: "15" + memory: 8Gi + default: + limits: + memory: 24Gi + requests: + cpu: "5" + memory: 3Gi + lint: + limits: + memory: 24Gi + requests: + cpu: "3" + memory: 16Gi diff --git a/prow/config/jobs/istio.io-1.10.yaml b/prow/config/jobs/istio.io-1.10.yaml new file mode 100644 index 00000000000..6957203da0e --- /dev/null +++ b/prow/config/jobs/istio.io-1.10.yaml @@ -0,0 +1,197 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - make + - lint + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: lint + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - gen-check + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: gencheck + node_selector: + testing: test-pool + requirements: + - cache +- command: + - entrypoint + - prow/integ-suite-kind.sh + - doc.test.profile_default + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: doc.test.profile_default + node_selector: + testing: test-pool + requirements: + - cache + - kind +- command: + - entrypoint + - prow/integ-suite-kind.sh + - doc.test.profile_demo + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: doc.test.profile_demo + node_selector: + testing: test-pool + requirements: + - cache + - kind +- command: + - entrypoint + - prow/integ-suite-kind.sh + - doc.test.profile_none + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: doc.test.profile_none + node_selector: + testing: test-pool + requirements: + - cache + - kind +- command: + - entrypoint + - prow/integ-suite-kind.sh + - --topology + - MULTICLUSTER + - doc.test.multicluster + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: doc.test.multicluster + node_selector: + testing: test-pool + requirements: + - cache + - kind +- command: + - ../test-infra/tools/automator/automator.sh + - --org=istio + - --repo=istio.io + - --token-path=/etc/github-token/oauth + - --cmd=make update_ref_docs + - --dry-run + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + modifiers: + - optional + name: update-ref-docs-dry-run + node_selector: + testing: test-pool + repos: + - istio/test-infra@master + requirements: + - cache + - github + types: + - presubmit +org: istio +repo: istio.io +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + benchmark: + limits: + memory: 24Gi + requests: + cpu: "15" + memory: 8Gi + default: + limits: + cpu: "8" + memory: 24Gi + requests: + cpu: "5" + memory: 3Gi + lint: + limits: + cpu: "5" + memory: 24Gi + requests: + cpu: "3" + memory: 16Gi diff --git a/prow/config/jobs/pkg-1.10.yaml b/prow/config/jobs/pkg-1.10.yaml new file mode 100644 index 00000000000..48b2f8b261a --- /dev/null +++ b/prow/config/jobs/pkg-1.10.yaml @@ -0,0 +1,148 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - make + - build + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: build + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - lint + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: lint + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - test + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: test + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - gen-check + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: gencheck + node_selector: + testing: test-pool + requirements: + - cache +org: istio +repo: pkg +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + benchmark: + limits: + memory: 24Gi + requests: + cpu: "15" + memory: 8Gi + default: + limits: + cpu: "3" + memory: 24Gi + requests: + cpu: "1" + memory: 3Gi + lint: + limits: + memory: 24Gi + requests: + cpu: "3" + memory: 16Gi diff --git a/prow/config/jobs/proxy-1.10.yaml b/prow/config/jobs/proxy-1.10.yaml new file mode 100644 index 00000000000..0d160f8bd93 --- /dev/null +++ b/prow/config/jobs/proxy-1.10.yaml @@ -0,0 +1,237 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools-proxy:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - ./prow/proxy-presubmit.sh + image: gcr.io/istio-testing/build-tools-proxy:master-2021-04-02T23-15-48 + name: test + node_selector: + testing: build-pool + requirements: + - cache + - gcp + timeout: 4h0m0s + types: + - presubmit +- command: + - ./prow/proxy-presubmit-asan.sh + image: gcr.io/istio-testing/build-tools-proxy:master-2021-04-02T23-15-48 + name: test-asan + node_selector: + testing: build-pool + requirements: + - cache + - gcp + timeout: 4h0m0s + types: + - presubmit +- command: + - ./prow/proxy-presubmit-tsan.sh + image: gcr.io/istio-testing/build-tools-proxy:master-2021-04-02T23-15-48 + name: test-tsan + node_selector: + testing: build-pool + requirements: + - cache + - gcp + timeout: 4h0m0s + types: + - presubmit +- command: + - ./prow/proxy-presubmit-release.sh + image: gcr.io/istio-testing/build-tools-proxy:master-2021-04-02T23-15-48 + name: release-test + node_selector: + testing: build-pool + requirements: + - cache + - gcp + timeout: 4h0m0s + types: + - presubmit +- command: + - ./prow/proxy-presubmit-centos-release.sh + image: gcr.io/istio-testing/build-tools-centos:master-2021-04-02T23-15-48 + modifiers: + - optional + name: release-centos-test + node_selector: + testing: build-pool + requirements: + - cache + - gcp + timeout: 4h0m0s + types: + - presubmit +- command: + - entrypoint + - ./prow/proxy-presubmit-wasm.sh + image: gcr.io/istio-testing/build-tools-proxy:master-2021-04-02T23-15-48 + name: check-wasm + node_selector: + testing: build-pool + requirements: + - cache + - gcp + - docker + timeout: 4h0m0s + types: + - presubmit +- command: + - entrypoint + - ./prow/proxy-postsubmit.sh + image: gcr.io/istio-testing/build-tools-proxy:master-2021-04-02T23-15-48 + name: release + node_selector: + testing: build-pool + requirements: + - cache + - gcp + - docker + timeout: 4h0m0s + types: + - postsubmit +- command: + - ./prow/proxy-postsubmit-centos.sh + image: gcr.io/istio-testing/build-tools-centos:master-2021-04-02T23-15-48 + name: release-centos + node_selector: + testing: build-pool + requirements: + - cache + - gcp + timeout: 4h0m0s + types: + - postsubmit +- command: + - ../test-infra/tools/automator/automator.sh + - --org=istio + - --repo=istio + - '--title=Automator: update proxy@$AUTOMATOR_SRC_BRANCH in $AUTOMATOR_ORG/$AUTOMATOR_REPO@$AUTOMATOR_BRANCH' + - --labels=auto-merge,release-notes-none + - --modifier=update_proxy_dep + - --token-path=/etc/github-token/oauth + - --cmd=bin/update_proxy.sh $AUTOMATOR_SHA + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: update-istio + node_selector: + testing: build-pool + repos: + - istio/test-infra@master + requirements: + - cache + - github + timeout: 4h0m0s + types: + - postsubmit +node_selector: + testing: build-pool +org: istio +repo: proxy +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + benchmark: + limits: + memory: 24Gi + requests: + cpu: "15" + memory: 8Gi + default: + limits: + cpu: "64" + memory: 240G + requests: + cpu: "30" + memory: 100G + lint: + limits: + memory: 24Gi + requests: + cpu: "3" + memory: 16Gi diff --git a/prow/config/jobs/release-builder-1.10.yaml b/prow/config/jobs/release-builder-1.10.yaml new file mode 100644 index 00000000000..96df76ef36e --- /dev/null +++ b/prow/config/jobs/release-builder-1.10.yaml @@ -0,0 +1,216 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - make + - lint + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: lint + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - test + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: test + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - gen-check + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: gencheck + node_selector: + testing: test-pool + requirements: + - cache +- command: + - entrypoint + - test/publish.sh + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: dry-run + node_selector: + testing: test-pool + regex: \.go$|\.sh$ + requirements: + - cache + - gcp + - docker + resources: build +- command: + - release/build-warning.sh + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + modifiers: + - optional + name: build-warning + node_selector: + testing: test-pool + regex: ^release/trigger-build$ + requirements: + - cache + types: + - presubmit +- command: + - release/publish-warning.sh + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + modifiers: + - optional + name: publish-warning + node_selector: + testing: test-pool + regex: ^release/trigger-publish$ + requirements: + - cache + types: + - presubmit +- command: + - entrypoint + - release/build.sh + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: build-release + node_selector: + testing: test-pool + regex: ^release/trigger-build$ + requirements: + - cache + - release + - docker + - github + resources: build + types: + - postsubmit +- command: + - entrypoint + - release/publish.sh + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: publish-release + node_selector: + testing: test-pool + regex: ^release/trigger-publish$ + requirements: + - cache + - release + - docker + resources: build + types: + - postsubmit +org: istio +repo: release-builder +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + benchmark: + limits: + memory: 24Gi + requests: + cpu: "15" + memory: 8Gi + build: + limits: + cpu: "8" + memory: 24Gi + requests: + cpu: "5" + memory: 3Gi + default: + limits: + cpu: "3" + memory: 24Gi + requests: + cpu: "1" + memory: 3Gi + lint: + limits: + memory: 24Gi + requests: + cpu: "3" + memory: 16Gi diff --git a/prow/config/jobs/tools-1.10.yaml b/prow/config/jobs/tools-1.10.yaml new file mode 100644 index 00000000000..302414b6bfc --- /dev/null +++ b/prow/config/jobs/tools-1.10.yaml @@ -0,0 +1,204 @@ +branches: +- release-1.10 +image: gcr.io/istio-testing/build-tools:release-1.10-2021-04-02T23-15-48 +jobs: +- command: + - make + - build + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: build + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - lint + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: lint + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - test + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: test + node_selector: + testing: test-pool + requirements: + - cache +- command: + - make + - gen-check + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: gencheck + node_selector: + testing: test-pool + requirements: + - cache +- command: + - entrypoint + - make + - containers + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: containers + node_selector: + testing: test-pool + regex: docker/.+|cmd/.+ + requirements: + - cache + - gcp + - docker + resources: build + types: + - postsubmit +- command: + - entrypoint + - make + - containers-test + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: containers-test + node_selector: + testing: test-pool + regex: docker/.+|cmd/.+ + requirements: + - cache + - gcp + - docker + resources: build + types: + - presubmit +- command: + - entrypoint + - make + - -C + - perf_dashboard + - deploy + image: gcr.io/istio-testing/build-tools:master-2021-04-02T23-15-48 + name: deploy-perf-dashboard + node_selector: + testing: test-pool + regex: ^perf_dashboard/ + requirements: + - cache + - docker + - gcp + types: + - postsubmit +org: istio +repo: tools +requirement_presets: + cache: + env: null + labels: null + volumeMounts: + - mountPath: /home/prow/go/pkg + name: build-cache + subPath: gomod + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + deploy: + env: null + labels: + preset-prow-deployer-service-account: "true" + volumeMounts: null + volumes: null + docker: + env: null + labels: null + volumeMounts: + - mountPath: /var/lib/docker + name: docker-root + volumes: + - emptyDir: {} + name: docker-root + gcp: + env: null + labels: + preset-service-account: "true" + volumeMounts: null + volumes: null + github: + env: null + labels: null + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + gocache: + env: null + labels: null + volumeMounts: + - mountPath: /gocache + name: build-cache + subPath: gocache + volumes: + - hostPath: + path: /tmp/prow/cache + type: DirectoryOrCreate + name: build-cache + kind: + env: null + labels: null + volumeMounts: + - mountPath: /lib/modules + name: modules + readOnly: true + - mountPath: /sys/fs/cgroup + name: cgroup + readOnly: true + - mountPath: /var/lib/docker + name: docker-root + volumes: + - hostPath: + path: /lib/modules + type: Directory + name: modules + - hostPath: + path: /sys/fs/cgroup + type: Directory + name: cgroup + - emptyDir: {} + name: docker-root + release: + env: null + labels: + preset-release-pipeline: "true" + volumeMounts: null + volumes: null +resources: + benchmark: + limits: + memory: 24Gi + requests: + cpu: "15" + memory: 8Gi + build: + limits: + cpu: "8" + memory: 24Gi + requests: + cpu: "8" + memory: 4Gi + default: + limits: + cpu: "3" + memory: 24Gi + requests: + cpu: "1" + memory: 3Gi + lint: + limits: + memory: 24Gi + requests: + cpu: "3" + memory: 16Gi