@@ -136,24 +136,6 @@ else
136136 TMUX_TOP_DIR = ./tmux/pgsql
137137endif
138138
139- # make azcluster arguments
140- AZURE_PREFIX ?= ha-demo-$(shell whoami)
141- AZURE_REGION ?= paris
142- AZURE_LOCATION ?= francecentral
143-
144- # Pick a version of Postgres and pg_auto_failover packages to install
145- # in our target Azure VMs when provisionning
146- #
147- # sudo apt-get install -q -y postgresql-13-auto-failover-1.5=1.5.2
148- # postgresql-${AZ_PG_VERSION}-auto-failover-${AZ_PGAF_DEB_VERSION}=${AZ_PGAF_VERSION}
149- AZ_PG_VERSION ?= 13
150- AZ_PGAF_DEB_VERSION ?= 1.6
151- AZ_PGAF_DEB_REVISION ?= 1.6.4-1
152-
153- export AZ_PG_VERSION
154- export AZ_PGAF_DEB_VERSION
155- export AZ_PGAF_DEB_REVISION
156-
157139all : monitor bin ;
158140
159141install : install-monitor install-bin ;
@@ -432,23 +414,10 @@ valgrind-session: build-test-pg$(PGVERSION)
432414 TMUX_LAYOUT=$(TMUX_LAYOUT ) \
433415 tmux-session
434416
435- azcluster : all
436- $(PG_AUTOCTL ) do azure create \
437- --prefix $(AZURE_PREFIX) \
438- --region $(AZURE_REGION) \
439- --location $(AZURE_LOCATION) \
440- --nodes $(NODES)
441-
442- # make azcluster has been done before, just re-attach
443- az : all
444- $(PG_AUTOCTL ) do azure tmux session
445-
446- azdrop : all
447- $(PG_AUTOCTL ) do azure drop
417+ include Makefile.azure
448418
449419.PHONY : all clean check install docs tikz
450420.PHONY : monitor clean-monitor check-monitor install-monitor
451421.PHONY : bin clean-bin install-bin maintainer-clean
452422.PHONY : run-test spellcheck lint linting ci-test
453423.PHONY : tmux-clean cluster compose
454- .PHONY : azcluster azdrop az
0 commit comments