mirror of https://github.com/citusdata/citus.git
Bump postgres versions
parent
1e1f49d237
commit
aee59ca1bd
|
@ -103,6 +103,18 @@ RUN mkdir .pgenv-staging/
|
||||||
RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/
|
RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/
|
||||||
RUN rm .pgenv-staging/config/default.conf
|
RUN rm .pgenv-staging/config/default.conf
|
||||||
|
|
||||||
|
FROM base AS pg17
|
||||||
|
RUN MAKEFLAGS="-j $(nproc)" pgenv build 17.1
|
||||||
|
RUN rm .pgenv/src/*.tar*
|
||||||
|
RUN make -C .pgenv/src/postgresql-*/ clean
|
||||||
|
RUN make -C .pgenv/src/postgresql-*/src/include install
|
||||||
|
|
||||||
|
# create a staging directory with all files we want to copy from our pgenv build
|
||||||
|
# we will copy the contents of the staged folder into the final image at once
|
||||||
|
RUN mkdir .pgenv-staging/
|
||||||
|
RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/
|
||||||
|
RUN rm .pgenv-staging/config/default.conf
|
||||||
|
|
||||||
FROM base AS uncrustify-builder
|
FROM base AS uncrustify-builder
|
||||||
|
|
||||||
RUN sudo apt update && sudo apt install -y cmake tree
|
RUN sudo apt update && sudo apt install -y cmake tree
|
||||||
|
@ -211,7 +223,7 @@ COPY --chown=citus:citus .psqlrc .
|
||||||
RUN sudo chown --from=root:root citus:citus -R ~
|
RUN sudo chown --from=root:root citus:citus -R ~
|
||||||
|
|
||||||
# sets default pg version
|
# sets default pg version
|
||||||
RUN pgenv switch 16.5
|
RUN pgenv switch 17.1
|
||||||
|
|
||||||
# make connecting to the coordinator easy
|
# make connecting to the coordinator easy
|
||||||
ENV PGPORT=9700
|
ENV PGPORT=9700
|
||||||
|
|
|
@ -26,13 +26,13 @@ jobs:
|
||||||
pgupgrade_image_name: "ghcr.io/citusdata/pgupgradetester"
|
pgupgrade_image_name: "ghcr.io/citusdata/pgupgradetester"
|
||||||
style_checker_image_name: "ghcr.io/citusdata/stylechecker"
|
style_checker_image_name: "ghcr.io/citusdata/stylechecker"
|
||||||
style_checker_tools_version: "0.8.18"
|
style_checker_tools_version: "0.8.18"
|
||||||
sql_snapshot_pg_version: "16.5"
|
sql_snapshot_pg_version: "17.1"
|
||||||
image_suffix: "-dev-e5b0348"
|
image_suffix: "-dev-0341887"
|
||||||
pg14_version: '{ "major": "14", "full": "14.14" }'
|
pg14_version: '{ "major": "14", "full": "14.14" }'
|
||||||
pg15_version: '{ "major": "15", "full": "15.9" }'
|
pg15_version: '{ "major": "15", "full": "15.9" }'
|
||||||
pg16_version: '{ "major": "16", "full": "16.5" }'
|
pg16_version: '{ "major": "16", "full": "16.5" }'
|
||||||
pg17_version: '{ "major": "17", "full": "17.0" }'
|
pg17_version: '{ "major": "17", "full": "17.1" }'
|
||||||
upgrade_pg_versions: "14.14-15.9-16.5-17.0"
|
upgrade_pg_versions: "14.14-15.9-16.5-17.1"
|
||||||
steps:
|
steps:
|
||||||
# Since GHA jobs need at least one step we use a noop step here.
|
# Since GHA jobs need at least one step we use a noop step here.
|
||||||
- name: Set up parameters
|
- name: Set up parameters
|
||||||
|
@ -331,6 +331,8 @@ jobs:
|
||||||
new_pg_major: 17
|
new_pg_major: 17
|
||||||
- old_pg_major: 15
|
- old_pg_major: 15
|
||||||
new_pg_major: 17
|
new_pg_major: 17
|
||||||
|
- old_pg_major: 14
|
||||||
|
new_pg_major: 17
|
||||||
env:
|
env:
|
||||||
old_pg_major: ${{ matrix.old_pg_major }}
|
old_pg_major: ${{ matrix.old_pg_major }}
|
||||||
new_pg_major: ${{ matrix.new_pg_major }}
|
new_pg_major: ${{ matrix.new_pg_major }}
|
||||||
|
|
Loading…
Reference in New Issue