File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ PGVERSION ?= 14
2828BUILD_ARGS_PG11 = --build-arg PGVERSION=11 --build-arg CITUSTAG=v9.5.10
2929BUILD_ARGS_PG12 = --build-arg PGVERSION=12 --build-arg CITUSTAG=v10.2.3
3030BUILD_ARGS_PG13 = --build-arg PGVERSION=13 --build-arg CITUSTAG=v10.2.3
31- BUILD_ARGS_PG14 = --build-arg PGVERSION=14 --build-arg CITUSTAG=v11.1.2
32- BUILD_ARGS_PG15 = --build-arg PGVERSION=15 --build-arg CITUSTAG=v11.1.2
31+ BUILD_ARGS_PG14 = --build-arg PGVERSION=14 --build-arg CITUSTAG=v11.1.3
32+ BUILD_ARGS_PG15 = --build-arg PGVERSION=15 --build-arg CITUSTAG=v11.1.3
3333
3434NOSETESTS = $(shell which nosetests3 || which nosetests)
3535
Original file line number Diff line number Diff line change 11CONTAINER_NAME = pg_auto_failover:citus
22
3- all : build up;
3+ all : build down up ;
4+
5+ scale : build scale-down scale-up ;
46
57build :
68 docker build -t $(CONTAINER_NAME ) -f Dockerfile ../..
9+ docker-compose build
10+
11+ scale-up :
12+ docker-compose -f docker-compose-scale.yml up --scale coord=2 --scale worker=6
13+
14+ scale-down :
15+ docker-compose -f docker-compose-scale.yml down
716
817up :
9- docker-compose up --scale coord=2 --scale worker=6
18+ docker-compose up
1019
1120down :
1221 docker-compose down
@@ -19,3 +28,5 @@ failover:
1928
2029nodes :
2130 docker-compose exec coord psql -d analytics -c ' table pg_dist_node'
31+
32+ .PHONY : all scale build scale-up scale-down up down state failover nodes
You can’t perform that action at this time.
0 commit comments