forked from github/gh-actions-importer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
035ca18
commit 6e1c588
Showing
1 changed file
with
28 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 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 | ||
- 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 |