Skip to content

Commit

Permalink
Merge pull request #7910 from Nordix/lentzi90/hold-unhold-ci-artifacts
Browse files Browse the repository at this point in the history
🌱 E2e: Unhold CI packages before installing
  • Loading branch information
k8s-ci-robot committed May 15, 2023
2 parents 783bf61 + 21a3507 commit 8d9e5c2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ if [[ "$${KUBERNETES_VERSION}" != "" ]]; then
PACKAGE_VERSION="$(apt-cache madison kubelet | grep "$${VERSION_REGEX}-" | head -n1 | cut -d '|' -f 2 | tr -d '[:space:]')"
for CI_PACKAGE in "$${PACKAGES_TO_TEST[@]}"; do
echo "* installing package: $${CI_PACKAGE} $${PACKAGE_VERSION}"
apt-mark unhold "$${CI_PACKAGE}"
apt-get install -y "$${CI_PACKAGE}=$${PACKAGE_VERSION}"
apt-mark hold "$${CI_PACKAGE}"
done
else
CI_URL="https://dl.k8s.io/ci/$${KUBERNETES_VERSION}/bin/linux/amd64"
Expand Down

0 comments on commit 8d9e5c2

Please sign in to comment.