Commit Graph

77 Commits

Author SHA1 Message Date
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
John Howard 2cb35df36b
Remove unneeded check in release build (#3010)
* Remove unneeded check in release build

This blocks centos, which is intentionally passing -i and -d. I think
its reasonable to remove the check entirely rather than changing the
logic around, since passing `-i` is already explicitly opting out of the
check

* Add explicit flag

* Add centos check

* Fix shell linter

* fix flag passing

* Fix missing -c
2020-09-10 16:31:30 -07:00
Pengyuan Bian 03f81e2b10
disable shell check on bazel command arg (#3003) 2020-09-03 22:32:02 -07:00
Pengyuan Bian cd41d4a6d7
fix Wasm push script again (#3001) 2020-09-03 16:11:01 -07:00
Pengyuan Bian c405804d0b
Fix wasm push script by adding bazel build args (#2996)
* fix wasm push script by adding bazel build args

* fix push
2020-09-01 16:07:37 -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
vicentefb 29c747cd2d
Basic Auth extension implementation and integration test (#2954)
* Basic Auth extension logic and integration test draft

* Added std to stringview and some variable names:

* Fixed typos, configuration and implementation according to schema

* Addressed some comments, missing to change container logic layout

* Changed container logic layout

* Fixed lint error in basic_auth_test.go

* Addressed some of the comments, stuck on issue

* Changed logic to cover more testcases

* Addressed comments

* Included assert.h in plugin.h

* Added basic_auth targets

* Addressed comments in source and header file

Co-authored-by: Vicente Ferrara <vicenteferrara@google.com>
2020-08-20 16:51:08 -07:00
Pengyuan Bian d3460cd56a
Update check_repository script to check ENVOY_SHA in workspace file file (#2948)
* update check_repository script to check ENVOY_SHA in workspace file file

* fix

* use regex
2020-07-31 15:46:03 -07:00
John Plevyak 596a4590c4
Pre-compile the .wasm files for V8. (#2914)
* Pre-compile the .wasm files for V8.

Signed-off-by: John Plevyak <jplevyak@gmail.com>

* Update tests and upload.

Signed-off-by: John Plevyak <jplevyak@gmail.com>

* Remove unnecessary target.

Signed-off-by: John Plevyak <jplevyak@gmail.com>
2020-07-15 13:22:52 -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
Pengyuan Bian 3ce4038593
fix DST bucket (#2864) 2020-05-27 09:58:57 -07:00
Pengyuan Bian 93937b6861
Switch back envoy upstream to envoy-wasm (#2862)
* switch back to envoy wasm

* remove envoy path override in check_wasm job

* fix release build

* fix release build

* fix wasm build target

* disable rbe

* fix build and restore rbe

* clean up

* format

* add bazel config rel

* fix wasm path again

* add resource class to circle macos flow

* remove large resource class and test step
2020-05-27 07:55:55 -07:00
Kuat d665d3d02d
Remove protobuf from stats extension (#2807)
* fix dependencies

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

* finish

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

* typos

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

* reformat

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

* reset tests

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

* merge fixes

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

* wip

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

* wip

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

* wip

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

* fix

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

* fixes

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

* fixes

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

* fixes

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

* fix wasm

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

* print file sizes

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

* review

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

* fix up parsing

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

* tolerate failure

Signed-off-by: Kuat Yessenov <kuat@google.com>
2020-04-24 16:54:29 -07:00
Kuat 2b0dd1cd5c
update envoy to 1.14.1 (#2817)
* fixes to update envoy

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

* build fix

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

* fix wasm build

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

* fix local string leak

Signed-off-by: Kuat Yessenov <kuat@google.com>
2020-04-22 16:24:34 -07:00
Pengyuan Bian aead494eb4
Make wasm sdk image configurable (#2784)
* make wasm sdk image configurable

* fix

* update wasm gen script

* extract out wasm module build script to a library

* add build_wasm function

* use bazel info workspace to get workspace dir in wasm build script
2020-04-08 14:54:45 -07:00
Travis Clarke d51dfc0bb6
override image name (IMAGE_NAME) only (#2755)
* override image name (IMAGE_NAME) only

* update common-files
2020-03-06 20:05:09 -08: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
Travis Clarke 9272abc1fc
Update common-files@master (#2684) 2020-02-14 15:17:11 -08:00
John Plevyak 1d997c17e2 Merge envoy-wasm for v1.13.0. (#2631)
* Merge envoy-wasm for v1.13.0.

Signed-off-by: John Plevyak <jplevyak@gmail.com>

* Update .wasm files.

Signed-off-by: John Plevyak <jplevyak@gmail.com>

* WASM SDK v2 -> v3.

Signed-off-by: John Plevyak <jplevyak@gmail.com>

* Address comments.

Signed-off-by: John Plevyak <jplevyak@gmail.com>

* Bump bazelversion.

Signed-off-by: John Plevyak <jplevyak@gmail.com>
2020-01-24 13:53:13 -08:00
Pengyuan Bian e4df956fb6 Push generated wasm files in postsubmit (#2623)
* push generated wasm file in post submit

* rename sha256 file

* add check before push wasm file

* clean up
2020-01-14 19:08:51 -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
Pengyuan Bian f3bc4f80ec update common file (#2611)
* update common file

* add proxy build tools tag checking

* update make file

* tag checking script works, update proxy builder tag
2019-12-18 14:57:05 -08:00
Pengyuan Bian 5a66e29530 Extract service name from request host and cluster name (#2548)
* support extracing service name from request host

* service_name:port

* s/namespace_pos/name_pos

* update

* lint

* add initialization to service auth policy

* format

* use absl time

* update test

* address comment
2019-12-14 00:24:47 -08:00
Pengyuan Bian f03e3302cb Update release binary script (#2587)
* update release binary script

* add -p

* word

* oops
2019-11-27 14:07:41 -08:00