File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
test_package_installation Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,14 @@ jobs:
3535 echo "Discovered platforms: ${platforms}"
3636 echo "platforms=${platforms}" >> "$GITHUB_OUTPUT"
3737
38- - name : Resolve Citus & PG versions from postgres-matrix.yml
38+ - name : Resolve Citus & PG versions
3939 id : resolve_versions
4040 run : |
41+ git show "origin/${SOURCE_BRANCH}:pkgvars" > /tmp/pkgvars
4142 git show "origin/${SOURCE_BRANCH}:postgres-matrix.yml" > /tmp/postgres-matrix.yml
4243
43- # Latest entry = last element in version_matrix
44- citus_version=$(yq '.version_matrix[-1] | keys | .[0]' /tmp/postgres-matrix.yml )
44+ # Extract version from pkglatest (e.g. "14.0.0.citus-1" -> "14.0.0")
45+ citus_version=$(grep '^pkglatest=' /tmp/pkgvars | sed 's/^pkglatest=//;s/\.citus-.*//' )
4546
4647 pg_versions=$(
4748 yq -o=json \
Original file line number Diff line number Diff line change @@ -30,5 +30,6 @@ You can manually trigger the workflow using [this GitHub Actions tab](https://gi
3030
3131It asks for the Citus version to test, and then it automatically discovers the supported platforms and
3232compatible PostgreSQL versions from the ` all-citus ` branch, using
33- [ .github/workflows/build-package.yml] ( https://github.com/citusdata/packaging/blob/all-citus/.github/workflows/build-package.yml )
34- and [ postgres-matrix.yml] ( https://github.com/citusdata/packaging/blob/all-citus/postgres-matrix.yml ) files.
33+ [ .github/workflows/build-package.yml] ( https://github.com/citusdata/packaging/blob/all-citus/.github/workflows/build-package.yml ) ,
34+ [ postgres-matrix.yml] ( https://github.com/citusdata/packaging/blob/all-citus/postgres-matrix.yml ) and
35+ [ pkgvars] ( https://github.com/citusdata/packaging/blob/all-citus/pkgvars ) files.
You can’t perform that action at this time.
0 commit comments