This repository was archived by the owner on Mar 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ if [ -z "$KUBE_SNAP_BINS" ]; then
12
12
(cd $KUBE_SNAP_BINS
13
13
for app in $apps ; do
14
14
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 "
16
16
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
19
19
echo " ${app} .tar.gz is not a gzip archive"
20
20
exit 1
21
21
fi
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ parts:
26
26
27
27
mkdir build-temp
28
28
(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 ..
32
32
)
33
33
rm -rf build-temp
34
34
chmod +rx e2e.test
35
35
chmod +rx ginkgo
36
36
37
37
cp "$KUBE_SNAP_ROOT/kubernetes-test/ginkgo-e2e" .
38
38
39
- snapcraftctl build
39
+ snapcraftctl build
You can’t perform that action at this time.
0 commit comments