You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI: Add amd64 to NixCI testinfra/build-ami (#2193)
* chore: Rename developmnet-{arm,x86}.vars.pkr.hcl to be {arm,amd}64 instead
This way it matches the naming scheme used in packer_template and all
throughout ansible files.
* nix/build-ami: Make arch agnostic (default to arm64)
Make this package arch agnostic so we can use it in CI and avoid
duplicating AMI builds all over the place (later). Next commit will make
arch a required arg but this way we get a smaller diff.
* testinfra/test_ami_nix: Make arch agnostic
Will be building x86_64 AMIs in CI in a following commit and thus will
test them so need be arch agnostic.
* gha/build-ami: Make arch agnostic
Lets make this action support both arches equally which means no more
defaults. I decided to swap arch for packer_template because it makes
for a better API. I could have parsed the arch from the packer_template
file name but I like doing it this way instead better.
Note: I changes testinfra-ami-builds's matrix definition slightly. I
dropped include in favor of adding another column/variable to the mix.
Include is a little weird to think about how sometimes it applies
partially vs full while adding a new variable to the matrix is always
just the cartesian product which is what we want here anyway.
* testinfra: Test x86_64 AMI builds
This way we avoid surprised post merge when running `Release AMI Nix`
workflow against both arches.
* Bump PG versions
0 commit comments