zuul-jobs/roles/ensure-bazelisk
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
..
defaults Add ensure-bazelisk role 2020-02-21 06:55:44 -06:00
tasks Add ensure-bazelisk role 2020-02-21 06:55:44 -06:00
README.rst Add ensure-bazelisk role 2020-02-21 06:55:44 -06:00

Ensure that bazelisk is present.

If bazelisk is already installed, this role does nothing. Otherwise, it downloads bazelisk from GitHub and installs it in the user's home directory by default.

Role Variables