-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): modify default profile after snap is built
Signed-off-by: Jason C. Nucciarone <[email protected]>
- Loading branch information
1 parent
b5a3530
commit 2feb5e9
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |