Skip to content

Commit

Permalink
Merge pull request #41 from envato/add-option-plugin-yml
Browse files Browse the repository at this point in the history
Add option to plugin.yml
  • Loading branch information
Patrick Robinson authored Jul 10, 2019
2 parents ef41c1f + 3b7702d commit 3bdb5de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ target_group=$(eval "echo $target_group")
load_balancer_name=$(eval "echo $load_balancer_name")

deployment_config=${BUILDKITE_PLUGIN_ECS_DEPLOY_DEPLOYMENT_CONFIGURATION:-"100/200"}
# shellcheck disable=SC2206
min_max_percent=(${deployment_config//\// })
min_deploy_perc=${min_max_percent[0]}
max_deploy_perc=${min_max_percent[1]}
Expand Down
2 changes: 2 additions & 0 deletions plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ configuration:
type: string
target-container-port:
type: integer
deployment-config:
type: string
required:
- cluster
- service
Expand Down

0 comments on commit 3bdb5de

Please sign in to comment.