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

pg 15 and 16 packer/ansible/ghactions #1268

Merged
merged 51 commits into from
Oct 10, 2024
Merged

Conversation

samrose
Copy link
Contributor

@samrose samrose commented Oct 9, 2024

What kind of change does this PR introduce?

This PR is a child PR of #1266

It includes the changes to packer/ansible/gh actions to allow for a matrix build of pg versions on release.

Significant changes

This PR moves the source of truth for data about postgres major and semver back to ansible/vars.yml, which are then read at time of release in the ami-release gh action. The common-vars.nix.yml file is no longer under source control, but instead is generated duing the ci run for ami release or testinfra runs. The version is now controlled in this allows us to avoid making too many changes to our release and test tooling for AMI)

To bump the versions of postgres it is proposed to update these values that are now in anisble/vars.yml

These versions cover both release and testinfra

postgres_major:
  - "15"
  - "16"

# Full version strings for each major version
postgres_release:
  postgres15: "15.8.1.003-staging-5"
  postgres16: "16.3.1.000-staging-5"

@samrose samrose self-assigned this Oct 9, 2024
@samrose samrose changed the title Sam/15 16 ghactions pg 15 and 16 packer/ansible/ghactions Oct 9, 2024
@samrose samrose marked this pull request as ready for review October 9, 2024 17:35
@samrose samrose requested a review from a team as a code owner October 9, 2024 17:35
@samrose samrose requested a review from soedirgo October 9, 2024 19:58
@samrose samrose merged commit f10881b into sam/15-16-latest Oct 10, 2024
11 checks passed
@samrose samrose deleted the sam/15-16-ghactions branch October 10, 2024 17:01
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.

3 participants