-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved params extraction to seperate function and fixed docs
- Loading branch information
1 parent
d352050
commit ee95580
Showing
4 changed files
with
97 additions
and
56 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 |
---|---|---|
|
@@ -5,21 +5,6 @@ This action allows you to wait for services to become stable **and** retry the w | |
|
||
## Inputs | ||
|
||
### `aws-access-key-id` | ||
|
||
**Required** - _string_\ | ||
Your `AWS_ACCESS_KEY_ID`. | ||
|
||
### `aws-secret-access-key` - `` | ||
|
||
**Required** - _string_\ | ||
Your `AWS_SECRET_ACCESS_KEY`. | ||
|
||
### `aws-region` | ||
|
||
**Required** - _string_\ | ||
Your `AWS_REGION`. | ||
|
||
### `ecs-cluster` | ||
|
||
**Required** - _string_\ | ||
|
@@ -32,9 +17,27 @@ A list of ECS services to make sure are stable. | |
|
||
### `retries` | ||
|
||
**Required** - _integer_\ | ||
_Optional_ - _integer_\ | ||
The number of times you want to try the stability check. Default `2`. | ||
|
||
### `aws-access-key-id` | ||
|
||
_Optional_ - _string_\ | ||
Your AWS ACCESS_KEY_ID.\ | ||
Must be provided as an input / defined as an environment variable. | ||
|
||
### `aws-secret-access-key` | ||
|
||
_Optional_ - _string_\ | ||
Your AWS SECRET_ACCESS_KEY.\ | ||
Must be provided as an input / defined as an environment variable. | ||
|
||
### `aws-region` | ||
|
||
_Optional_ - _string_\ | ||
Your AWS REGION.\ | ||
Must be provided as an input / defined as an environment variable. | ||
|
||
### `verbose` | ||
|
||
_Optional_ - _boolean_\ | ||
|
@@ -49,8 +52,10 @@ How many retries happened until success. | |
|
||
## Example usage | ||
|
||
### Using all available options | ||
|
||
```yaml | ||
uses: oryanmoshe/ecs-wait-action@v1.1 | ||
uses: oryanmoshe/ecs-wait-action@v1.3 | ||
with: | ||
aws-access-key-id: AKIAIOSFODNN7EXAMPLE | ||
aws-secret-access-key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | ||
|
@@ -60,3 +65,12 @@ with: | |
retries: 5 | ||
verbose: false | ||
``` | ||
### Minimal configuration | ||
```yaml | ||
uses: oryanmoshe/[email protected] | ||
with: | ||
ecs-cluster: my-ecs-cluster | ||
ecs-services: '["my-ecs-service-1", "my-ecs-service-2"]' | ||
``` |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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