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 offline tests on ubuntu-latest #1283

Merged
merged 3 commits into from
Jan 14, 2025
Merged

ci: fix offline tests on ubuntu-latest #1283

merged 3 commits into from
Jan 14, 2025

Conversation

woodruffw
Copy link
Member

@woodruffw woodruffw commented Jan 13, 2025

WIP.

This "fixes" the CI by effectively undoing the namespace default changes that Ubuntu made between 22.04 and 24.04. Doing this should have no security impact in practice, since we're already running with full root access on these runners.

The other option here would be to remove unshare entirely, and continue to test the offline tests without actually enforcing their offline-ness. However, I think it's good to keep this around as a backstop, at least for as long as we can 🙂

Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
@woodruffw woodruffw self-assigned this Jan 13, 2025
@woodruffw woodruffw requested a review from jku January 13, 2025 20:26
@woodruffw woodruffw marked this pull request as ready for review January 13, 2025 21:04
@woodruffw woodruffw requested a review from di January 13, 2025 21:04
@woodruffw woodruffw changed the title ci: mess around with unshare ci: fix offline tests on ubuntu-latest Jan 13, 2025
Copy link
Member

@jku jku left a comment

Choose a reason for hiding this comment

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

LG (enough) TM

@jku jku merged commit 3963b0f into main Jan 14, 2025
25 checks passed
@jku jku deleted the ww/unbrick-ci branch January 14, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants