Try to avoid release logic automation bug

See https://git.autonomic.zone/coop-cloud/abra/issues/174.
This commit is contained in:
decentral1se 2021-07-06 11:49:09 +02:00
parent b7546337ae
commit 3f0a907b57
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 4 deletions

View File

@ -26,7 +26,7 @@ services:
- internal - internal
- proxy - proxy
entrypoint: /docker-entrypoint.sh entrypoint: /docker-entrypoint.sh
command: > command: |
bash -c bash -c
"for i in `seq 1 30`; do "for i in `seq 1 30`; do
node main.js && node main.js &&
@ -72,10 +72,8 @@ services:
# it will run the command and remove himself (it will not stay running) # it will run the command and remove himself (it will not stay running)
mongo-init-replica: mongo-init-replica:
image: mongo:4.4 image: mongo:4.4
command: > command: |
bash -c bash -c
"for i in `seq 1 30`; do "for i in `seq 1 30`; do
mongo db/rocketchat --eval \" mongo db/rocketchat --eval \"
rs.initiate({ rs.initiate({