Skip to content

Commit

Permalink
Merge pull request #1546 from fabriziopandini/fix-failing-test
Browse files Browse the repository at this point in the history
🐛fix-failing-test
  • Loading branch information
k8s-ci-robot authored Feb 10, 2020
2 parents fb737e7 + c2af4f3 commit d848569
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions hack/ci/ci-bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ files:
fi
${GSUTIL} version
# This test installs debian packages that are a result of the CI and release builds.
# This test installs release packages or binaries that are a result of the CI and release builds.
# It runs '... --version' commands to verify that the binaries are correctly installed
# and finally uninstalls the packages.
# For the release packages it tests all versions in the support skew.
Expand All @@ -36,7 +36,6 @@ files:
mkdir -p $CI_DIR
declare -a PACKAGES_TO_TEST=("kubectl" "kubelet" "kubeadm")
PACKAGE_EXT="deb"
declare -a CONTAINERS_TO_TEST=("kube-apiserver" "kube-controller-manager" "kube-proxy" "kube-scheduler")
CONTAINER_EXT="tar"
Expand Down Expand Up @@ -65,10 +64,13 @@ files:
CI_URL="gs://kubernetes-release-dev/ci/$CI_VERSION-bazel/bin/linux/amd64"
for CI_PACKAGE in "${PACKAGES_TO_TEST[@]}"; do
echo "* downloading package: $CI_URL/$CI_PACKAGE.$PACKAGE_EXT"
${GSUTIL} cp "$CI_URL/$CI_PACKAGE.$PACKAGE_EXT" "$CI_DIR/$CI_PACKAGE.$PACKAGE_EXT"
${SUDO} dpkg -i "$CI_DIR/$CI_PACKAGE.$PACKAGE_EXT" || echo "* ignoring expected 'dpkg -i' result"
echo "* downloading binary: $CI_URL/$CI_PACKAGE"
${GSUTIL} cp "$CI_URL/$CI_PACKAGE" "$CI_DIR/$CI_PACKAGE"
chmod +x "$CI_DIR/$CI_PACKAGE"
mv "$CI_DIR/$CI_PACKAGE" "/usr/bin/$CI_PACKAGE"
done
systemctl restart kubelet
fi
for CI_CONTAINER in "${CONTAINERS_TO_TEST[@]}"; do
Expand Down

0 comments on commit d848569

Please sign in to comment.