Specify bazelisk_targets as a list, and join the targets as space-separated in the build command. This is used in the follow-on Ie0a165cc6ffc765c03457691901a1dd41ce99d5a. While we are here, remove the build-gerrit.sh script that isn't used any more, along with the step that installs it. Also, refactor the tasks to use include_role (this is also used in the follow on). Change-Id: I4f3908e75cbbb7673135a2717f9e51f099a4860echanges/72/767272/4
parent
1858f15a8a
commit
e80893eb3d
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Note this script doesn't seem to be used by the image builds.
|
||||
# The system-config/roles/bazelisk-build role seems to be used instead.
|
||||
|
||||
set +x
|
||||
|
||||
for attempt in seq 1 3 ; do
|
||||
bazel build plugins/javamelody:javamelody-deps_deploy.jar release \
|
||||
--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-8-openjdk-amd64 \
|
||||
--javabase=@bazel_tools//tools/jdk:absolute_javabase \
|
||||
--host_javabase=@bazel_tools//tools/jdk:absolute_javabase \
|
||||
--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla \
|
||||
--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla \
|
||||
$@
|
||||
result=$?
|
||||
done
|
||||
exit $result
|
@ -1,3 +1,4 @@
|
||||
bazelisk_targets: release
|
||||
bazelisk_targets:
|
||||
- release
|
||||
bazelisk_executable: bazelisk
|
||||
zuul_work_dir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir}}"
|
||||
|
Loading…
Reference in new issue