Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ deploy-zookeeper-pro: - docker:dind script: - create-nets.sh kafka-net - deploy.sh IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} - deploy.sh IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} AWS_REGION=${AWS_REGION} environment: name: pro/zookeeper only: Loading Loading @@ -157,7 +157,7 @@ deploy-kafka-pro: services: - docker:dind script: - deploy.sh IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} - deploy.sh IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} AWS_REGION=${AWS_REGION} environment: name: pro/kafka only: Loading kafka/docker-compose.prod.yml +3 −3 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 1 - engine.labels.availability_zone == ${AWS_REGION}a restart_policy: condition: on-failure max_attempts: 3 Loading @@ -26,7 +26,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 2 - engine.labels.availability_zone == ${AWS_REGION}b restart_policy: condition: on-failure max_attempts: 3 Loading @@ -41,7 +41,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 3 - engine.labels.availability_zone == ${AWS_REGION}c restart_policy: condition: on-failure max_attempts: 3 Loading zookeeper/docker-compose.prod.yml +3 −3 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 1 - engine.labels.availability_zone == ${AWS_REGION}a restart_policy: condition: on-failure max_attempts: 3 Loading @@ -24,7 +24,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 2 - engine.labels.availability_zone == ${AWS_REGION}b restart_policy: condition: on-failure max_attempts: 3 Loading @@ -38,7 +38,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 3 - engine.labels.availability_zone == ${AWS_REGION}c restart_policy: condition: on-failure max_attempts: 3 Loading Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ deploy-zookeeper-pro: - docker:dind script: - create-nets.sh kafka-net - deploy.sh IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} - deploy.sh IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} AWS_REGION=${AWS_REGION} environment: name: pro/zookeeper only: Loading Loading @@ -157,7 +157,7 @@ deploy-kafka-pro: services: - docker:dind script: - deploy.sh IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} - deploy.sh IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} AWS_REGION=${AWS_REGION} environment: name: pro/kafka only: Loading
kafka/docker-compose.prod.yml +3 −3 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 1 - engine.labels.availability_zone == ${AWS_REGION}a restart_policy: condition: on-failure max_attempts: 3 Loading @@ -26,7 +26,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 2 - engine.labels.availability_zone == ${AWS_REGION}b restart_policy: condition: on-failure max_attempts: 3 Loading @@ -41,7 +41,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 3 - engine.labels.availability_zone == ${AWS_REGION}c restart_policy: condition: on-failure max_attempts: 3 Loading
zookeeper/docker-compose.prod.yml +3 −3 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 1 - engine.labels.availability_zone == ${AWS_REGION}a restart_policy: condition: on-failure max_attempts: 3 Loading @@ -24,7 +24,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 2 - engine.labels.availability_zone == ${AWS_REGION}b restart_policy: condition: on-failure max_attempts: 3 Loading @@ -38,7 +38,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 3 - engine.labels.availability_zone == ${AWS_REGION}c restart_policy: condition: on-failure max_attempts: 3 Loading