Merge pull request #661 from thedanbob/postgres-13
Add support for postgres 13
This commit is contained in:
commit
5c5e5d4df6
|
@ -12,7 +12,8 @@ matrix_postgres_docker_image_v9: "postgres:9.6.19-alpine"
|
||||||
matrix_postgres_docker_image_v10: "postgres:10.14-alpine"
|
matrix_postgres_docker_image_v10: "postgres:10.14-alpine"
|
||||||
matrix_postgres_docker_image_v11: "postgres:11.9-alpine"
|
matrix_postgres_docker_image_v11: "postgres:11.9-alpine"
|
||||||
matrix_postgres_docker_image_v12: "postgres:12.4-alpine"
|
matrix_postgres_docker_image_v12: "postgres:12.4-alpine"
|
||||||
matrix_postgres_docker_image_latest: "{{ matrix_postgres_docker_image_v12 }}"
|
matrix_postgres_docker_image_v13: "postgres:13.0-alpine"
|
||||||
|
matrix_postgres_docker_image_latest: "{{ matrix_postgres_docker_image_v13 }}"
|
||||||
|
|
||||||
# This variable is assigned at runtime. Overriding its value has no effect.
|
# This variable is assigned at runtime. Overriding its value has no effect.
|
||||||
matrix_postgres_docker_image_to_use: '{{ matrix_postgres_docker_image_latest }}'
|
matrix_postgres_docker_image_to_use: '{{ matrix_postgres_docker_image_latest }}'
|
||||||
|
|
|
@ -49,3 +49,8 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
matrix_postgres_detected_version_corresponding_docker_image: "{{ matrix_postgres_docker_image_v11 }}"
|
matrix_postgres_detected_version_corresponding_docker_image: "{{ matrix_postgres_docker_image_v11 }}"
|
||||||
when: "matrix_postgres_detected_version == '11' or matrix_postgres_detected_version.startswith('11.')"
|
when: "matrix_postgres_detected_version == '11' or matrix_postgres_detected_version.startswith('11.')"
|
||||||
|
|
||||||
|
- name: Determine corresponding Docker image to detected version (use 12.x, if detected)
|
||||||
|
set_fact:
|
||||||
|
matrix_postgres_detected_version_corresponding_docker_image: "{{ matrix_postgres_docker_image_v12 }}"
|
||||||
|
when: "matrix_postgres_detected_version == '12' or matrix_postgres_detected_version.startswith('12.')"
|
||||||
|
|
Loading…
Reference in a new issue