We've been trying out Shippable as the main component in a continuous delivery workflow, but have run into a little bit of an issue when it comes to deploying Docker images to AWS.
What we'd like to be able to do is this:
- Commit code to Gt.
- Have Shippable build and test the Docker container.
- If successful, push the Docker container to Docker Hub, THEN:
- Call
eb deploy to trigger a deployment on AWS.
What we're trying to do is deploy the ready-built container from Docker Hub, so that our deployments can be tagged for easy rollbacks and other nice things. AWS allows us to use a Dockerrun.aws.json in place of a standard Dockerfile, in which we can define a specific container instance to pull from the Hub.
I can't see a way for us to easily do this with Shippable, because the after_success trigger happens BEFORE there is a push to Docker Hub — and that's the only place I can see to trigger the deployment.
Any thoughts?
We've been trying out Shippable as the main component in a continuous delivery workflow, but have run into a little bit of an issue when it comes to deploying Docker images to AWS.
What we'd like to be able to do is this:
eb deployto trigger a deployment on AWS.What we're trying to do is deploy the ready-built container from Docker Hub, so that our deployments can be tagged for easy rollbacks and other nice things. AWS allows us to use a Dockerrun.aws.json in place of a standard Dockerfile, in which we can define a specific container instance to pull from the Hub.
I can't see a way for us to easily do this with Shippable, because the
after_successtrigger happens BEFORE there is a push to Docker Hub — and that's the only place I can see to trigger the deployment.Any thoughts?