Skip to content

Commit

Permalink
Pin Alpine version to 3.18
Browse files Browse the repository at this point in the history
Pin Alpine version to 3.18 since 3.19 does not have openssl 1.1 at
all which we need for some of the ABI checks against older versions.
  • Loading branch information
svenklemm authored and jnidzwetzki committed Jan 3, 2024
1 parent af32f0c commit c7831e4
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/abi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,37 +50,37 @@ jobs:
include:
- test: 13backward
pg: 13
builder: ${{ fromJson(needs.config.outputs.pg13_latest) }}
tester: ${{ fromJson(needs.config.outputs.pg13_abi_min ) }}
builder: ${{ fromJson(needs.config.outputs.pg13_latest) }}-alpine3.18
tester: ${{ fromJson(needs.config.outputs.pg13_abi_min ) }}-alpine
- test: 13forward
pg: 13
builder: ${{ fromJson(needs.config.outputs.pg13_abi_min ) }}
tester: ${{ fromJson(needs.config.outputs.pg13_latest) }}
builder: ${{ fromJson(needs.config.outputs.pg13_abi_min ) }}-alpine
tester: ${{ fromJson(needs.config.outputs.pg13_latest) }}-alpine3.18
- test: 14backward
pg: 14
builder: ${{ fromJson(needs.config.outputs.pg14_latest) }}
tester: ${{ fromJson(needs.config.outputs.pg14_abi_min) }}
builder: ${{ fromJson(needs.config.outputs.pg14_latest) }}-alpine3.18
tester: ${{ fromJson(needs.config.outputs.pg14_abi_min) }}-alpine
ignores: memoize
- test: 14forward
pg: 14
builder: ${{ fromJson(needs.config.outputs.pg14_abi_min) }}
tester: ${{ fromJson(needs.config.outputs.pg14_latest) }}
builder: ${{ fromJson(needs.config.outputs.pg14_abi_min) }}-alpine
tester: ${{ fromJson(needs.config.outputs.pg14_latest) }}-alpine3.18
- test: 15backward
pg: 15
builder: ${{ fromJson(needs.config.outputs.pg15_latest) }}
tester: ${{ fromJson(needs.config.outputs.pg15_abi_min) }}
builder: ${{ fromJson(needs.config.outputs.pg15_latest) }}-alpine3.18
tester: ${{ fromJson(needs.config.outputs.pg15_abi_min) }}-alpine
- test: 15forward
pg: 15
builder: ${{ fromJson(needs.config.outputs.pg15_abi_min) }}
tester: ${{ fromJson(needs.config.outputs.pg15_latest) }}
builder: ${{ fromJson(needs.config.outputs.pg15_abi_min) }}-alpine
tester: ${{ fromJson(needs.config.outputs.pg15_latest) }}-alpine3.18
- test: 16backward
pg: 16
builder: ${{ fromJson(needs.config.outputs.pg16_latest) }}
tester: ${{ fromJson(needs.config.outputs.pg16_abi_min) }}
builder: ${{ fromJson(needs.config.outputs.pg16_latest) }}-alpine3.18
tester: ${{ fromJson(needs.config.outputs.pg16_abi_min) }}-alpine
- test: 16forward
pg: 16
builder: ${{ fromJson(needs.config.outputs.pg16_abi_min) }}
tester: ${{ fromJson(needs.config.outputs.pg16_latest) }}
builder: ${{ fromJson(needs.config.outputs.pg16_abi_min) }}-alpine
tester: ${{ fromJson(needs.config.outputs.pg16_latest) }}-alpine3.18

steps:

Expand All @@ -89,7 +89,7 @@ jobs:

- name: Build extension
run: |
BUILDER_IMAGE="postgres:${{matrix.builder}}-alpine"
BUILDER_IMAGE="postgres:${{matrix.builder}}"
docker pull ${BUILDER_IMAGE}
docker buildx imagetools inspect ${BUILDER_IMAGE}
Expand All @@ -104,7 +104,7 @@ jobs:
apk add openssl1.1-compat-dev || apk add openssl-dev
git config --global --add safe.directory /mnt
cd /mnt
BUILD_DIR=build_abi BUILD_FORCE_REMOVE=true ./bootstrap -DENABLE_MULTINODE_TESTS=ON
BUILD_DIR=build_abi BUILD_FORCE_REMOVE=true ./bootstrap
make -C build_abi install
mkdir -p build_abi/install_ext build_abi/install_lib
cp `pg_config --sharedir`/extension/timescaledb*.{control,sql} build_abi/install_ext
Expand All @@ -113,7 +113,7 @@ jobs:
- name: Run tests
run: |
TEST_IMAGE="postgres:${{ matrix.tester }}-alpine"
TEST_IMAGE="postgres:${{ matrix.tester }}"
docker pull ${TEST_IMAGE}
docker buildx imagetools inspect ${TEST_IMAGE}
Expand Down

0 comments on commit c7831e4

Please sign in to comment.