zuul-jobs/roles/ensure-bazelisk/defaults/main.yaml
James E. Blair d0591ad98f Add ensure-bazelisk role
This adds a role which installs bazelisk if it is not already
present.  It also adds a test job which exercises the role; the
job will be run on any changes to the new role.

Change-Id: I69b28b58338b46ec3fea696f9d97be4271ed6ae4
2020-02-21 06:55:44 -06:00

7 lines
313 B
YAML

bazelisk_version: v1.3.0
bazelisk_arch: linux-amd64
bazelisk_url: "https://github.com/bazelbuild/bazelisk/releases/download/{{ bazelisk_version }}/bazelisk-{{ bazelisk_arch }}"
bazelisk_executable: bazelisk
# If we have to download it, store it here:
bazelisk_target: "{{ ansible_user_dir }}/.local/bin/bazelisk"