Skip to content

Commit 4417da5

Browse files
authored
Update Citus from 11.1.2 to 11.1.3 in our build system. (#957)
In passing, improve our docs/citus/Makefile.
1 parent fe8b173 commit 4417da5

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ PGVERSION ?= 14
2828
BUILD_ARGS_PG11 = --build-arg PGVERSION=11 --build-arg CITUSTAG=v9.5.10
2929
BUILD_ARGS_PG12 = --build-arg PGVERSION=12 --build-arg CITUSTAG=v10.2.3
3030
BUILD_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

3434
NOSETESTS = $(shell which nosetests3 || which nosetests)
3535

docs/citus/Makefile

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
CONTAINER_NAME = pg_auto_failover:citus
22

3-
all: build up;
3+
all: build down up ;
4+
5+
scale: build scale-down scale-up ;
46

57
build:
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

817
up:
9-
docker-compose up --scale coord=2 --scale worker=6
18+
docker-compose up
1019

1120
down:
1221
docker-compose down
@@ -19,3 +28,5 @@ failover:
1928

2029
nodes:
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

0 commit comments

Comments
 (0)