ci(validate-kubernetes): pin kube-score to v1.20.0 (current latest)
Previous v1.20.1 pin returned 404 from the releases endpoint; latest upstream tag is v1.20.0 per https://github.com/zegl/kube-score/releases/latest. Locally verified the tarball extracts cleanly to a kube-score binary + LICENSE. Also adds -f to curl so HTTP errors fail the step immediately instead of saving an HTML 404 body to disk and failing later in tar. Co-Authored-By: Nakamoto, S <[email protected]>
This commit is contained in:
@@ -74,8 +74,9 @@ jobs:
|
||||
|
||||
- name: Install kube-score
|
||||
run: |
|
||||
curl -sSL -o /tmp/kube-score.tar.gz \
|
||||
https://github.com/zegl/kube-score/releases/download/v1.20.1/kube-score_1.20.1_linux_amd64.tar.gz
|
||||
# Latest upstream as of this commit; bump as needed.
|
||||
curl -fsSL -o /tmp/kube-score.tar.gz \
|
||||
https://github.com/zegl/kube-score/releases/download/v1.20.0/kube-score_1.20.0_linux_amd64.tar.gz
|
||||
tar -xzf /tmp/kube-score.tar.gz -C /tmp
|
||||
sudo mv /tmp/kube-score /usr/local/bin/kube-score
|
||||
kube-score version
|
||||
|
||||
Reference in New Issue
Block a user