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 azure nightly mkosi build #2098

Conversation

mkulke
Copy link
Collaborator

@mkulke mkulke commented Oct 8, 2024

Due to a rebase fail, the workflow attempted to use the ubuntu mkosi build. Reverted to building using nix to stay close to the documented procedure. If we opt to use the ubuntu-packaged mkosi, more testing is required and we should change it everywhere.

In the mid-term this would make sense, because currently mkosi is marked as broken in nixos-24.05 and nix-unstable. the version we have pinned in the nix flake (v17) is rather old now.

Drive-by fix: sudo is not required for mkosi images on Ubuntu 22.04

Due to a rebase fail, the workflow attempted to use the ubuntu mkosi
build. Reverted to building using nix to stay close to the documented
procedure. If we opt to use the ubuntu-packaged mkosi, more testing is
required and we should change it everywhere.

In the mid-term this makes sense, because currently mkosi is marked as
broken in nixos-24.05 and nix-unstable. the version we have pinned in
the nix flake (v17) is rather old now.

Drive-by fix: sudo is not required for mkosi images on Ubuntu 22.04

Signed-off-by: Magnus Kulke <magnuskulke@microsoft.com>
@mkulke mkulke requested a review from a team as a code owner October 8, 2024 09:14
@mkulke mkulke added CI Issues related to CI workflows provider/azure Issues related to Azure CAA provider labels Oct 8, 2024
Copy link
Member

@bpradipt bpradipt left a comment

Choose a reason for hiding this comment

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

/lgtm

@mkulke mkulke merged commit a7f3944 into confidential-containers:main Oct 9, 2024
23 checks passed
@mkulke mkulke deleted the mkulke/use-nix-mkosi-in-azure-podmv-build branch October 9, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Issues related to CI workflows provider/azure Issues related to Azure CAA provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants