Commit Graph

47 Commits

Author SHA1 Message Date
Piotr Sikora 721470c71d Update to clang/libc++ 8 and Bazelisk launcher for Bazel. (#2375)
Updating both at the same time, since we don't have build images with:
a) clang/libc++ 7 and Bazelisk.
b) clang/libc++ 8 and old version of Bazel.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-20 13:51:51 -07:00
Piotr Sikora 6dedd1aa35 Fix release script check.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-05 23:48:05 +00:00
Piotr Sikora 5bda7d4f7e build: dynamically link against libc++.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-04 23:34:49 +00:00
Piotr Sikora 8730ea6a65 build: add the ability to test the release script locally.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-04 23:33:21 +00:00
Piotr Sikora b5560e1f1b build: properly export PATH, CC and CXX variables to Bazel.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-08-04 23:32:07 +00:00
Piotr Sikora 221b72d73b Update Envoy SHA to latest with deterministic hash (master). (#2108)
* Update Envoy SHA to latest with deterministic hash (master).

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

* review: use lld linker for clang-asan and clang-tsan.

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

* review: export PATH.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-02-11 16:14:24 -08:00
Piotr Sikora 54d5807104 Run buildifier on the build files and add it to "make check". (#2088)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2019-01-23 16:11:18 -08:00
Michal Rostecki 729751050a bazel: Allow to distdir all dependencies (#2034)
To use --distdir option of Bazel (which allows to use previously
fetched tarballs instead of downloading dependencies during
build), all dependencies should use http instead of git and need
to have sha256 sums specified.

Signed-off-by: Michal Rostecki <mrostecki@suse.de>
2018-11-09 09:50:01 -08:00
Piotr Sikora 4ced9e724b Update clang to 6.0 and use it for release binaries. (#1914)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2018-08-14 15:03:31 -07: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
Piotr Sikora e3f34e16b8 Install clang-format only when it's not already available. (#1821)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2018-06-18 18:30:55 -07:00
Linus Arver 84b71b8174 release-binary: add missing dash to checksum filename (#1796) 2018-05-31 11:30:29 -07:00
Wayne Zhang 6589f07722 Merge changes from branch release-0.8 (#1770)
* Update api sha (#1753)

* Release-0.8: Update envoy sha to bb6762a058 (#1759)

* Update envoy sha to bb6762a058

* update envoy sha to 12c470e666d23f1cedaea92cdae6c747d6081dfe

* fix authn/integration tasn issue

* Update_Dependencies (#1766)

* Build addition artifacts with debug symbols (#1767)

* Update_Dependencies (#1768)
2018-05-22 17:31:27 -07:00
EmilyYuan 5d3b8b33d1 Parameterize gcs destination (#1752)
set release-binary default location
2018-05-18 13:28:00 -07:00
Lizan Zhou 6eb085c639 use bazel --batch for release script (#1352)
Automatic merge from submit-queue.

use bazel --batch for release script

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

Follow up on #1223, bazel server consumes more memory while it doesn't provide benefits in CI.
This will make postsubmit more stable.

**Release note**:
```release-note
None
```
2018-03-30 16:46:43 -07:00
Lizan Zhou a352024400 Fix pre-commit to use clang 5.0 (#1222)
Automatic merge from submit-queue.

Fix pre-commit to use clang 5.0

**What this PR does / why we need it**:
Missed from #1218 

**Release note**:
```release-note
N/A
```
2018-03-21 19:06:15 -07:00
Yinjie Chen dc3f3d7f6f Update clang version and fix format. (#1218)
Automatic merge from submit-queue.

Update clang version and fix format.

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

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

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-03-20 10:56:04 -07: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
Scott Ganyo 2c87d975d5 allow script/check-style to work on MacOS (#980)
Automatic merge from submit-queue.

allow script/check-style to work on MacOS

**What this PR does / why we need it**: allows script/check-style to work on MacOS

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

**Special notes for your reviewer**: Tested on MacOS and GLinux

**Release note**:

```release-note
```
2018-02-01 15:08:05 -08:00
mattdelco 164dd584e6 Use shorter name for proxy debian files (#724)
* change bucket

* do ver in advance

* debug

* del version

* del added line

* del add-on

* retest

* shorten name

* change bucket back

* reapply original change

* add OWNERS to root of proxy
2017-12-14 11:55:35 -08:00
Krishna Pagadala 13669ce424 Revert "Remove -release in filename when doing release build of proxy (#704)" (#723)
Trying to fix post-submit failure

This reverts commit c04ec87aaf.
2017-12-12 19:04:47 -08:00
mattdelco c04ec87aaf Remove -release in filename when doing release build of proxy (#704)
* initial CB changes

* update debian

* init GCS_PATH

* del unused files

* change != to -n

* proxy trigger stuff

* only 1 step was run

* try to add stuff

* try different image

* debug

* switch back to istiobuilder

* try loose

* try again

* try ubuntu

* try ubuntu

* try istio

* log different file

* skip stdout

* more power

* bazel config

* build_proxy_artifacts.yaml

* expand

* 0.2 is now 0.3

* cleanup

* undo customizations

* del -release suffix
2017-12-06 15:17:07 -08:00
mattdelco 6e2bdec68e Allow Cloud Builder to be used instead of Jenkins (#660)
* initial CB changes

* update debian

* init GCS_PATH

* del unused files

* change != to -n

* proxy trigger stuff

* only 1 step was run

* try to add stuff

* try different image

* debug

* switch back to istiobuilder

* try loose

* try again

* try ubuntu

* try ubuntu

* try istio

* log different file

* skip stdout

* more power

* bazel config

* build_proxy_artifacts.yaml

* expand

* 0.2 is now 0.3

* cleanup

* undo customizations
2017-11-22 09:27:41 -08:00
Lizan Zhou f697267290
Link jwt-auth filter into proxy binary (#656) 2017-11-21 13:06:15 -08:00
mattdelco a050573bdb Updated build infra for monorepo and Istio 0.3 release process (#619)
* initial CB changes

* update debian

* init GCS_PATH

* del unused files

* change != to -n
2017-11-20 12:08:29 -08:00
Laurent Demailly a05c813aa0
Typo fix and missing serviceCluster setting (#579)
* Typo fix and missing serviceCluster setting

* don't build .deb with opt for now

```release-note
Don’t build with opt the proxy debug for now (flow control issue)
```

* Build -c dbg
2017-11-01 16:31:40 +00:00
Lizan Zhou 0b521718b2 build: fix build with bazel 0.6.1 (#563) 2017-10-16 17:46:04 -07:00
Sebastien Vas 5336c40262 Proper install for cloud builder (#485)
* Fix Cloud builder build to work with user releng

Proxy (Envoy) cannot be build as root. See
https://github.com/bazelbuild/bazel/issues/3786

Cloud builder does not support running a container as a user. This
changes updates cloud builder build to run the build as releng user.

* Adds bazelrc

* More performance

* Remove kms calls as we don't publish docker images

* Adds a version to istio-builder

* Defines default for ISTIO_VERSION
2017-09-25 10:30:51 -07:00
Sebastien Vas d5e195c087 Update build_proxy_release.yaml 2017-09-20 13:56:03 -07:00
Sebastien Vas b93cc6e6f8 Update release.sh 2017-09-18 20:49:17 -07:00
Sebastien Vas af3525bc15 Adds debian package to CI (#475)
* Adds debian package to CI

* Enable Cloud builder
2017-09-15 09:04:35 -07:00
Wayne Zhang b3576d7ea9 Remove envoy binary before bazel build. (#463) 2017-09-07 16:31:22 -07:00
Charles Xu b186e71395 Change docker image name to enable auto dependency update (#459) 2017-09-06 22:21:24 -04:00
Costin Manolache 081606aaf8 Add support for building a standalone deb package (#404)
* Add initial set of deb files for proxy

* Updates for the scripts

* Adding blacklist as well, make sure 22 is safe

* Use older tag

* Fix scripts

* Add copyright, fixes

* Update the scripts to use istio-proxy user, to match the 0.1 docker.

* Add the deb to the release-binary script.

* Fine tunning, testing with pilot-agent.

* Add a minimal config file, for standalone testing.

This is the same as the file generated by sidecar - the proxy deb
package can be tested separatedly from the pilot agent.

* Add comments

* Add unit tests for the iptables script

* Making the new script backward compatible with the old one

* Add the scripts to the docker image, make it possible to replace the k8s init image with the new script

* Include the new iptables script in the docker image.

Based on PR feedback, to allow testing in k8s and eventual replacement
of the current script.

* More fixes and adjustments based on testing and PR review

* Add copyright, add in-progress script for install integration testing

* End to end tests finally working

* More documentation for debug, and small fixes based on recent tests

* Cosmetic fixes
2017-08-28 15:16:36 -07:00
Kuat 1276973416 Use dockerfiles for proxy (#389) 2017-07-25 15:31:47 -07:00
Lizan Zhou 099e8a812d Fix copyright headers (#255) 2017-04-20 15:24:01 -07:00
Wayne Zhang 9a86a4547b Rename image name from proxy to envoy. (#241)
* Rename image name from proxy to envoy.

* fix docker/BUILD typo.
2017-04-11 14:44:12 -07:00
Kuat 7444da1c3c Update envoy and add c-ares (#107)
* Update envoy and add c-ares depedencies

* Update release script with debug and normal binary

* remove debug ls

* formatting
2017-02-21 17:36:10 -08:00
Sebastien Vas 84881332f5 Copies the binary instead of linking for release (#102) 2017-02-16 13:38:01 -08:00
Kuat 2f69cc985f Publish debug binaries (no release yet) (#98) 2017-02-15 14:36:06 -08:00
Sebastien Vas 366f5ae62e Creates a KEY for mixer client dep. Updates release-binary (#79)
* Updated mixer repo to use a key for commit

* release-binary skip build if file exists.
2017-02-10 11:53:45 -08:00
Wayne Zhang 21f1cb3a93 Add script to build docker image. (#77)
* Add script to build docker image.

* Add start_envoy for docker image.
2017-02-09 15:22:10 -08:00
Sebastien Vas fdac61b43e Adds Jenkinsfile and updates release-binary to create a SHA. (#71)
* Adds Jenkinsfile and update release-binary
* Update Jenkinsfile and gitignore
* Fixes typo and use normal build Node
* Uses default bazel config
* Using batch mode
* Update bazel memory settings
* Do not use Jenkins bazel env
* Set .bazelrc for postsubmit
2017-02-08 16:58:32 -08:00
Kuat 89f0fbfe5c Push tar.gz to GCS (#69)
* Push tar.gz to GCS

* Rename envoy_esp
2017-02-06 15:47:29 -08:00
Wayne Zhang eb8bfccc39 Add release binary script. (#68) 2017-02-06 12:18:42 -08:00
Qian Sun 649bad500b Add pre-commit script. (#37)
* Add pre-commit script.

* Update copyright header.
2017-01-06 16:36:27 -08:00
Wayne Zhang 64c89530ed Add check_style in presubmit test. (#23)
* Add check_style in presubmit test.

* Checks clang-format version.

* Install required clang-fromat version.

* Download the clang-format for ubuntu.

* Cache the clang-format folder.

* Use ubuntu 16.4

* Revert ubuntu version back to 14.04.

* Make sure clang-format can be run.
2016-12-28 21:40:28 -08:00