Skip to content

Commit

Permalink
Use specific lxd version
Browse files Browse the repository at this point in the history
  • Loading branch information
kian99 committed Sep 3, 2024
1 parent 11512d7 commit d910e79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release-server-rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Fix to build rock due to regression in LXD 5.21/stable https://discourse.ubuntu.com/t/mount-root-proc-cannot-mount-proc-read-only-with-lxd-5-21-2-22f93f4-from-snap/47533
- name: Setup LXD
uses: canonical/setup-lxd@main
with:
channel: 5.21/candidate

- name: ln rockcraft.yaml
run: ln -s ./rocks/jimm.yaml ./rockcraft.yaml

- name: Build ROCK
uses: canonical/craft-actions/rockcraft-pack@1de2f7678b7ecfd491bd8ec3c2d2f73fe722c643 # Fix to build rock due to regression in LXD 5.21 https://discourse.ubuntu.com/t/mount-root-proc-cannot-mount-proc-read-only-with-lxd-5-21-2-22f93f4-from-snap/47533
uses: canonical/craft-actions/rockcraft-pack@1de2f7678b7ecfd491bd8ec3c2d2f73fe722c643 # Fix to build rock, avoid installing LXD 5.21/stable.

- name: Load ROCK into local registry
run: make load-rock
Expand Down

0 comments on commit d910e79

Please sign in to comment.