Skip to content

Commit

Permalink
Merge pull request #1342 from kian99/fix-rockcraft-ci
Browse files Browse the repository at this point in the history
Use specific lxd version when building JIMM Rock
  • Loading branch information
alesstimec authored Sep 3, 2024
2 parents 11512d7 + 769392d commit 5524b15
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release-server-rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,19 @@ 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
run: |
/usr/bin/sudo snap install --channel stable --classic rockcraft && \
rockcraft pack --verbosity trace --use-lxd
- name: Load ROCK into local registry
run: make load-rock
Expand Down

0 comments on commit 5524b15

Please sign in to comment.