broadinstitute / cromwell

Scientific workflow engine designed for simplicity & scalability. Trivially transition between one off use cases to massive scale production environments
http://cromwell.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
993 stars 359 forks source link

Give cromwell the opportunity to shut down gracefully in Caas #3674

Open danbills opened 6 years ago

danbills commented 6 years ago

The command as it is now stops the container and gives 10s grace period. This should be increased, probably to whatever cromwell is using as its hard stop limit.

$SSHCMD $SSH_USER@$SSH_HOST "docker-compose -p $PROJECT -f $COMPOSE_FILE stop"

As seen here: https://github.com/broadinstitute/cromwell-develop/blob/551b25a1b097407010dc13ea16260222ab4955b7/dsde-jenkins-deploy.sh#L114

danbills commented 6 years ago

May be related to issues seen in #3673