-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multipass cannot connect to /run/multipass_socket in GitHub Actions ubuntu-latest VM #1075
Comments
Hi @sirredbeard, It sounds to me |
The solution to this problem is to use the Snapcraft Docker container instead of the raw Ubuntu VM on GitHub actions. Snapcraft, multipass, and everything work fine in that managed container. |
Thanks for letting us know that you found a solution. We'll keep it in mind if someone else runs up against this issue in the future. |
sorry for posting in a closed issue, but what if the docker container is not good enough? |
@LyzardKing that doesn't seem like a Multipass issue? |
It would be nice if this someone would work with the Azure Dev Ops team to get this working. |
I am attempting to automate the building and publishing of a snap to the Snap store in the ubuntu-latest VM in GitHub Actions.
Snapcraft relies on multipass for building snaps. Invoking multipass fails on the ubuntu-latest VM on GitHub Actions with the following errors:
I have attempted the following remediation:
sudo chown root:root /
to my workflowsudo usermod -aG sudo $USER
sudo snap start multipass
before invokedsudo chown $USER:$USER /run/multipass_socket
but this fails without asudo touch /run/multipass_socket
because it can never find/run/multipass_socket
To duplicate:
Use case:
Ubuntu is the primary Linux distro on GitHub actions and comes with snapd pre-installed. Snaps are an excellent way to handle dependencies when building with GitHub Actions. It would be useful to be able to build snaps on the same platform. GitHub Actions support would be particularly useful for pushing new releases from GitHub to the Snap store.
The text was updated successfully, but these errors were encountered: