Skip to content

Commit

Permalink
fix(spread-24.04): make spread work on armhf (#370)
Browse files Browse the repository at this point in the history
This fixes an error where spread tests on docker for armhf was failing
the preparation step due to getting both the arm and arm64 downloads.
  • Loading branch information
lengau authored Nov 6, 2024
1 parent 7824fd7 commit c2a9c42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ prepare: |
apt install -y curl wget
curl -s https://api.github.com/repos/canonical/chisel/releases/latest \
| awk "/browser_download_url/ && /chisel_v/ && /$arch/" \
| awk "/browser_download_url/ && /chisel_v/ && /_$arch\./" \
| cut -d : -f 2,3 \
| tr -d \" \
| xargs wget
Expand Down
8 changes: 8 additions & 0 deletions tests/spread/integration/dash/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
summary: Integration tests for dash

execute: |
rootfs="$(install-slices dash_bins)"
chroot "${rootfs}" dash -c "echo Success > /test"
test $(cat "${rootfs}/test") == "Success"

0 comments on commit c2a9c42

Please sign in to comment.