Skip to content

Commit

Permalink
Skip package downgrade test for PG15
Browse files Browse the repository at this point in the history
Since we currently only have 1 released version that supports PG15
we cannot test downgrade with PG15.
  • Loading branch information
svenklemm committed Dec 20, 2022
1 parent a480682 commit 1d51672
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/apt-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
matrix:
# Debian images: 10 (buster), 11 (bullseye)
# Ubuntu images: 18.04 LTS (bionic), 20.04 LTS (focal), 21.10 (impish), 22.04 (jammy)
image: [ "debian:10-slim", "debian:11-slim", "ubuntu:bionic", "ubuntu:focal", "ubuntu:jammy"]
image: [ "debian:10-slim", "debian:11-slim", "ubuntu:focal", "ubuntu:jammy"]
pg: [ 12, 13, 14, 15 ]
license: [ "TSL", "Apache"]
include:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Test Downgrade
# ubuntu:jammy only has 1 released version at the moment so downgrade will not be possible
if: matrix.image != 'ubuntu:jammy'
if: matrix.pg != '15'
run: |
# since this runs nightly on main we have to get the previous version from the last released version and not current branch
prev_version=$(wget --quiet -O - https://raw.githubusercontent.com/timescale/timescaledb/${{ steps.versions.outputs.version }}/version.config | grep update_from_version | sed -e 's!update_from_version = !!')
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rpm-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
fi
- name: Test Downgrade
if: matrix.pg != '15'
run: |
# since this runs nightly on main we have to get the previous version from the last released version and not current branch
prev_version=$(wget --quiet -O - https://raw.githubusercontent.com/timescale/timescaledb/${{ steps.versions.outputs.version }}/version.config | grep update_from_version | sed -e 's!update_from_version = !!')
Expand Down

0 comments on commit 1d51672

Please sign in to comment.