Skip to content

Commit 023aab2

Browse files
committed
factor our sonobuoy download url as variable
something similar was suggested by @berendt Signed-off-by: Matthias Büchse <[email protected]>
1 parent afa26e0 commit 023aab2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.zuul.d/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
kaas: false
3636
do_provision: false
3737
do_cleanup: true
38+
sonobuoy_tar_gz_url: >
39+
https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.57.3/sonobuoy_0.57.3_linux_amd64.tar.gz
3840
pre-run:
3941
- playbooks/pre.yaml
4042
- playbooks/pre_cloud.yaml

playbooks/pre_cloud.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
- name: Install Sonobuoy
2727
ansible.builtin.shell:
28-
curl -L https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.57.3/sonobuoy_0.57.3_linux_amd64.tar.gz | tar xz sonobuoy
28+
curl -L {{ sonobuoy_tar_gz_url | quote }} | tar xz sonobuoy
2929
args:
3030
chdir: "~/.local/bin/"
3131
creates: sonobuoy

0 commit comments

Comments
 (0)