File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 3737 strategy :
3838 matrix :
3939 postgres_version : ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
40- include :
41- - runner : arm-runner
42- arch : arm64
43- ubuntu_release : focal
44- ubuntu_version : 20.04
45- mcpu : neoverse-n1
46- runs-on : ${{ matrix.runner }}
40+ runs-on : ubuntu-24.04-arm
4741 timeout-minutes : 150
4842
4943 steps :
5549 - name : Run checks if triggered manually
5650 if : ${{ github.event_name == 'workflow_dispatch' }}
5751 run : |
58- SUFFIX=$(sudo nix run nixpkgs#yq -- ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
52+ SUFFIX=$(nix run nixpkgs#yq -- ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
5953 if [[ -z "$SUFFIX" ]] ; then
6054 echo "Version must include non-numeric characters if built manually."
6155 exit 1
6660
6761 - name : Generate common-nix.vars.pkr.hcl
6862 run : |
69- PG_VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
63+ PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
7064 PG_VERSION=$(echo "$PG_VERSION" | tr -d '"') # Remove any surrounding quotes
7165 echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
7266 # Ensure there's a newline at the end of the file
You can’t perform that action at this time.
0 commit comments