Mike Danese
59e2a09549
Update bazel to 2.2.0
2020-03-24 13:04:39 -07:00
Christian Simon
24d105995d
Fix broken SELinux detection
...
The upgrade of dependencies in #78187 introduced a regression in
detecting if SELinux is enabled or not. As the library requires
the golang build tag `selinux` to be enabled after that version update.
Fixes bug report #83679
2019-12-07 16:54:29 +00:00
Christoph Blecker
45bc9a77a6
Use --stamp flag in bazel builds
2019-10-18 13:38:55 -07:00
Davanum Srinivas
3b949f2a43
Add comments as to why we force python2
2019-07-09 16:33:46 -04:00
Davanum Srinivas
c7137aeda6
build_defs/pkg/make_deb.py needs python2
...
Force us to use python2 especially for scenarios where both python2 and
3 are both installed as `make bazel-release` fails currently.
Change-Id: I70bc45909ca87e5cf7ccdbddf60740a8a3e7e58b
2019-07-04 12:22:04 -04:00
Erick Fejta
747545c14b
Create tars locally
2019-05-28 10:55:08 -07:00
Erick Fejta
ffaaa90cc6
Add --config=ci for bazel
2019-04-29 14:03:37 -07:00
Erick Fejta
8f1d45f750
Add --config=remote and --config=remote-cache modes for bazel
2019-04-19 06:50:40 +00:00
Jeff Grafton
0cd986d364
Add config modes to .bazelrc for crossbuilding
2019-02-22 18:50:21 -08:00
Jeff Grafton
e34a0619ea
Only build tests with bazel test --config=unit
2019-01-08 14:47:32 -08:00
Mike Danese
6b940fd5d4
bzl: build --config unit should build with race enabled
...
This allows preheating unit test runs with:
bazel build -k --config unit -- //... -//vendor/...
2018-04-17 07:36:36 -07:00
Mike Danese
efa63b7a58
bzl: use --local_test_jobs
...
We originally seperated build and test so that only 4 integration tests
would be run at a time, but we didn't want to slow down build, however
we didn't know --local_test_jobs existed. This achieves the same result
but more efficiently.
2018-02-20 10:57:40 -08:00
Mike Danese
d6f0e77fea
bzl: make integration tests actually work
2018-02-05 15:08:52 -08:00
Jeff Grafton
6515ddce63
bazel cleanup: remove --incompatible workaround flags
2017-10-18 16:39:37 -07:00
Matt Liggett
67ca7a53b5
query --incompatible_comprehension_variables_do_not_leak=false
...
Also set this flag for `bazel query`
See #52677
2017-10-09 10:47:45 -07:00
Jeff Grafton
0dbff10fee
bazel: set --incompatible_disallow_set_constructor=false to fix breakage
2017-09-28 09:37:46 -07:00
Joe Finney
d4676b6753
Enable go race detection for bazel tests.
...
There are a couple tests that need to run without race detection
enabled. See issue 39649 for details.
2017-09-20 10:33:34 -07:00
Jeff Grafton
59906e2948
bazel: set --incompatible_comprehension_variables_do_not_leak=false
2017-09-18 16:55:45 -07:00
Jeff Grafton
9a7ffbb2ea
Use --sandbox_fake_username with bazel build
2017-07-31 13:01:40 -07:00
Jeff Grafton
122499621b
Bazel: mount tmpfs on /tmp
2017-05-26 17:02:18 -07:00
Mike Danese
4bf2ef646f
move build related files out of the root directory
2017-05-15 15:53:54 -07:00