Skip to content

Commit

Permalink
Merge pull request #2701 from chrischdi/pr-capv-fix-inject-v2
Browse files Browse the repository at this point in the history
🌱 test: fix inject install on bootstrap script to allow downgrades
  • Loading branch information
k8s-ci-robot authored Feb 5, 2024
2 parents e777c07 + 539d73b commit 749e1d0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@
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-get install --allow-downgrades -y "$${CI_PACKAGE}=$${PACKAGE_VERSION}"
apt-mark hold "$${CI_PACKAGE}"
done
systemctl restart kubelet
else
CI_URL="https://dl.k8s.io/ci/$${KUBERNETES_VERSION}/bin/linux/amd64"
for CI_PACKAGE in "$${PACKAGES_TO_TEST[@]}"; do
Expand Down

0 comments on commit 749e1d0

Please sign in to comment.