Skip to content

Commit

Permalink
Use fixed alpine version
Browse files Browse the repository at this point in the history
Not specifying alpine version causes libssl version
to change, which in turn cause error in downgrade tests
as well as ABI tests
  • Loading branch information
SachinSetiya committed Dec 2, 2022
1 parent 1a806e2 commit 3ee8a0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/abi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ jobs:
- name: Run tests
run: |
TEST_IMAGE="postgres:${{ matrix.tester }}-alpine"
# Use fixed alpine version , so that libssl version does not change
TEST_IMAGE="postgres:${{ matrix.tester }}-alpine-3.16"
docker run -i --rm -v $(pwd):/mnt ${TEST_IMAGE} bash <<"EOF"
apk add cmake gcc make build-base krb5-dev openssl-dev sudo > /dev/null
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
PG_MAJOR=$(echo "${{ matrix.pg }}" | sed -e 's![.].*!!')
UPDATE_FROM_TAG=${DOWNGRADE_TO}-pg${PG_MAJOR}
export UPDATE_FROM_TAG
# Use specific version of alpine so that openssl version wont change
PG_IMAGE_TAG="${PG_VERSION}-alpine3.16"
export PG_IMAGE_TAG
scripts/test_downgrade_from_tag.sh
- name: Downgrade diff
Expand Down

0 comments on commit 3ee8a0a

Please sign in to comment.