Skip to content

Instantly share code, notes, and snippets.

:shipit:
Ship it

Mahmoud Saada saada

:shipit:
Ship it
Block or report user

Report or block saada

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@saada
saada / docker-cloud-sync-redeploy.sh
Last active Feb 22, 2017
Redeploy stack in Docker Cloud synchronously. Great for redeploying in Jenkins and other build systems and provides relevant output.
View docker-cloud-sync-redeploy.sh
#!/bin/bash
#############################################################
# This script depends on docker.
# simply run ./docker-cloud-sync-redeploy.sh <stack name>
#############################################################
set -e
STATE_RUNNING='Running'
STATE_NOT_RUNNING='Not running'
STATE_STARTING='Starting'
You can’t perform that action at this time.