Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
Run bazel once to so that it performs post-install extraction (saves …
Browse files Browse the repository at this point in the history
…~10 seconds on each shard)

Reviewers: naphat

Reviewed By: naphat

Subscribers: changesbot, kylec

Differential Revision: https://tails.corp.dropbox.com/D223418
  • Loading branch information
Anup Chenthamarakshan committed Aug 25, 2016
1 parent eb6b796 commit 7067ff8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changes/utils/bazel_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# apt-get update, and try again if it fails first time
sudo apt-get -y update || sudo apt-get -y update
sudo apt-get install -y --force-yes %(bazel_apt_pkgs)s
/usr/bin/bazel --nomaster_blazerc --blazerc=/dev/null --batch version
""".strip()

# We run setup again because changes does not run setup before collecting tests, but we need bazel
Expand Down
2 changes: 2 additions & 0 deletions tests/changes/models/test_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def test_autogenerated_commands(self, get_config):
# apt-get update, and try again if it fails first time
sudo apt-get -y update || sudo apt-get -y update
sudo apt-get install -y --force-yes bazel
/usr/bin/bazel --nomaster_blazerc --blazerc=/dev/null --batch version
""".strip()

sync_encap_expected = """
Expand Down

0 comments on commit 7067ff8

Please sign in to comment.