-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Wrap all the build steps for the rbe build into one step
- Loading branch information
Showing
2 changed files
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eufo pipefail | ||
# We want to see what's going on | ||
set -x | ||
|
||
# We want to use a pre-built Ruby version | ||
echo 'RUBY_VERSION = "jruby-9.4.2.0"' >rb/ruby_version.bzl | ||
|
||
# The NPM repository rule wants to write to the HOME directory | ||
# but that's configured for the remote build machines, so run | ||
# that repository rule first so that the subsequent remote | ||
# build runs successfully. | ||
bazel query @npm//:all | ||
|
||
# Now run the tests. The engflow build uses pinned browsers | ||
# so this should be fine | ||
bazel test --config=remote --keep_going //java/... |