Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

AWS OpsWorks #749

Merged
merged 5 commits into from Dec 3, 2013
Merged

AWS OpsWorks #749

merged 5 commits into from Dec 3, 2013

Conversation

jansiwy
Copy link
Contributor

@jansiwy jansiwy commented Dec 3, 2013

This service lets you deploy apps in AWS OpsWorks after pushing to the configured branch.

@atmos
Copy link
Contributor

atmos commented Dec 3, 2013

Wow, this is really awesome. I'll see about getting it merged sometime this week.

@atmos
Copy link
Contributor

atmos commented Dec 3, 2013

I'm not super familiar with OpsWorks. How do you guys access the code from the deployment side?

@jansiwy
Copy link
Contributor Author

jansiwy commented Dec 3, 2013

OpsWorks distributes an SSH deploy key to the servers

https://github.com/aws/opsworks-cookbooks/blob/master-chef-11.4/scm_helper/libraries/git.rb

and triggers a git clone (or shallow clone) on that servers

https://github.com/aws/opsworks-cookbooks/blob/master-chef-11.4/deploy/definitions/opsworks_deploy.rb

@atmos atmos mentioned this pull request Dec 3, 2013
@atmos atmos merged commit 54863ef into github:master Dec 3, 2013
@stevenspiel
Copy link

Is there any way for this to trigger only after a successful CI build?

Also, we have two different stacks using the same codebase. There doesn't appear to be a way to add multiple OpsWorks services. How can we deploy to different stacks/apps depending on the branch?

@izuzak
Copy link
Member

izuzak commented Aug 22, 2016

Hey, @stevenspiel 👋

Is there any way for this to trigger only after a successful CI build?

There doesn't appear to be a way to add multiple OpsWorks services. How can we deploy to different stacks/apps depending on the branch?

Neither of those two things are possible with this service currently. And as mentioned here -- we don't accept changes to these services other than security fixes.

I think your best bet would be to use a plain webhook, point it at a small service you'd build and use that service to implement these workflows (checking statuses, calling multiple targets, and whatever else you need).

@Pankaj-Pippin
Copy link

Hi,

I am unable to make us of this service I gave the values as needed but look like something is missing ,
Ref : http://bytes.babbel.com/en/articles/2014-01-22-github-service-hook-for-aws-ops-works.html is now old because the interface is changed . can any one please provided step by step guide for this .

Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants