summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-08-19 15:52:15 -0700
committerGitHub <noreply@github.com>2025-08-19 15:52:15 -0700
commit7022c79521d7db45f6799f6ac1848f7b2ca27a46 (patch)
treebde6e8f910faf7956cf9d1f772901ed117025623
parentf0acd0255898d442c183bdfe462874f4f3f7d8c0 (diff)
parentb4833c83cc2ff974cbac40f16e36d399f66ef759 (diff)
ci: workaround snap builder issues (#8290)
Workaround produced by Namespace support. Thanks!
-rw-r--r--.github/workflows/test.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c00816b38..8ba47a99a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -426,6 +426,11 @@ jobs:
_LXD_SNAP_DEVCGROUP_CONFIG="/var/lib/snapd/cgroup/snap.lxd.device"
sudo mkdir -p /var/lib/snapd/cgroup
echo 'self-managed=true' | sudo tee "${_LXD_SNAP_DEVCGROUP_CONFIG}"
+ # Workaround from a change introduced between 8.10.2 and 8.11.1 where the
+ # user runtime directory was changed.
+ - run: |
+ sudo mkdir /run/user/1001
+ sudo chown 1001 /run/user/1001
- uses: snapcore/action-build@3bdaa03e1ba6bf59a65f84a751d943d549a54e79 # v1.3.0
with:
path: dist