Skip to content

Commit

Permalink
Branch-Off: Improve process to get EC2 AMIs updated on time
Browse files Browse the repository at this point in the history
By contacting Amine a week earlier. Long term we should replace Amine
by a script.

Related: #56
  • Loading branch information
mweinelt committed Mar 6, 2023
1 parent e7b617b commit f8dd680
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/Branch-Off.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,15 @@ The following steps should be done after the channels have become available on [

1. Give the [Marketing team](https://matrix.to/#/#marketing:nixos.org) a heads-up about the upcoming release

1. Get in contact with [Amine Chikhaoui](https://github.com/AmineChikhaoui) on the infrastructure room on Matrix, so
they can get the AMIs updated in time for the release.

1. They will need to run [`create-amis.sh`](https://github.com/NixOS/nixpkgs/blob/master/nixos/maintainers/scripts/ec2/create-amis.sh`),
which requires write permissions to the S3 bucket.
1. Create PR adding it to NixOS configuration. Examples:
- [22.11](https://github.com/NixOS/nixpkgs/pull/204014)
- [20.09](https://github.com/NixOS/nixpkgs/pull/101720)
1. Update the ZHF issue, that now that the branch-off has been performed, fixes have to be backported.
Examples: [22.05](https://github.com/NixOS/nixpkgs/issues/172160#issuecomment-1135112918)
2 changes: 1 addition & 1 deletion src/Final-Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
nix-shell -p "python3.withPackages (p: [ p.lxml p.requests p.pytest ])" -p cdrkit osinfo-db-tools gettext --run "make check"
```

1. Update AMI images
1. Make sure the AMI images have been updated

1. Someone with s3 bucket permssions will need to run `https://github.com/NixOS/nixpkgs/blob/master/nixos/maintainers/scripts/ec2/create-amis.sh` (usually AmineChikhaoui - just ping them in the infrastructure matrix room).

Expand Down

0 comments on commit f8dd680

Please sign in to comment.