Commit Graph

55 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 5ae7492fb3
build: drop CentOS 7 builds (#4758) 2023-07-03 12:30:25 -07: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
John Howard ec37c16cbf
build: remove debian and docker artifacts (#3981)
* Remove redundant istio-artifacts debian publishing

* Cleanup all debian and docker image publishing

* fix some issues
2022-08-01 16:44:11 -07:00
jacob-delgado a2348be92f
Pass shellcheck 0.8 linter (#3773) 2022-03-15 13:40:44 -07: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
Chi Zhang 70a030877f
Fix release postsubmit since we moved to workload identity and are not using GOOGLE_APPLICATION_CREDENTIALS anymore (#3594) 2021-11-19 00:50:36 -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
Pengyuan Bian 1c58bf6dcd
Make test framework usable for external repo (#3020)
* make test framework usable for external repo

* lint

* fix

* update

* lint

* rewording
2020-09-21 13:38:04 -07: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
John Howard 807b022d27
Initial centos build (#2865)
* Add support for CentOS 7 builds

* filter wasm tests

* trace logs

* l

* use libstdc++

* disable ipv6

* add debug

* comment
2020-08-24 23:57:14 -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
Pengyuan Bian b6b1a8b34a
Remove wasm binary file (#2726)
* remove wasm file

* identation

* update target name to check_wasm

* add .wasm to git ignore
2020-02-26 21:10:58 -08: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
Pengyuan Bian becda9ded9 Check generated wasm file at presubmit (#2621)
* wasm file gen

* build and push

* clean up

* add check option

* update prow script mode

* update prow script

* update

* add a make target

* fix

* update wasm gen script

* generate stats plugin wasm

* clean up

* fix log
2020-01-10 12:28: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
Lizan Zhou b9e80d65c6 ci: enable RBE in postfix again (#2571)
* ci: build docker image in presubmit

Signed-off-by: Lizan Zhou <lizan@tetrate.io>

* try enable RBE in post submit again

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
2019-11-15 22:14:31 -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
Travis Clarke 43a3a75e32 Expose GCS_BUILD_BUCKET and GCS_ARTIFACTS_BUCKET as variables (#2483) 2019-10-23 13:01:43 -07:00
Piotr Sikora 96874db109 Run go tests with sanitizers. (#2469)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-10-18 00:32:54 -07:00
Pengyuan Bian a8723bc94d Record SD metric and add an integration test (#2359)
* metric record and integration test

* make test run

* make circle pass

* update go path

* try fix prow

* update sd filter and test

* clean

* remove direction from stackdriver config

* cleanup comment

* address comment

* fix build

* recover fake sd server

* add test prefix to field name

* update test config
2019-09-13 15:43:03 -07:00
Piotr Sikora 664f73876b Remove hardcoded defaults from the release scripts. (#2353)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-09 15:03:49 -07:00
Piotr Sikora 6e57046fb7 Test the release scripts. (#2352)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-09 12:56:50 -07:00
Piotr Sikora 32bda2d1a9 Revert "using sha instraf of git_sha (#2338)" (#2343)
This reverts commit 41943e54ea.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-07 04:53:35 -07:00
Maria Skidanova 41943e54ea using sha instraf of git_sha (#2338) 2019-08-06 18:27:35 -07:00
mandarjog 25c81550a1 Fix missing GIT_SHA from post submit (#2337) 2019-08-06 10:27:45 -07:00
Maria Skidanova 7cc1bbc08d Adding gcloud auth to fix the test (#2334)
* Adding gcloud

* gcloud
2019-08-05 16:33:45 -07:00
mandarjog 2c1703f12f Add prometheus stats filter (#2331)
* initial commit

* Add common as a dep

* add common context

* WIP3

* WIP5

* WIP7

* WIP3

* unblock client config

* write mapper

* add mapper

* added all 4 http metrics

* fix fast cache key

* Temporarily disable test

* enable common test

* review comments

* add explicit initialization to mappings

* more review comments

* more comments2

* make cache return reference instead of a pointer

* remove copy

* WIP direct mapping

* more direct code

* more simplification

* refactor common, and StatsGen

* add httbin backend for testing, add better logging

* fix test namespace

* prepare to add custom hash

* add trivial local httpbin impl for testing

* which to absl:hashValue

* add missing test file

* fix nits

* add license header

* fix function name

* set max cache size

* make istio_dimensions_ a member of rootContext. The mappings are overwritten before evaluation

* elimiate Node abstraction from NodeInfoCache

* try V4 only testing for prow

* Fix getMetadataStruct return values
2019-08-05 15:50:45 -07:00
Maria Skidanova 00bd27fad4 changing tests for pod ustil (#2310) 2019-07-16 10:53:16 -07:00
Maria Skidanova db813006e1 fixing presubmit proxy test (#2309) 2019-07-15 15:42:16 -07:00
Piotr Sikora 6f1a58c33c Limit resource usage on Prow. (#2289)
While there, merge BAZEL_TEST_ARGS into BAZEL_BUILD_ARGS.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-06-25 16:16:50 -07:00
Piotr Sikora bfc559d649 Fix checks on master. (#2287)
Broken in #2251.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-06-24 17:11:50 -07:00
Martin Taillefer ac78dc0193 Import common files into this repo. (#2251) 2019-05-31 09:59:18 -07:00
Krishna Pagadala 32e134a49f add proxy postsubmit periodic (#2025) 2018-11-07 08:57:06 -08:00
Piotr Sikora 4b65248952 Fix license headers and check for them in CircleCI. (#1820)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2018-06-18 22:24:55 -07:00
Sebastien Vas 3c2bb0ee40 Use a bazel.rc for build (#1350)
Automatic merge from submit-queue.

Use a bazel.rc for build

**What this PR does / why we need it**:
bazel tends to use a lot of memory. Trying to bring it down.

```release-note
```
2018-03-30 13:30:06 -07:00
Lizan Zhou 7016be0b6d Update envoy to 07c2bf9 (#1176)
Automatic merge from submit-queue.

Update envoy to 07c2bf9

**What this PR does / why we need it**:
Update envoy to 07c2bf971c

- Use AsyncClientFactory in gRPC transport.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
2018-03-08 18:43:36 -08:00
Nathan Mittler 007f47d36f Remove unused Dockerfiles and scripts (#1131)
The istio/istio Dockerfiles no longer use the Dockerfiles from
this project. The iptables scripts have been moved to istio/istio
as well.

Fixes #1129
2018-03-01 14:20:03 -08:00
Wayne Zhang 89bd4f3e9c Split presubmit tests (#1148)
Automatic merge from submit-queue.

Split presubmit tests

**What this PR does / why we need it**:

Current presubmit test takes more than 1 hour.   Split it into 3 and run them parallel.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
None
```
2018-02-21 13:31:41 -08:00
Lizan Zhou d472bd9f4e Update envoy to e2117cb (#1111)
Automatic merge from submit-queue.

Update envoy to e2117cb

**What this PR does / why we need it**:
Update Envoy to e2117cbf1f

Align with https://github.com/envoyproxy/envoy/pull/2386

**Release note**:
```release-note
None
```
2018-02-14 17:56:52 -08:00