Compare commits

...

1 Commits

Author SHA1 Message Date
Salim ea5ca49df1 bf: ci wait for mongo 2018-06-27 17:26:44 -07:00
1 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,12 @@ spec:
- -ec - -ec
- | - |
# wait for exports to be created # wait for exports to be created
{% if vars.env.S3METADATA is defined and vars.env.S3METADATA == "mongodb" %}
until lsof -t -i:27018
do
sleep 1
done
{% endif %}
sleep 15 sleep 15
source /root/.aws/exports || exit 1 source /root/.aws/exports || exit 1
/usr/src/app/docker-entrypoint.sh npm start | tee -a /artifacts/s3.log /usr/src/app/docker-entrypoint.sh npm start | tee -a /artifacts/s3.log