Skip to content
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

ci: fix actions on ubuntu 24.04 runners #18

Merged
merged 1 commit into from
Dec 18, 2024
Merged

ci: fix actions on ubuntu 24.04 runners #18

merged 1 commit into from
Dec 18, 2024

Conversation

hpidcock
Copy link
Member

@hpidcock hpidcock commented Dec 17, 2024

sg doesn't seem to work with the latest noble runners (it prompts for a password), so I've replaced it with an equivalent sudo su incantation.

Other changes here are adding the testing into the build job too, as the build job is just used for PR landing.

@hpidcock hpidcock force-pushed the fix-release branch 2 times, most recently from 5b9a796 to 8bed49b Compare December 17, 2024 07:26
@@ -80,7 +81,7 @@ jobs:
if getent group snap_microk8s; then
microk8s_group=snap_microk8s
fi
sg "${microk8s_group}" <<'EOF'
$(echo sudo su $USER -G ${microk8s_group} -g $(groups | sed "s/\s/ -G /g")) <<'EOF'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix.

@hpidcock hpidcock merged commit 56a937a into master Dec 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants