silinternational/opsworks-deploy
Composer 安装命令:
composer require silinternational/opsworks-deploy
包简介
Shell script to initiate and monitor OpsWorks application deployments using AWC CLI scripts
README 文档
README
Shell script to initiate OpsWorks application deployments using AWC CLI scripts. We use this script as part of our continuous deployment to initiate the deployment on OpsWorks and then monitor for the results.
After initiating a deployment it will continue to check the status of that deployment
and monitor for success or fail. The script will exit with status 0 on success.
We're open to enhancements so please submit pull requests or ideas if you have them. So far this is pretty quick and dirty, but works pretty well.
Usage:
./opsworks-deploy <aws-region> <stack-id> <application-id>
Example:
$ ./opsworks-deploy us-east-1 1234-sdfhjkuytfdcxswerfgvbnk-23456 2234-akflshfiwefjnfsfdsdffs-111
Deployment initiated, ID: 12f01234441-6fsb-4b70-8bba-43012312374c
Attempt #0 of 30...
Current Status: running
Attempt #1 of 30...
Current Status: running
Attempt #2 of 30...
Current Status: running
Attempt #3 of 30...
Current Status: running
Attempt #4 of 30...
Current Status: running
Attempt #5 of 30...
Current Status: running
Attempt #6 of 30...
Current Status: running
Current Status: successful
Deployment completed successfully!
AWS CLI tools
This script makes use of the Amazon Web Services command line interface tools. They can
be installed by running pip install awscli. The tool expects environment variables
to be set for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. These you get from
AWS when you create a deployment IAM user.
统计信息
- 总下载量: 904
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-05