Skip to content

Commit f97897e

Browse files
Changes:
- bump finch-core again so that we revert back to finch-daemon 0.21 - update AL tests workflow to overwrite nerdctl version in CI Signed-off-by: Swapnanil Gupta <swpnlg@amazon.com>
1 parent 22c6347 commit f97897e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/e2e-linux.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
sudo systemctl daemon-reload
8787
sudo rm -rf /etc/finch
8888
sudo rm -rf /var/lib/finch
89+
sudo rm -rf /var/lib/nerdctl
8990
sudo rm -rf /var/lib/containerd
9091
sudo rm -rf /var/soci-snapshotter
9192
sudo rm -rf ./_output
@@ -99,6 +100,18 @@ jobs:
99100
- name: Install Finch
100101
run: |
101102
sudo rpm -i ./_output/packages/$(ls -t ./_output/packages/ | grep runfinch-finch | head -1)
103+
104+
# TODO: remove this once nerdctl v2.2.1 is released in AL
105+
ARCH=$(uname -m)
106+
case $ARCH in
107+
x86_64) NERDCTL_ARCH="amd64" ;;
108+
aarch64) NERDCTL_ARCH="arm64" ;;
109+
esac
110+
wget "https://github.com/containerd/nerdctl/releases/download/v2.2.1/nerdctl-2.2.1-linux-${NERDCTL_ARCH}.tar.gz"
111+
sudo tar Cxzvf /usr/local/bin nerdctl-2.2.1-linux-${NERDCTL_ARCH}.tar.gz
112+
rm nerdctl-2.2.1-linux-${NERDCTL_ARCH}.tar.gz
113+
sudo nerdctl --version
114+
102115
sudo systemctl daemon-reload
103116
sudo systemctl restart containerd.service
104117
sudo systemctl restart finch.socket

0 commit comments

Comments
 (0)