Skip to content

Commit

Permalink
revert deploy placements added during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewErispe committed Sep 10, 2024
1 parent 1e558ec commit 3876e49
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
8 changes: 0 additions & 8 deletions client-registry-jempi/docker-compose.api-cluster.yml

This file was deleted.

12 changes: 0 additions & 12 deletions client-registry-jempi/docker-compose.combined-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,3 @@ services:
placement:
constraints:
- "node.labels.name==node-1"

jempi-em-scala:
deploy:
placement:
constraints:
- "node.labels.name==node-1"

jempi-async-receiver:
deploy:
placement:
constraints:
- "node.labels.name==node-2"
4 changes: 1 addition & 3 deletions client-registry-jempi/swarm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ function initialize_package() {
local combined_dev_compose_param=""
local combined_cluster_compose_param=""
local api_dev_compose_param=""
local api_cluster_compose_param=""
local web_dev_compose_param=""
local dgraph_cluster_compose_param=""
local dgraph_zero_cluster_compose_param=""
Expand All @@ -57,7 +56,6 @@ function initialize_package() {
dgraph_cluster_compose_param="docker-compose.dgraph-cluster.yml"
dgraph_zero_cluster_compose_param="docker-compose.dgraph-zero-cluster.yml"
combined_cluster_compose_param="docker-compose.combined-cluster.yml"
api_cluster_compose_param="docker-compose.api-cluster.yml"
fi

(
Expand All @@ -79,7 +77,7 @@ function initialize_package() {
docker::deploy_service $STACK "${COMPOSE_FILE_PATH}" "docker-compose.combined.yml" "$combined_dev_compose_param" "$combined_cluster_compose_param"

log info "Deploy JeMPI API"
docker::deploy_service $STACK "${COMPOSE_FILE_PATH}" "docker-compose.api.yml" "$api_dev_compose_param" "$api_cluster_compose_param"
docker::deploy_service $STACK "${COMPOSE_FILE_PATH}" "docker-compose.api.yml" "$api_dev_compose_param"

log info "Deploy JeMPI WEB"
docker::deploy_service $STACK "${COMPOSE_FILE_PATH}" "docker-compose.web.yml" "$web_dev_compose_param"
Expand Down

0 comments on commit 3876e49

Please sign in to comment.