Skip to content

Commit

Permalink
more changes for tidploy 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
tiptenbrink committed Dec 15, 2023
1 parent 507bc16 commit 7abe5b3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions deploy/build/deploy/staging/confspawn_entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
export COMPOSE_PROJECT_NAME="{{ main.project }}-${DEPLOY_NAME}"
export NETWORK_NAME="{{ main.docker_net_name }}-${DEPLOY_NAME}"
export KV_VERSION=staging${DEPLOY_TAG_SUFFIX}
export DB_VERSION=staging${DEPLOY_TAG_SUFFIX}
export SERVER_VERSION=staging${DEPLOY_TAG_SUFFIX}
export COMPOSE_PROJECT_NAME="{{ main.project }}-${TIDPLOY_TAG}"
export NETWORK_NAME="{{ main.docker_net_name }}-${TIDPLOY_TAG}"
export KV_VERSION=staging-${TIDPLOY_SHA}
export DB_VERSION=staging-${TIDPLOY_SHA}
export SERVER_VERSION=staging-${TIDPLOY_SHA}
docker compose --env-file staging.env --profile all pull
docker compose --env-file staging.env --profile all up -d
2 changes: 1 addition & 1 deletion deploy/build/deploy/staging/dployer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mkfifo deploypipe
docker run \
-e BWS_ACCESS_TOKEN \
-v ./deploypipe:/dployer/ti_dploy_pipe \
-v "./tidploy.json:/dployer/tidploy.json" \
-v "./secrets.json:/dployer/secrets.json" \
ghcr.io/tiptenbrink/bws-dployer:latest & \
./source.sh ./deploypipe
# finally we clean up the pipe by removing it
Expand Down
2 changes: 1 addition & 1 deletion deploy/use/staging/dployer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mkfifo deploypipe
docker run \
-e BWS_ACCESS_TOKEN \
-v ./deploypipe:/dployer/ti_dploy_pipe \
-v "./tidploy.json:/dployer/tidploy.json" \
-v "./secrets.json:/dployer/secrets.json" \
ghcr.io/tiptenbrink/bws-dployer:latest & \
./source.sh ./deploypipe
# finally we clean up the pipe by removing it
Expand Down
10 changes: 5 additions & 5 deletions deploy/use/staging/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
export COMPOSE_PROJECT_NAME="dodeka-${DEPLOY_NAME}"
export NETWORK_NAME="dodeka-${DEPLOY_NAME}"
export KV_VERSION=staging${DEPLOY_TAG_SUFFIX}
export DB_VERSION=staging${DEPLOY_TAG_SUFFIX}
export SERVER_VERSION=staging${DEPLOY_TAG_SUFFIX}
export COMPOSE_PROJECT_NAME="dodeka-${TIDPLOY_TAG}"
export NETWORK_NAME="dodeka-${TIDPLOY_TAG}"
export KV_VERSION=staging-${TIDPLOY_SHA}
export DB_VERSION=staging-${TIDPLOY_SHA}
export SERVER_VERSION=staging-${TIDPLOY_SHA}
docker compose --env-file staging.env --profile all pull
docker compose --env-file staging.env --profile all up -d

0 comments on commit 7abe5b3

Please sign in to comment.