Skip to content

Commit 40e51a3

Browse files
author
guru-aot
committed
updated makefile
1 parent 2d94f88 commit 40e51a3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Diff for: devops/Makefile

-13
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ define HOST
8989
"$(HOST_PREFIX)aest-sims.$(DOMAIN)"
9090
endef
9191

92-
define DB_SERVICE_NAME
93-
"patroni-master"
94-
endef
95-
9692
define FORMS_NAME
9793
"$(HOST_PREFIX)forms"
9894
endef
@@ -332,15 +328,13 @@ create-new-db:
332328
run-db-migrations:
333329
test -n "$(NAMESPACE)"
334330
test -n "$(BUILD_NAMESPACE)"
335-
test -n "$(DB_SERVICE_NAME)"
336331
test -n "$(API_SECRET_NAME)"
337332
test -n "$(DB_MIGRATIONS_BUILD_REF)"
338333
test -n "$(BUILD_REF)"
339334
test -n "$(DB_MIGRATIONS)"
340335
@echo "+\n++ Deploying DB_MIGRATIONS with tag: $(BUILD_REF)\n+"
341336
@oc -n $(NAMESPACE) process -f openshift/db-migrations-job.yml \
342337
-p NAME=$(DB_MIGRATIONS) \
343-
-p DB_SERVICE=$(DB_SERVICE_NAME) \
344338
-p BUILD_NAMESPACE=$(BUILD_NAMESPACE) \
345339
-p API_SECRET_NAME=$(API_SECRET_NAME) \
346340
-p IMAGE_STREAM_TAG="$(DB_MIGRATIONS_BUILD_REF):$(BUILD_REF)" \
@@ -384,7 +378,6 @@ deploy-api:
384378
-p API_SECRET_NAME=$(API_SECRET_NAME) \
385379
-p HOST_NAME=$(HOST) \
386380
-p PORT=$(API_PORT) \
387-
-p DB_SERVICE=$(DB_SERVICE_NAME) \
388381
-p BUILD_NAMESPACE=$(BUILD_NAMESPACE) \
389382
-p IMAGE_STREAM_TAG="$(API_BUILD_REF):$(BUILD_REF)" \
390383
-p KEYCLOAK_REALM=$(KEYCLOAK_REALM) \
@@ -409,7 +402,6 @@ deploy-workers:
409402
test -n "$(BUILD_NAMESPACE)"
410403
test -n "$(BUILD_REF)"
411404
test -n "$(WORKERS_BUILD_REF)"
412-
test -n "$(DB_SERVICE_NAME)"
413405
test -n "$(WORKERS_SECRET_NAME)"
414406
test -n "$(WORKERS)"
415407
test -n "$(WORKERS_PORT)"
@@ -419,7 +411,6 @@ deploy-workers:
419411
-p NAME=$(WORKERS) \
420412
-p WORKERS_SECRET_NAME=$(WORKERS_SECRET_NAME) \
421413
-p BUILD_NAMESPACE=$(BUILD_NAMESPACE) \
422-
-p DB_SERVICE=$(DB_SERVICE_NAME) \
423414
-p PORT=$(WORKERS_PORT) \
424415
-p IMAGE_STREAM_TAG="$(WORKERS_BUILD_REF):$(BUILD_REF)" \
425416
-p BUILD_TAG=$(BUILD_REF) \
@@ -432,7 +423,6 @@ deploy-queue-consumers:
432423
test -n "$(BUILD_NAMESPACE)"
433424
test -n "$(BUILD_REF)"
434425
test -n "$(QUEUE_CONSUMERS_BUILD_REF)"
435-
test -n "$(DB_SERVICE_NAME)"
436426
test -n "$(QUEUE_CONSUMERS_SECRET_NAME)"
437427
test -n "$(QUEUE_CONSUMERS)"
438428
test -n "$(QUEUE_CONSUMERS_PORT)"
@@ -445,7 +435,6 @@ deploy-queue-consumers:
445435
-p NAME=$(QUEUE_CONSUMERS) \
446436
-p QUEUE_CONSUMERS_SECRET_NAME=$(QUEUE_CONSUMERS_SECRET_NAME) \
447437
-p BUILD_NAMESPACE=$(BUILD_NAMESPACE) \
448-
-p DB_SERVICE=$(DB_SERVICE_NAME) \
449438
-p IMAGE_STREAM_TAG="$(QUEUE_CONSUMERS_BUILD_REF):$(BUILD_REF)" \
450439
-p BUILD_TAG=$(BUILD_REF) \
451440
-p PORT=$(QUEUE_CONSUMERS_PORT) \
@@ -464,7 +453,6 @@ deploy-load-test-gateway:
464453
test -n "$(BUILD_NAMESPACE)"
465454
test -n "$(BUILD_REF)"
466455
test -n "$(LOAD_TEST_GATEWAY_BUILD_REF)"
467-
test -n "$(DB_SERVICE_NAME)"
468456
test -n "$(LOAD_TEST_GATEWAY_SECRET_NAME)"
469457
test -n "$(LOAD_TEST_GATEWAY)"
470458
test -n "$(LOAD_TEST_GATEWAY_PORT)"
@@ -475,7 +463,6 @@ deploy-load-test-gateway:
475463
-p NAME=$(LOAD_TEST_GATEWAY) \
476464
-p LOAD_TEST_GATEWAY_SECRET_NAME=$(LOAD_TEST_GATEWAY_SECRET_NAME) \
477465
-p BUILD_NAMESPACE=$(BUILD_NAMESPACE) \
478-
-p DB_SERVICE=$(DB_SERVICE_NAME) \
479466
-p IMAGE_STREAM_TAG="$(LOAD_TEST_GATEWAY_BUILD_REF):$(BUILD_REF)" \
480467
-p BUILD_TAG=$(BUILD_REF) \
481468
-p PORT=$(LOAD_TEST_GATEWAY_PORT) \

0 commit comments

Comments
 (0)