From 2feb5e91abc1a4e959be41d12d2a7a5685224b15 Mon Sep 17 00:00:00 2001 From: "Jason C. Nucciarone" Date: Tue, 25 Jun 2024 20:23:15 -0400 Subject: [PATCH] fix(ci): modify default profile after snap is built Signed-off-by: Jason C. Nucciarone --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fa1da2d..1a5a669 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -65,11 +65,6 @@ jobs: uses: canonical/setup-lxd@v0.1.1 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