Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Pengyuan Bian f03e3302cb Update release binary script (#2587)
* update release binary script

* add -p

* word

* oops
2019-11-27 14:07:41 -08:00
Pengyuan Bian d2fc199df1 Add option to skip pushing docker image in release-binary (#2576)
* add option to release-binary to skip pushing docker image

* add more comment and address comment

* fix

* add env variable definition
2019-11-27 11:26:41 -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
Kuat e40fdc350c fix bash script (#2495)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2019-10-28 15:49:34 -07:00
Kuat 29c0205d89 ci: add docker push postsubmit (#2480)
* ci: add docker push postsubmit

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

* i hate bash

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

* i hate bash

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

* buildifier

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

* add bionic

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

* add default build config

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

* i hate bash

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

* i hate bash

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

* update build scripts

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

* update build scripts

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

* review feedback

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

* update script

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

* build separately

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

* review

Signed-off-by: Kuat Yessenov <kuat@google.com>
2019-10-25 17:55:57 -07:00
Kuat 854416fd1f Update release-binary.sh (#2485) 2019-10-23 14:02:43 -07:00
Kuat 595991b22c initial hermetic docker build rules (#2460)
* initial docker rules

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

* pin docker base

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

* remove silly check

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

* fix workspace

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

* review feedback

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

* typo

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

* review feedback

Signed-off-by: Kuat Yessenov <kuat@google.com>
2019-10-21 16:56:19 -07:00
Piotr Sikora 3db215daba Update Clang and libc++ to version 9.0. (#2478)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-10-18 20:59:35 -07:00
Piotr Sikora ff0a139708 Publish release binary with symbols and AddressSanitizer. (#2451)
Note: libc++ is dynamically linked in this build.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-10-09 23:31:47 -07:00
Piotr Sikora bc1af60a1e Always link against libc++. (#2357)
* Always link against libc++.

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

* review: don't use libc++ with TSan until upstream is fixed.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-14 17:54:47 -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 1aa0ee6515 Properly export PATH, CC and CXX variables to Bazel. (#2347)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-07 14:41:35 -07:00
Piotr Sikora 6f000a8c25 Stop publishing release binaries as debug binaries. (#2344)
* Stop publishing release binaries as debug binaries.

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

* review: use $(bazel info output_path).

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-07 03:47:36 -07:00
Maria Skidanova 909f109328 Copy data to /home/bootstrap (#2326)
* fixing postsubmit

* fix post
2019-07-26 12:42:02 -07:00
Maria Skidanova 40610ea3d2 fixing postsubmit (#2324) 2019-07-25 11:10:01 -07:00
Piotr Sikora 3642c2a818 build: update clang and clang-format to version 8.0.0. (#2296)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-06-27 21:39:41 -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
Martin Taillefer ac78dc0193 Import common files into this repo. (#2251) 2019-05-31 09:59:18 -07:00