-
Notifications
You must be signed in to change notification settings - Fork 680
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from github/bamboo-doc
AWS Code Deploy doc update
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# AWS Code Deploy | ||
|
||
## Bamboo input | ||
|
||
```yaml | ||
Deploy: | ||
... | ||
- any-task: | ||
plugin-key: com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-aws-codedeploy:task.aws.codeDeploy | ||
configuration: | ||
deploymentTimeout: '15' | ||
deploymentGroup: DgpECS-begona_cluster-alt_service | ||
credentialsId: '10092545' | ||
region: US_WEST_1 | ||
applicationName: AppECS-begona_cluster-alt_service | ||
s3Bucket: elasticbeanstalk-us-west-1-778232459879 | ||
``` | ||
## Transformed Github Action | ||
```yaml | ||
- uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-region: us-west-1 | ||
aws-access-key-id: "${{ secrets.AWS_ACCESS_KEY_ID }}" | ||
aws-secret-access-key: "${{ secrets.AWS_SECRET_ACCESS_KEY }}" | ||
- run: |- | ||
commit_hash=$(git rev-parse --short ${{ env.GITHUB_SHA }}) | ||
aws deploy create-deployment --application-name AppECS-begona_cluster-alt_service --deployment-group-name DgpECS-begona_cluster-alt_service --s3-location bucket=elasticbeanstalk-us-west-1-778232459879,key=${{ secrets.AWS_S3_BUCKET_KEY }},bundleType={{ env.BUNDLE_TYPE }} --github-location repository=$GITHUB_REPOSITORY,commitId=$commit_hash --ignore-application-stop-failures | ||
``` | ||
## Unsupported Options | ||
- credentialsId |
f685fd3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any issues with the table. It looks well-organized and informative. 🤝
f685fd3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accept it
f685fd3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.