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 37
37
strategy :
38
38
matrix :
39
39
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
47
41
timeout-minutes : 150
48
42
49
43
steps :
55
49
- name : Run checks if triggered manually
56
50
if : ${{ github.event_name == 'workflow_dispatch' }}
57
51
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/')
59
53
if [[ -z "$SUFFIX" ]] ; then
60
54
echo "Version must include non-numeric characters if built manually."
61
55
exit 1
66
60
67
61
- name : Generate common-nix.vars.pkr.hcl
68
62
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)
70
64
PG_VERSION=$(echo "$PG_VERSION" | tr -d '"') # Remove any surrounding quotes
71
65
echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
72
66
# Ensure there's a newline at the end of the file
You can’t perform that action at this time.
0 commit comments