Can I automate an application deployment via webhook to OpsWorks?

让人想犯罪 __ 提交于 2019-12-03 02:07:27

This process is much simpler now. All you have to do is provide the required values per the Webhook, and it will be done for you.

Steps :

  1. GitHub repository -> Settings
  2. Webhooks & Services
  3. AWS Opsworks
  4. Provide AWS::IAM keys, Stack and App ID , and branch you want to deploy.

Be aware that by this process you deploy a specific app to ALL the layers in a stack. This means that if you have custom layers with ruby, they will also deploy the specific app to those layers too. Useful for worker layer, however, increased deployment time when you have multiple rails apps in different layers.

Ensure that your user has proper permissions to deploy on the specific stack.

Small addition to Imran answer: now on github it called Integration & Services.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!