Skip to content

Commit

Permalink
fix(ci): modify default profile after snap is built
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Nucciarone <[email protected]>
  • Loading branch information
NucciTheBoss committed Jun 26, 2024
1 parent b5a3530 commit 2feb5e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ jobs:
uses: canonical/[email protected]
with:
channel: 5.21/stable
- name: Configure default LXD profile
run: |
lxc profile set default security.privileged true
lxc profile set default security.nesting true
lxc profile set default raw.apparmor 'mount fstype=nfs*, mount fstype=rpc_pipefs,'
- name: Set up gambol
run: |
wget https://github.com/NucciTheBoss/gambol/releases/download/v0.1.0-rc1/gambol_0.1.0_amd64.snap
Expand All @@ -78,7 +73,12 @@ jobs:
sudo snap connect gambol:dot-gambol
- name: Build the Slurm snap
run: |
sudo snap install snapcraft --classic
make snap
- name: Configure LXD to run a mini-HPC cluster
run: |
lxc profile set default security.privileged true
lxc profile set default security.nesting true
lxc profile set default raw.apparmor 'mount fstype=nfs*, mount fstype=rpc_pipefs,'
sudo snap install snapcraft --classic
- name: Run tests
run: make integration

0 comments on commit 2feb5e9

Please sign in to comment.