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

Commit 9d7566a

Browse files
author
Adam Stokes
committed
Fix download url for kubernetes-test
Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
1 parent 8660128 commit 9d7566a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

snap/build-scripts/build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ if [ -z "$KUBE_SNAP_BINS" ]; then
1212
(cd $KUBE_SNAP_BINS
1313
for app in $apps; do
1414
if [ "$app" = "kubernetes-test" ]; then
15-
echo "Fetching $app $KUBE_VERSION"
15+
echo "Fetching https://dl.k8s.io/$KUBE_VERSION/$app-linux-$KUBE_ARCH.tar.gz"
1616
curl -LO \
17-
https://dl.k8s.io/${KUBE_VERSION}/${app}.tar.gz
18-
if ! file ${app}.tar.gz 2>&1 | grep -q 'gzip'; then
17+
https://dl.k8s.io/${KUBE_VERSION}/${app}-linux-${KUBE_ARCH}.tar.gz
18+
if ! file ${app}-linux-${KUBE_ARCH}.tar.gz 2>&1 | grep -q 'gzip'; then
1919
echo "${app}.tar.gz is not a gzip archive"
2020
exit 1
2121
fi

snap/kubernetes-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ parts:
2626
2727
mkdir build-temp
2828
(cd build-temp
29-
tar -xf "$KUBE_SNAP_BINS/kubernetes-test.tar.gz"
30-
mv kubernetes/platforms/linux/$KUBE_ARCH/e2e.test ..
31-
mv kubernetes/platforms/linux/$KUBE_ARCH/ginkgo ..
29+
tar -xf "$KUBE_SNAP_BINS/kubernetes-test-linux-$KUBE_ARCH.tar.gz"
30+
mv kubernetes/test/bin/e2e.test ..
31+
mv kubernetes/test/bin/ginkgo ..
3232
)
3333
rm -rf build-temp
3434
chmod +rx e2e.test
3535
chmod +rx ginkgo
3636
3737
cp "$KUBE_SNAP_ROOT/kubernetes-test/ginkgo-e2e" .
3838
39-
snapcraftctl build
39+
snapcraftctl build

0 commit comments

Comments
 (0)