Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Fix download url for kubernetes-test
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
  • Loading branch information
Adam Stokes committed Sep 3, 2020
1 parent 8660128 commit 11465b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snap/build-scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ if [ -z "$KUBE_SNAP_BINS" ]; then
(cd $KUBE_SNAP_BINS
for app in $apps; do
if [ "$app" = "kubernetes-test" ]; then
echo "Fetching $app $KUBE_VERSION"
echo "Fetching https://dl.k8s.io/$KUBE_VERSION/$app-linux-$KUBE_ARCH.tar.gz"
curl -LO \
https://dl.k8s.io/${KUBE_VERSION}/${app}.tar.gz
if ! file ${app}.tar.gz 2>&1 | grep -q 'gzip'; then
https://dl.k8s.io/${KUBE_VERSION}/${app}-linux-${KUBE_ARCH}.tar.gz
if ! file ${app}-linux-${KUBE_ARCH}.tar.gz 2>&1 | grep -q 'gzip'; then
echo "${app}.tar.gz is not a gzip archive"
exit 1
fi
Expand Down

0 comments on commit 11465b2

Please sign in to comment.