Skip to content

Commit

Permalink
Add script to download latest installer (#322)
Browse files Browse the repository at this point in the history
Signed-off-by: ArthurSens <arthursens2005@gmail.com>

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
  • Loading branch information
ArthurSens authored Sep 20, 2022
1 parent 38c307d commit b626341
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ diff
!monitoring-satellite/manifests/kube-prometheus-rules/*
!monitoring-satellite/manifests/crds/*

*.tar.gz
*.tar.gz*
obs-installer
9 changes: 9 additions & 0 deletions hack/download-installer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

curl -s https://api.github.com/repos/gitpod-io/observability/releases/latest \
| grep "browser_download_url.*linux_amd64.tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
| xargs curl -LO

tar -xvf obs-installer*.tar.gz

0 comments on commit b626341

Please sign in to comment.