From 8f96c2946ee74a0eeb8a2c227ebb80fd8ea190d2 Mon Sep 17 00:00:00 2001 From: Arnaud Meukam Date: Thu, 5 Nov 2020 12:10:44 +0100 Subject: [PATCH] Migrate pull-kubernetes-bazel-build to k8s-infra-prow-build Part of https://github.com/kubernetes/test-infra/issues/19073 Ref: https://github.com/kubernetes/test-infra/issues/18550 Signed-off-by: Arnaud Meukam --- .../jobs/kubernetes/sig-release/release-branch-jobs/1.17.yaml | 3 ++- .../jobs/kubernetes/sig-release/release-branch-jobs/1.18.yaml | 3 ++- .../jobs/kubernetes/sig-release/release-branch-jobs/1.19.yaml | 3 ++- config/jobs/kubernetes/sig-testing/bazel-build-test.yaml | 3 +-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.17.yaml b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.17.yaml index 67b990045124..8d3fd837d877 100644 --- a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.17.yaml +++ b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.17.yaml @@ -1117,6 +1117,7 @@ presubmits: - always_run: true branches: - release-1.17 + cluster: k8s-infra-prow-build decorate: true extra_refs: - base_ref: master @@ -1131,7 +1132,7 @@ presubmits: - args: - -c - | - ../test-infra/hack/bazel.sh build --config=remote --remote_instance_name=projects/k8s-prow-builds/instances/default_instance -- //... -//vendor/... -//build/... //build/release-tars + ../test-infra/hack/bazel.sh build -- //... -//vendor/... -//build/... //build/release-tars command: - bash image: gcr.io/k8s-testimages/launcher.gcr.io/google/bazel:2.2.0-from-0.23.2 diff --git a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.18.yaml b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.18.yaml index 5efa9787b8e6..22a837a97848 100644 --- a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.18.yaml +++ b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.18.yaml @@ -1319,6 +1319,7 @@ presubmits: - always_run: true branches: - release-1.18 + cluster: k8s-infra-prow-build decorate: true extra_refs: - base_ref: master @@ -1333,7 +1334,7 @@ presubmits: - args: - -c - | - ../test-infra/hack/bazel.sh build --config=remote --remote_instance_name=projects/k8s-prow-builds/instances/default_instance -- //... -//vendor/... -//build/... //build/release-tars + ../test-infra/hack/bazel.sh build -- //... -//vendor/... -//build/... //build/release-tars command: - bash image: gcr.io/k8s-testimages/launcher.gcr.io/google/bazel:2.2.0-from-0.23.2 diff --git a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.19.yaml b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.19.yaml index 0cb42fe523af..4eca97039cea 100644 --- a/config/jobs/kubernetes/sig-release/release-branch-jobs/1.19.yaml +++ b/config/jobs/kubernetes/sig-release/release-branch-jobs/1.19.yaml @@ -1259,6 +1259,7 @@ presubmits: - always_run: true branches: - release-1.19 + cluster: k8s-infra-prow-build decorate: true extra_refs: - base_ref: master @@ -1273,7 +1274,7 @@ presubmits: - args: - -c - | - ../test-infra/hack/bazel.sh build --config=remote --remote_instance_name=projects/k8s-prow-builds/instances/default_instance -- //... -//vendor/... -//build/... //build/release-tars + ../test-infra/hack/bazel.sh build -- //... -//vendor/... -//build/... //build/release-tars command: - bash image: gcr.io/k8s-testimages/launcher.gcr.io/google/bazel:2.2.0-from-0.23.2 diff --git a/config/jobs/kubernetes/sig-testing/bazel-build-test.yaml b/config/jobs/kubernetes/sig-testing/bazel-build-test.yaml index 9e1fc4bcbc63..f0cb2af8708c 100644 --- a/config/jobs/kubernetes/sig-testing/bazel-build-test.yaml +++ b/config/jobs/kubernetes/sig-testing/bazel-build-test.yaml @@ -1,6 +1,7 @@ presubmits: kubernetes/kubernetes: - name: pull-kubernetes-bazel-build + cluster: k8s-infra-prow-build decorate: true always_run: true skip_branches: @@ -24,8 +25,6 @@ presubmits: - ../test-infra/hack/bazel.sh args: - build - - --config=remote - - --remote_instance_name=projects/k8s-prow-builds/instances/default_instance - -- - //... - -//vendor/...