mirror of
https://github.com/actions/runner-images.git
synced 2026-01-04 01:03:18 +08:00
[ubuntu] Rename build scripts (#8866)
* [ubuntu] Rename build scripts * [ubuntu] Change reboot to inline shell * [ubuntu] Move disk space validation to pester tests * [ubuntu] Rename helper and tests files * [ubuntu] Changes to cleanup, post-deployment and r scripts
This commit is contained in:
committed by
GitHub
parent
410fd620be
commit
1bd9214f41
15
images/ubuntu/scripts/build/install-bazel.sh
Normal file
15
images/ubuntu/scripts/build/install-bazel.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash -e
|
||||
################################################################################
|
||||
## File: install-bazel.sh
|
||||
## Desc: Install Bazel and Bazelisk (A user-friendly launcher for Bazel)
|
||||
################################################################################
|
||||
|
||||
source $HELPER_SCRIPTS/install.sh
|
||||
|
||||
# Install bazelisk
|
||||
npm install -g @bazel/bazelisk
|
||||
|
||||
# run bazelisk once in order to instal /usr/local/bin/bazel binary
|
||||
sudo -u $SUDO_USER bazel version
|
||||
|
||||
invoke_tests "Tools" "Bazel"
|
||||
Reference in New Issue
Block a user