Commit Graph

28 Commits

Author SHA1 Message Date
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
Wayne Zhang 46750e3b76 move tool/bazel.rc to .bazelrc (#1998)
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
2018-10-17 16:30:45 -07:00
AdamDang 5ea85713c0 Update README.md (#1979) 2018-09-21 18:02:38 -07: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 c63d84148b Provide source version information in the binary. (#1915)
Before:

    $ bazel-bin/src/envoy/envoy --version

    bazel-bin/src/envoy/envoy  version: 0/1.8.0-dev//DEBUG

After:

    $ bazel-bin/src/envoy/envoy --version

    bazel-bin/src/envoy/envoy  version: f315a32fc7c6f727fc9645cc1ca27d4160c1d0e0/1.8.0-dev/Clean/DEBUG

Fixes #1803.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2018-08-14 11:45:14 -04:00
Kuat 0f387653d8 Route directive (#1797)
* wire through route directive

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

* fix format

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

* propagate info

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

* review

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

* implement the API

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

* manual test

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

* review

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

* fix upstream api change

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

* add a test case

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

* review, handle direct response headers

Signed-off-by: Kuat Yessenov <kuat@google.com>
2018-06-07 15:00:58 -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
Wayne Zhang 42faac24ee Strip debug info for release (#1738) 2018-05-08 15:41:18 -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
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
Lizan Zhou 8eae794f07 Bring back accidentally deleted build options in #736 (#947)
Automatic merge from submit-queue.

Bring back accidentally deleted build options in #736

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

#736 accidentally remove `-c opt` from release build and a couple of compile options, bring them back.

cc @costinm @ldemailly 

**Special notes for your reviewer**:

**Release note**:
```release-note
None
```
2018-01-24 19:37:28 -08:00
Wayne Zhang 0b01fbaf7a
Add tsan and asan (#736)
* Add tsan and asan

* remove @
2017-12-21 11:08:04 -08:00
Krishna Pagadala f5d22ffcdb add port to discovery address (#730)
Automatic merge from submit-queue.

add port to discovery address

**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 #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-12-18 13:48:51 -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 beae8964dc make control plane mTLS for vms by default (#726) 2017-12-14 11:55:16 -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
Wayne Zhang 2a3650e35b
add copyright header for tools/dev/BUILD. (#658) 2017-11-21 16:54:28 -08:00
Lizan Zhou f697267290
Link jwt-auth filter into proxy binary (#656) 2017-11-21 13:06:15 -08:00
Costin Manolache f78b0c4b63 Add conffiles to avoid overriding on upgrade (#623)
* Add conffiles to avoid overriding on upgrade

* Fix the 'x' used for debugging
2017-11-17 16:11:22 -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
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 af3525bc15 Adds debian package to CI (#475)
* Adds debian package to CI

* Enable Cloud builder
2017-09-15 09:04:35 -07:00
Laurent Demailly 07d4b5b94f remove private repo/branches (#444)
* remove private repo/branches

follow up on #404 missing (ah!) code review updates

* review comments/reverting unecessary changes
2017-08-28 21:38:26 -07:00
Laurent Demailly b5d7f8b714 bug fix on argument passing from shell to shell (#443)
missed from code review request in #404
2017-08-28 20:36:38 -07: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
Sebastien Vas 2fae2d7893 Fixes bazel.rc issues (#212)
* Fixes bazel rc issues

* Update Jenkins to latest pipeline version
2017-04-01 13:40:28 -07:00
Lizan Zhou 20c5bab707 Move .bazelrc to tools/bazel.rc (#186)
* Move .bazelrc to tools/bazel.rc

* Update Jenkinsfile with latest version of pipeline
2017-03-20 11:04:55 -07:00