Skip to content

Commit

Permalink
👷(project) upgrade k8s tools
Browse files Browse the repository at this point in the history
Following Arnold's recent recommendations, we've upgraded k3d to the
latest 4.x release as the 5.x+ releases are not compatible with
installed `runc` version.

For more information please refer to:
- openfun/arnold#733
- k3d-io/k3d#807

test docker executor

rollback to the current ubuntu image

Use the same circle version as Arnold

Setup remote docker

Upgrade k3d/kubectl releases

restore machine executor

Restore comment
  • Loading branch information
jmaupetit committed Apr 12, 2022
1 parent 4e16ede commit 4238432
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ jobs:
- run:
name: Install the kubectl client and k3d
command: |
export KUBECTL_RELEASE="v1.20.2"
export KUBECTL_RELEASE="v1.23.5"
curl -Lo "${HOME}/bin/kubectl" "https://dl.k8s.io/release/${KUBECTL_RELEASE}/bin/linux/amd64/kubectl"
curl -Lo /tmp/kubectl.sha256 "https://dl.k8s.io/${KUBECTL_RELEASE}/bin/linux/amd64/kubectl.sha256"
echo "$(</tmp/kubectl.sha256) ${HOME}/bin/kubectl" | sha256sum --check
chmod 755 "${HOME}/bin/kubectl"
export K3D_RELEASE="v4.2.0"
curl -Lo "${HOME}/bin/k3d" "https://github.com/rancher/k3d/releases/download/${K3D_RELEASE}/k3d-linux-amd64"
curl -sL https://github.com/rancher/k3d/releases/download/${K3D_RELEASE}/sha256sum.txt | \
export K3D_RELEASE="v4.4.8"
curl -Lo "${HOME}/bin/k3d" "https://github.com/k3d-io/k3d/releases/download/${K3D_RELEASE}/k3d-linux-amd64"
curl -sL https://github.com/k3d-io/k3d/releases/download/${K3D_RELEASE}/sha256sum.txt | \
grep _dist/k3d-linux-amd64 | \
sed "s|_dist/k3d-linux-amd64|${HOME}/bin/k3d|" | \
sha256sum --check
Expand Down

0 comments on commit 4238432

Please sign in to comment.