File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 --health-interval 10s
5555 --health-timeout 5s
5656 --health-retries 5
57+ catalog2 :
58+ image : imresamu/postgis:${{ matrix.db-version.pg }}-3.5-alpine
59+ ports :
60+ - 5437:5432
61+ env :
62+ PGUSER : postgres
63+ POSTGRES_PASSWORD : postgres
64+ POSTGRES_DB : postgres
65+ POSTGRES_INITDB_ARGS : --locale=C.UTF-8
66+ options : >-
67+ --health-cmd pg_isready
68+ --health-interval 10s
69+ --health-timeout 5s
70+ --health-retries 5
5771 redpanda :
5872 image : redpandadata/redpanda@sha256:12ddbd8e5572210a48d39afecac44db61503ce1cbdae50ee9b1ff5998a8d91e1
5973 ports :
@@ -275,6 +289,17 @@ jobs:
275289 env :
276290 PGPASSWORD : postgres
277291
292+ - name : prepare secondary postgres for cross-cluster schema-dump tests
293+ run : >
294+ docker exec "${{ job.services.catalog2.id }}" psql -U postgres
295+ -c "ALTER SYSTEM SET wal_level=logical;"
296+ -c "ALTER SYSTEM SET max_replication_slots=192;"
297+ -c "ALTER SYSTEM SET max_wal_senders=256;"
298+ -c "ALTER SYSTEM SET max_connections=2048;" &&
299+ docker restart "${{ job.services.catalog2.id }}"
300+ env :
301+ PGPASSWORD : postgres
302+
278303 - name : set ClickHouse version
279304 id : ch-version
280305 run : |
@@ -561,6 +586,11 @@ jobs:
561586 PG_USER : postgres
562587 PG_PASSWORD : postgres
563588 PG_DATABASE : postgres
589+ PG2_HOST : localhost
590+ PG2_PORT : 5437
591+ PG2_USER : postgres
592+ PG2_PASSWORD : postgres
593+ PG2_DATABASE : postgres
564594 PEERDB_SWITCHBOARD_ENABLED : " true"
565595 PEERDB_QUEUE_FORCE_TOPIC_CREATION : " true"
566596 ELASTICSEARCH_TEST_ADDRESS : http://localhost:9200
You can’t perform that action at this time.
0 commit comments