File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - develop
77 - release/*
8+ - sam/publish-gh-actions
89 paths :
910 - ' .github/workflows/ami-release-nix.yml'
1011 - ' common-nix.vars.pkr.hcl'
Original file line number Diff line number Diff line change 55 branches :
66 - develop
77 - release/*
8+ paths :
9+ - ' .github/workflows/publish-nix-pgupgrade-scripts.yml'
10+ - sam/publish-gh-actions
11+ # TODO PR remove prior to merge
12+ pull_request :
13+ branches :
14+ - sam/publish-gh-actions
815 paths :
916 - ' .github/workflows/publish-nix-pgupgrade-scripts.yml'
1017 workflow_dispatch :
4956 - name : Grab release version
5057 id : process_release_version
5158 run : |
52- VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
59+ VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
5360 VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
5461 if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
5562 VERSION=${{ inputs.postgresVersion }}
@@ -95,11 +102,13 @@ jobs:
95102 steps :
96103 - name : Checkout Repo
97104 uses : actions/checkout@v3
98-
105+
106+ - uses : DeterminateSystems/nix-installer-action@main
107+
99108 - name : Grab release version
100109 id : process_release_version
101110 run : |
102- VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
111+ VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
103112 VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
104113 if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
105114 VERSION=${{ inputs.postgresVersion }}
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ postgres_major:
1111
1212# Full version strings for each major version
1313postgres_release :
14- postgres15 : " 15.8.1.010"
15- postgres16 : " 16.3.1.016"
14+ postgres15 : " 15.8.1.010-staging "
15+ postgres16 : " 16.3.1.016-staging "
1616
1717# Non Postgres Extensions
1818pgbouncer_release : " 1.19.0"
You can’t perform that action at this time.
0 commit comments