Commit Graph

19 Commits

Author SHA1 Message Date
Kevin Burek 812f11396d
Bazel build extra args for Prow CI (#5712) 2024-08-26 14:33:44 -04:00
John Howard 75720c498e
Disable CPU limit (#4768) 2023-06-30 14:08:18 -07:00
John Howard 6ff96f27ac
build: fix RBE enablement (#4762)
The old logic was very fragile. It relied either on legacy/insecure SA
key, or a *specific* account being used with WI.

We switched which account we use for WI, causing it to disable WI.

I don't think we need this subtlety. We already allow opting out of RBE
by the `BAZEL_BUILD_RBE_INSTANCE` variable -- which we already set when
we want to opt out -- so this should be fine. Additionally, the places
we don't want RBE (our private infra) do not have access to RBE, so if
they somehow tried to use it they would fail.

This simplifies the logic, and should re-enable RBE again
2023-06-30 10:52:17 -07:00
John Howard 33bc9615c7
infra: allow better proxy override (#4757)
See comments in code for rationale
2023-06-29 15:59:16 -07:00
jtischer-acasi 57a91d1b66
workload-env-default (#4307) 2023-01-02 18:00:34 -08:00
Pengyuan Bian 23304f4725
Use RBE when prow runs with workload identity. (#3721)
* Use RBE when prow runs with workload identity.

* update.

* update.
2022-02-26 01:59:05 -08:00
Piotr Sikora 5389ce5376
Re-enable RBE cache for CentOS. (#3173)
* Re-enable RBE (execution for Ubuntu, cache for CentOS).

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: sync .bazelrc and .bazelversion from upstream.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: Kick CI.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: disable RBE execution until we have LARGE_MACHINES.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: allow to override BAZEL_BUILD_RBE_JOBS.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: disable RBE execution in CentOS postsubmit.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: Kick CI.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: Kick CI.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2021-02-01 11:59:46 -08:00
John Howard bbbe226d06
Add prow script for centos postsubmit build (#2995)
* Add prow script for centos postsubmit build

* fix script

* do not use RBE

* Fix targets
2020-09-09 13:32:09 -07:00
shalk(xiao kun) 913032f363
fix all shellcheck for files in scripts and extension directory (#2895)
* fix all shellcheck for files in scripts and extension directory

* fix bazel opt shellcheck

* add lint-scripts-dir

* fix shellcheck in prow and tools

* revert Makefile.comon.mk

* fix shellcheck

* add lint-scripts to lint

* fix lint ci
2020-07-09 08:38:24 -07:00
Kuat ab00158a8f
Attempt to fix post-submit #2 (#2797)
* build before pushing

Signed-off-by: Kuat Yessenov <kuat@google.com>

* typo

Signed-off-by: Kuat Yessenov <kuat@google.com>
2020-04-09 11:37:57 -07:00
Kuat 2a56e063e2
disable RBE for real (#2796)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2020-04-08 21:56:49 -07:00
Piotr Sikora 49a3874830
Re-enable RBE (cache only). (#2708)
* Re-enable RBE.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: use only RBE cache.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: Kick CI.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2020-02-21 18:56:30 -08:00
Kuat f6ad783f5a bump SHA (#2633)
* bump SHA

Signed-off-by: Kuat Yessenov <kuat@google.com>

* update workspace

Signed-off-by: Kuat Yessenov <kuat@google.com>

* no RBE

Signed-off-by: Kuat Yessenov <kuat@google.com>
2020-01-24 18:22:25 -08:00
Travis Clarke f08992a94f fix bazel calls when using local envoy and --override_repository (#2578) 2019-11-21 16:48:23 -08:00
Travis Clarke 66a732c563 Allow ENVOY_SHA to be the same as one defined in WORKSPACE (#2556) 2019-11-12 22:47:52 -08:00
Travis Clarke 1cd2612413 Enable envoy repo override w/ ENVOY_REPOSITORY, ENVOY_SHA, ENVOY_PREFIX (#2555) 2019-11-12 21:02:52 -08:00
Piotr Sikora 676e009701 Disable RBE in postsubmit until docker-credential-gcloud is fixed. (#2518)
Fixes istio/istio#18633.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-11-05 09:39:44 -08:00
Piotr Sikora bd3c716430 Use RBE in Prow jobs. (#2509)
Fixes istio/test-infra#2013.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-11-02 23:35:22 -07:00
Piotr Sikora 3325b27ae4 Add Prow presubmit verifying that the release scripts work. (#2491)
* Add Prow presubmit verifying that the release scripts work.

This was removed in #2475, while retiring CircleCI jobs,
and it backfired 3 commits later...

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* review: git add prow/proxy-presubmit-release.sh...

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-10-25 15:35:57 -07:00