Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip PostgreSQL 12 by default for CICD #784

Merged
merged 4 commits into from
Nov 28, 2023
Merged

Conversation

feikesteenbergen
Copy link
Member

@feikesteenbergen feikesteenbergen commented Nov 27, 2023

TimescaleDB 2.12.0 does not support PostgreSQL 12 anymore. This currently causes our CI to fail. To still be able to test PostgreSQL 12, we will run tests against TimescaleDB 2.11.2 for PostgreSQL 12, and for Debian only.

https://docs.timescale.com/about/latest/release-notes/#timescaledb-2120-on-2023-09-27

TimescaleDB 2.13.0 does not support PostgreSQL 12 anymore. This
currently causes our CI to fail. To still be able to test PostgreSQL 12,
we will run it if the TimescaleDB tag is set to 2.11.2

https://docs.timescale.com/about/latest/release-notes/#timescaledb-2120-on-2023-09-27
@feikesteenbergen feikesteenbergen force-pushed the feike/remove_pg12 branch 3 times, most recently from 926aade to 7724048 Compare November 27, 2023 10:33
@feikesteenbergen
Copy link
Member Author

feikesteenbergen commented Nov 27, 2023

Dev build images have been built by this github action

Previously, we depended on the value of PG_VERSIONS or TSDB_PG_VERSIONS.
This doesn't always work correctly, however, we can switch to
determining the versions at runtime, that should prevent errors like:

     528.1 + for pg in '$PG_VERSIONS'
     528.1 + init_flags=' --pg12 /usr/pgsql-12/bin/pg_config --pg13 /usr/pgsql-13/bin/pg_config --pg14 /usr/pgsql-14/bin/pg_config --pg15 /usr/pgsql-15/bin/pg_config --pg16 /usr/pgsql-16/bin/pg_config'
     528.1 + cargo pgrx init --pg12 /usr/pgsql-12/bin/pg_config --pg13 /usr/pgsql-13/bin/pg_config --pg14 /usr/pgsql-14/bin/pg_config --pg15 /usr/pgsql-15/bin/pg_config --pg16 /usr/pgsql-16/bin/pg_config
     528.1      Creating PGRX_HOME at `/home/postgres/.pgrx`
     528.1 The application panicked (crashed).
     528.1 Message:  no major version:
     528.1    0: The specified pg_config binary, `/usr/pgsql-16/bin/pg_config`, does not exist
     528.1    1: No such file or directory (os error 2)
@feikesteenbergen feikesteenbergen merged commit 4d3dbde into main Nov 28, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants