Commit Graph

100 Commits

Author SHA1 Message Date
John Howard 0c0386455b
Disable spammy logs in release (#6066)
* Disable spammy logs in release

The `debug` flag does not impact the result of the build, but it does turn on ~every logging option in bazel resulting in 200k lines of logs each run

* Update scripts/release-binary.sh

Co-authored-by: Keith Mattix II <keithmattix@microsoft.com>

---------

Co-authored-by: Keith Mattix II <keithmattix@microsoft.com>
2025-01-16 15:35:55 -05:00
zirain afcfa7519c
bump bazel (#6023)
* bump bazel to 7.1.2

* bump to 7.2.0

* revert

* bump to 7.4.1

* sync with upstream
2025-01-03 16:02:57 -05:00
zirain 6d5d324009
update envoy and fix build (#6020) 2024-12-22 08:17:45 -05:00
Kuat 24a4847dcf
Refactor metadata exchange in preparation for upstreaming (#5825)
* refactoring

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

* remove stale file

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

* merge

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

* fix test

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

* revert testdata

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

* add test

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

* fix test

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

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2024-09-24 18:28:26 -04:00
zirain 09a30d6b5f
disable extension check tool (#5581)
* disable extension check tool

* update envoy

* update

* update
2024-06-04 18:21:07 -04:00
sergii-ssh ecd8d13171
Disable extension check if envoy repo is overridden (#5243)
Change-Id: I806006bb45b226a175bc4a3cd889ece9d9551cd6
2024-01-03 17:18:06 -08:00
zirain ad3fbdf0f8
fix postsubmit job and update to latest (#5125) 2023-11-07 14:10:16 -08:00
zirain 9afce86559
update envoy with specified SHA (#5116) 2023-11-04 17:09:51 -07:00
zirain 8f83f48819
move extension check to postsubmit (#5117) 2023-11-03 08:53:46 -07:00
zirain 8ce14e25e0
fix update_envoy.sh (#5104) 2023-10-31 08:27:28 -07:00
zirain 512ed3405a
tool for checking extension build config (#5093)
* add tool for checking extension build config

* add tool for checking extension build config

* fix

* update

* lint

* lint

* fix

* add comments

* update README
2023-10-27 10:17:29 -07:00
Kuat 4cbb5e8c02
build: use libc++ and C++20 by default (#4934)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-09-06 14:34:53 -07:00
Kuat 6b5ea385f0
configure sanitized build (#4922)
* configure asan

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

* fix

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

* test

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

* fix

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

* fix

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

* fix asan

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

* fix asan

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

* test

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

* asan

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

* test

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

* update

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

* try asan again

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

* force rpath

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

* fix arm

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

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-08-31 10:52:08 -07:00
Kuat 4e22d055e1
build: fix envoy build (#4894)
* build: fix envoy build

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

* fix arm

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

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-08-16 14:43:36 -07:00
Kuat 811cce5fb4
build: remove wasm metadata exchange (#4891)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-08-11 17:53:01 -07:00
John Howard 5ae7492fb3
build: drop CentOS 7 builds (#4758) 2023-07-03 12:30:25 -07:00
John Howard b7a2ea5e9f
Disable LastFlag verification for private build (#4764) 2023-07-01 05:57:49 -07:00
Eric Van Norman 4a677c0b9a
Remove extraneous release-binary option (#4753) 2023-06-28 12:21:33 -07:00
John Howard edcc55010a
Cleanup obsolete image pushing (#4748)
Two parts:
* Cleanup DOCKER_REPOSITORY, which is strictly dead code
* Cleanup WASM_REPOSITORY, which is used to push WASM images. This has
  moved to istio-ecosystem
2023-06-27 17:04:32 -07:00
Kuat e68199ad55
fix ARM format script (#4731)
* fix ARM format script

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

* use image clang

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

* fix buildifier

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

* make manual

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

* disable wasm build unless needed

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

* fix

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

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-06-20 17:46:10 -07:00
Kuat c75682741c
fix (#4467)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-02-23 18:12:55 -08:00
Kuat f06ebdca91
move envoy BUILD top level (#4237)
Signed-off-by: Kuat Yessenov <kuat@google.com>

Signed-off-by: Kuat Yessenov <kuat@google.com>
2022-11-21 17:41:43 -08:00
Kuat 6035604061
wasm: stamp explicitly (#4177)
Signed-off-by: Kuat Yessenov <kuat@google.com>

Signed-off-by: Kuat Yessenov <kuat@google.com>
2022-11-07 15:57:11 -08:00
Kuat 73e42080f0
deps: manually update envoy (#4157)
* deps: manually update envoy

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

* add original_dst

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

Signed-off-by: Kuat Yessenov <kuat@google.com>
2022-11-03 10:23:50 -07:00
Kuat daaa9edabf
ci: save dwp files and publish asan build (#4108)
* ci: save dwp files

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

* release asan

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

Signed-off-by: Kuat Yessenov <kuat@google.com>
2022-10-14 00:32:22 -07: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
John Howard c67a01559c
Minor fix for arm64 build (#3977)
* go.mod: move go 1.18

* Add conditional for arch

* Revert "go.mod: move go 1.18"

This reverts commit d4854b9a47.

* fix wrong flag

* Debian arch suffix

* Fixup filename
2022-08-01 10:14:33 -07:00
John Howard fc265dc1b9
release: fixed missed location for `${ARCH_SUFFIX}` (#3937)
This was already on some artifacts but forgotten here
2022-07-14 09:21:34 -07:00
John Howard f5ecf56b9b
Do not hardcode arch to `k8` (#3935) 2022-07-13 17:37:05 -07:00
John Howard 100f84cbe0
release: allow publishing without check (#3933)
* release: allow publishing without check

This allows non-official Istio AMD64 CI to publish without this check.
IMO a flag that is "skip checks" means we know what we are doing, and
should be allowed to skip+publish if we explicitly specify it. This will
be needed for arm64 builds where we cannot use Xenial

* update comment
2022-07-13 09:13:51 -07:00
John Howard 4a5f2c7e62
Initial support for multi-architecture builds (#3890)
This doesn't change amd64 builds, but will allow running another job
with arm64 which will append -arm64 to each published binary.

For https://github.com/istio/istio/issues/26652#issuecomment-1155682106
2022-06-16 14:47:51 -07:00
jacob-delgado a2348be92f
Pass shellcheck 0.8 linter (#3773) 2022-03-15 13:40:44 -07:00
Pengyuan Bian de01873e4d
Fix Wasm image push postsubmit. (#3735)
* Fix Wasm image push postsubmit.

* Update scripts/release-binary.sh

Co-authored-by: Yuchen Dai <silentdai@gmail.com>

Co-authored-by: Yuchen Dai <silentdai@gmail.com>
2022-02-28 11:46:55 -08:00
Pengyuan Bian 74dc1182e2
Push Wasm extensions as OCI image at postsubmit. (#3720)
* Push Wasm extensions as Wasm OCI image.

* Remove new wasm targets from centos build.

* update.
2022-02-26 01:28:41 -08:00
Piotr Sikora 471a9895cf
Update Envoy SHA to latest with Bazel rules for V8. (#3699)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2022-02-09 06:57:58 -08:00
Pengyuan Bian 9385dadba5
Make last flag link check against the proper envoy sha. (#3676) 2022-01-25 14:23:59 -08:00
Yuchen Dai 436b34b6e7
bazel: add extensions config (#3548)
* add extensions config

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* add missing WORKSPACE

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* exclude extensions_build_config.bzl

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* move extension and contrib to public visibility

Signed-off-by: Yuchen Dai <silentdai@gmail.com>
2021-10-27 09:40:14 -07:00
Christoph Bleyer 21a53ca459
Add check to prevent proxy response flag out of sync with upstream (#3439)
* add LastFlag verification script

* use trap on exit in verify-last-flag-matches-upstream.sh

* add verify-last-flag script to the lint target

* use set -x in verify-last-flag script

* make verify-last-flag-matches-upstream.sh executable
2021-08-02 13:33:37 -07:00
Taylor Barrella f6447c8136
scripts: fix downloading clang-format (#3315)
Fixes error
xz: (stdin): File format not recognized
2021-04-28 08:34:25 -07:00
Eric Van Norman 6ece36cf65
Test update of clang (#3288) 2021-04-14 14:39:13 -07:00
Yuchen Dai e0e03fc2d4
release: split v8 build into seperate phase (#3205)
* split @com_googlesource_chromium_v8//:build into seperate step

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* address comment

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* prerun v8//:build almost everywhere

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* also push-debian.sh

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* also docker

Signed-off-by: Yuchen Dai <silentdai@gmail.com>
2021-02-22 23:33:15 -08:00
Piotr Sikora a0200c9def
Update .bazelversion and envoy.bazelrc. (#3203)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2021-02-19 14:35:07 -08:00
Eric Van Norman 7c5613eaad
Remove downloaded tar file (#3200) 2021-02-19 13:51:47 -08:00
Eric Van Norman 6c11452762
update_envoy to get latest commit from WORKSPACE REPO/ORG (#3194)
* update_envoy to get latest commit from WORKSPACE REPO/ORG

* Lint fixups
2021-02-15 14:32:11 -08:00
Nupur Garg 9efad2bf2b
Add Rbac Access Denied Policy Info in Access logs (#3100)
* Add Rbac Access Denied Policy Info in Access logs

* fix lint error

Signed-off-by: gargnupur <gargnupur@google.com>

* fix based on feedback

Signed-off-by: gargnupur <gargnupur@google.com>

* fix based on feedback

Signed-off-by: gargnupur <gargnupur@google.com>
2020-11-17 17:53:26 -08:00
Pengyuan Bian 6bc8d61310
Update envoy dep (#3070)
* update envoy dep

* Update workspace

* update PATH

* fix

* update style script
2020-11-02 11:35:27 -08:00
Pengyuan Bian 8fece7afb7
remove basic auth filter from proxy repo (#3039) 2020-10-06 12:25:21 -07:00
carolynhu cb64d6d2fc
Add Automator script to update ENVOY_SHA (#3022)
* Add Automator script to update ENVOY_SHA

* address comment

* fix quotes and add branch

* fix text_proxy

* remove release branch update

* add envoy sha commit date

* address comment
2020-09-24 10:37:59 -07: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 0e231b413b
Fix binary name for centos (#3011)
The build is green but its overwriting the ubunutu image since we didn't
properly pull the BINARY_NAME option that was added through to all
locations (and had a naming conflict). I think this should be the last
change needed but unfortunately its a bit hard to test postsubmit jobs
2020-09-10 19:39:20 -07:00