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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/amazon-ec2-amis: Add NixOS 23.11 #292886

Merged
merged 3 commits into from Mar 12, 2024
Merged

Conversation

arianvp
Copy link
Member

@arianvp arianvp commented Mar 2, 2024

Description of changes

These were uploaded by https://github.com/NixOS/amis

Note that this list will stop being updated from now on. Please use https://nixos.github.io/amis/ and https://nixos.github.io/amis/images.json instead. We are working on integrating this in the https://nixos.org/ website These get updated for every channel bump.

This should be enough to get the website listing them again. But we'll work to get the website get the data from https://nixos.github.io/amis/ for 24.05

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 馃憤 reaction to pull requests you find important.

Note that this list will stop being updated from now on.
Please use https://nixos.github.io/amis/ and https://nixos.github.io/amis/images.json instead.
We are working on integrating this in the https://nixos.org/ website
These get updated for every channel bump.
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/ami-for-nixos-23-11/36860/8

@arianvp
Copy link
Member Author

arianvp commented Mar 2, 2024

This might warrant a release note. But how does that work with backports? Do I want to backport the release note too?

@zimbatm
Copy link
Member

zimbatm commented Mar 3, 2024

Yeah, that would make sense to me. People looking at the 23.11 release note want to find the AMIs.

@arianvp
Copy link
Member Author

arianvp commented Mar 5, 2024

I now added release notes to both 23.11 and 24.05. I'm not sure if this is the "right" way to do it? Should I only add the 23.11 release notes on the 23.11 release branch? Or what is etiquette here?

Copy link
Member

@zimbatm zimbatm left a comment

Choose a reason for hiding this comment

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

LGTM

@arianvp arianvp added 9.needs: port to stable A PR needs a backport to the stable release. and removed backport release-23.11 Backport PR automatically labels Mar 11, 2024
@garbas garbas merged commit 623efb9 into NixOS:master Mar 12, 2024
6 of 7 checks passed
@AleXoundOS
Copy link
Contributor

image
@arianvp, how do these 2 differ and why this PR included older version (nixos/23.11.4976.79baff8812a0-x86_64-linux) rather than newer (nixos/23.11.5060.617579a78725-x86_64-linux)?

@arianvp

This comment was marked as outdated.

@arianvp
Copy link
Member Author

arianvp commented Mar 14, 2024

Basically AMIs are constantly uploaded now for every channel bump. They differ in that the one is newer than the other.

The one on the PR is the one uploaded at the time of the PR. The amis are automatically kept up to date.

I am not gonna update amazon-ec2-amis.nix anymore.

If you want to find out the latest AMI use the website in question.

@AleXoundOS
Copy link
Contributor

@arianvp, thank you very much for the explanation. It's clear now.

@arianvp
Copy link
Member Author

arianvp commented Mar 14, 2024

I can maybe add a toggle to the website to only show the latest AMI by default.

@AleXoundOS
Copy link
Contributor

@arianvp, maybe it would be even better to put the explanation above onto the website page. I mean: when (and maybe how) NixOS AMIs get built to be published on https://nixos.github.io/amis/. Also, brief explanation of the correlation with amazon-ec2-amis.nix and its destiny can help for those who were unaware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants