Skip to content

Commit

Permalink
Update default Postgres version in docker-compose.yml (#8019)
Browse files Browse the repository at this point in the history
Let's be modern.
  • Loading branch information
hlinnaka authored Jun 12, 2024
1 parent 9983ae2 commit 69aa1ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ services:
context: ./compute_wrapper/
args:
- REPOSITORY=${REPOSITORY:-neondatabase}
- COMPUTE_IMAGE=compute-node-v${PG_VERSION:-14}
- COMPUTE_IMAGE=compute-node-v${PG_VERSION:-16}
- TAG=${TAG:-latest}
- http_proxy=$http_proxy
- https_proxy=$https_proxy
environment:
- PG_VERSION=${PG_VERSION:-14}
- PG_VERSION=${PG_VERSION:-16}
#- RUST_BACKTRACE=1
# Mount the test files directly, for faster editing cycle.
volumes:
Expand Down
4 changes: 2 additions & 2 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ You can see a [docker compose](https://docs.docker.com/compose/) example to crea
1. create containers

You can specify version of neon cluster using following environment values.
- PG_VERSION: postgres version for compute (default is 14)
- PG_VERSION: postgres version for compute (default is 16)
- TAG: the tag version of [docker image](https://registry.hub.docker.com/r/neondatabase/neon/tags) (default is latest), which is tagged in [CI test](/.github/workflows/build_and_test.yml)
```
$ cd docker-compose/
$ docker-compose down # remove the containers if exists
$ PG_VERSION=15 TAG=2937 docker-compose up --build -d # You can specify the postgres and image version
$ PG_VERSION=16 TAG=2937 docker-compose up --build -d # You can specify the postgres and image version
Creating network "dockercompose_default" with the default driver
Creating docker-compose_storage_broker_1 ... done
(...omit...)
Expand Down

1 comment on commit 69aa1ac

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3298 tests run: 3142 passed, 1 failed, 155 skipped (full report)


Failures on Postgres 14

  • test_vm_bit_clear_on_heap_lock_blackbox: debug
# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_vm_bit_clear_on_heap_lock_blackbox[debug-pg14]"

Test coverage report is not available

The comment gets automatically updated with the latest test results
69aa1ac at 2024-06-12T07:41:19.378Z :recycle:

Please sign in to comment.