Commit Graph

18 Commits

Author SHA1 Message Date
Martin Taillefer d5a84f4eac
Enable all linters on this repo. (#1077)
* Enable all linters on this repo.

- Fix a few linting errors.
2019-09-09 10:31:28 -07:00
Martin Taillefer 1c58b135ae
Update common files. (#1055)
- Fix some broken dependency tracking.

- Remove a superfluous proto import to get rid of a warning.

- Explicitly select an older build-tools container version, since
the current one has some problems building the protos.
2019-08-26 09:57:37 -07:00
Martin Taillefer 9dc74657c5
Update common files. (#1050)
This introduces a new protoc compiler, which affects the python code
gen a bit.
2019-08-21 19:43:58 -07:00
Martin Taillefer 502840cb63
Update the common files. (#1020) 2019-08-06 07:54:02 -07:00
Martin Taillefer 875defe302
Update common files. (#950) 2019-06-17 09:35:24 -07:00
Martin Taillefer e349b364e0
Import common files into this repo (#935)
- Delete circleci config as its completely redundant with what prow is doing.

- Delete other cruft.
2019-05-30 20:36:13 -07:00
Jeff Mendoza 4ea7534227 Setup CI to test for incompatible changes against 1.0 and 1.1 (#707)
* Test for incompatible changes against existing releases.

Add Makefile target to test curent protos against proto.lock files
from previous releases.

* Review comments.
2019-03-12 11:01:35 -07:00
Michal Rostecki 4eeb69c9eb bazel: Allow to distdir all dependencies (#702)
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-14 08:17:04 -08:00
Jeff Mendoza d2dcf0047f Add prototool for linting, precommit, Circle, Prow. (#685) 2018-10-31 17:07:12 -07:00
Jeff Mendoza 011906d92f Add Protolock. (#675)
* Add Protolock.

Move the protoc docker files to tools/protoc. Add docker files for
protolock image. Update Makefile precommit hook and prow presubmit
check to run protolock.

* Add combined image to be used on CircleCI

* Update proto.lock for policy_check_fail_open in mesh config.

* Updade circle config.
2018-10-30 20:34:10 -07:00
Douglas Reid 6a051571ac
Switch to docker-based generation for pb.gos and docs. (#399) 2018-03-12 14:59:25 -07:00
Douglas Reid e8d85c7472 Fix build script for generation (#396)
* Fix generation script

* resolve conflicts

* Pin gofmt and update scripts

* Revert "Pin gofmt and update scripts"

This reverts commit aa0a0787e9.

* Attempting to fix circleci vendor issue

* Living dangerously

* Living dangerously 2

* Living dangerously 3

* fixing protoc issue

* update circleci to go1.10
2018-02-28 19:45:54 -08:00
Shriram Rajagopalan 0a387cd5a5
Circleci tweaks and remove unnecessary bazel build in presubmit (#287)
* circleci config

* nits

* updates

* no bazel build

* test

* undo test
2018-01-08 18:03:31 -05:00
Douglas Reid 881baa18b3
Install protoc if not found on system (#279)
* Echo out protoc version

* Add protoc install bits to Makefile

* Get at least protoc 3.5

* Remove problematic bazel conflict files

* don't obscure the copying of generated files

* Attempt to debug differences

* Update generated proto files to match changes here
2018-01-02 15:15:12 -08:00
Douglas Reid b08011c721
Add Makefile for mixer/v1 proto generation (#277)
This PR removes the mixer/v1 bazel code for protoc-based generation, replacing it that logic with a Makefile.

Notes:

- generate-protos.sh is updated to call make targets
- all BUILD files were rewritten with gazelle to supply default targets around the generated files
- each of the .proto files is touched, as it is regenerated as part of this PR
2017-12-20 19:17:05 -08:00
Kuat 48214571cf
Remove redundant file (#255)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2017-11-21 22:01:29 -08:00
Zack Butcher 93fc167380
add a pre-commit script that generates pb.go files from our protos (#250) 2017-11-21 10:44:36 -08:00
Jason Young 4db1d092a4
Add scripts to auto-generate protobuf golang code (#233)
This is mostly copied over from istio.io/istio/mixer/ with tweaks to
adjust the paths so that *.pb.go files appears alongside the *.proto
files.
2017-11-13 08:53:44 -08:00