Thread: [pgjdbc/pgjdbc] 85230b: test: Add CREATE_REPLICAS option to create replica...
[pgjdbc/pgjdbc] 85230b: test: Add CREATE_REPLICAS option to create replica...
From
Sehrope Sarkuni
Date:
Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 85230bda5133518ab062f052e43f3ef0d69b87d4 https://github.com/pgjdbc/pgjdbc/commit/85230bda5133518ab062f052e43f3ef0d69b87d4 Author: Sehrope Sarkuni <sehrope@jackdb.com> Date: 2021-05-26 (Wed, 26 May 2021) Changed paths: M docker/bin/postgres-server M docker/docker-compose.yml M docker/scripts/entrypoint.sh M docker/scripts/post-startup.sh Log Message: ----------- test: Add CREATE_REPLICAS option to create replicas inside test docker container Enabling CREATE_REPLICAS when starting up the test docker container now launches two replicas within the same container listening on ports 5433 and 5434. Creation of replicas is disabled by default as the checkpoints slow down the startup of the container. Commit: 407efc1aa0df0d91d3c5573f30ee06fe8b9fc294 https://github.com/pgjdbc/pgjdbc/commit/407efc1aa0df0d91d3c5573f30ee06fe8b9fc294 Author: Sehrope Sarkuni <sehrope@jackdb.com> Date: 2021-05-26 (Wed, 26 May 2021) Changed paths: M .github/workflows/omni.yml Log Message: ----------- test: Enable replica creation in omni slow test job Commit: e3dfd191400dbad1404836405fe3cf47028998b6 https://github.com/pgjdbc/pgjdbc/commit/e3dfd191400dbad1404836405fe3cf47028998b6 Author: Sehrope Sarkuni <sehrope@jackdb.com> Date: 2021-05-26 (Wed, 26 May 2021) Changed paths: M .github/workflows/main.yml M .github/workflows/omni.yml M CONTRIBUTING.md M TESTING.md R docker/README.md M docker/bin/postgres-server R docker/docker-compose.yml A docker/postgres-server/README.md A docker/postgres-server/docker-compose.yml A docker/postgres-server/scripts/common.sh A docker/postgres-server/scripts/entrypoint.sh A docker/postgres-server/scripts/post-startup.sh R docker/scripts/common.sh R docker/scripts/entrypoint.sh R docker/scripts/post-startup.sh Log Message: ----------- test: Move docker-compose files for test server into sub-directory Commit: 7c5ece834e7a56a7961ed6dd38804674f16d7cf1 https://github.com/pgjdbc/pgjdbc/commit/7c5ece834e7a56a7961ed6dd38804674f16d7cf1 Author: Sehrope Sarkuni <sehrope@jackdb.com> Date: 2021-05-26 (Wed, 26 May 2021) Changed paths: A docker/bin/postgres-head A docker/postgres-head/.dockerignore A docker/postgres-head/Dockerfile A docker/postgres-head/README.md A docker/postgres-head/docker-compose.yml A docker/postgres-head/scripts/entrypoint.sh Log Message: ----------- test: Add docker files and scripts to launch server built from source Adds a docker/bin/postgres-head script that builds and launches a docker container for a PostgreSQL server built from source. It defaults to building the latest master branch but can be overridden by setting the PG_BRANCH_NAME environment variable. To better take advantage of docker build step caching, the build script includes the SHA hash of the git revision as a built argument. Repeatedly creating the container without new commits being pushed to the upstream server source repo should not trigger new builds as the cached image will be reused. Changes upstream will trigger a change to to the GIT_SHA build argument and instruct docker to rebuild the image. Commit: aeccbac14e4aa31692dd7b2e4430fd1ca2cd0306 https://github.com/pgjdbc/pgjdbc/commit/aeccbac14e4aa31692dd7b2e4430fd1ca2cd0306 Author: Sehrope Sarkuni <sehrope@jackdb.com> Date: 2021-05-26 (Wed, 26 May 2021) Changed paths: M .github/workflows/omni.yml Log Message: ----------- test: Add testing against PostgreSQL server HEAD compiled from source to omni action Commit: 98faa230632e93fbbf095d4b645b53f8a60687c5 https://github.com/pgjdbc/pgjdbc/commit/98faa230632e93fbbf095d4b645b53f8a60687c5 Author: Sehrope Sarkuni <sehrope@jackdb.com> Date: 2021-05-26 (Wed, 26 May 2021) Changed paths: M .github/workflows/main.yml Log Message: ----------- test: Limit docker-compose published ports in main action Disables publishing of replica docker-compose ports in main action. The main action does not create the replicas so the ports are unused and this hopefully fixes the runner on the self-hosted node. Compare: https://github.com/pgjdbc/pgjdbc/compare/7333fc836a6c...98faa230632e