Skip to content

Commit

Permalink
Merge pull request #2472 from chatwork/update-aws-sdk-on-gatling-ecs-…
Browse files Browse the repository at this point in the history
…client

[gatling-ecs-client]update aws-sdk and moment-timezone
  • Loading branch information
masa0221 authored Apr 2, 2024
2 parents d3757e8 + 09aa08c commit dac3810
Show file tree
Hide file tree
Showing 4 changed files with 1,235 additions and 692 deletions.
2 changes: 1 addition & 1 deletion gatling-ecs-client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:16.3.0-slim

LABEL version=0.1.1
LABEL version=0.1.2

WORKDIR /usr/src/app

Expand Down
12 changes: 6 additions & 6 deletions gatling-ecs-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,22 @@ As a Example, please copy and modify samples/example.json

```sh
# with iam
$ docker run -it --rm -v ~/.aws/credentials:/root/.aws/credentials:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.1
$ docker run -it --rm -v ~/.aws/credentials:/root/.aws/credentials:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.2

# with sso
$ aws sso login
$ docker run -it --rm -v ~/.aws:/root/.aws:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.1
$ docker run -it --rm -v ~/.aws:/root/.aws:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.2
```

### Using specific aws profile

```sh
# with iam
$ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -v ~/.aws/credentials:/root/.aws/credentials:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.1
$ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -v ~/.aws/credentials:/root/.aws/credentials:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.2

# with sso
$ aws sso login --profile "xxxxxxx"
$ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -v ~/.aws:/root/.aws:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.1
$ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -v ~/.aws:/root/.aws:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.2
```

### Using Chatwork API Token to send message when task completed
Expand All @@ -86,9 +86,9 @@ $ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -v ~/.aws:/root/.aws:ro -v "$PWD"
$ export CHATWORK_API_TOKEN=xxxxxxxxxxxxxxxxxxx

# with iam
$ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -e CHATWORK_API_TOKEN -v ~/.aws/credentials:/root/.aws/credentials:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.1
$ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -e CHATWORK_API_TOKEN -v ~/.aws/credentials:/root/.aws/credentials:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.2

# with sso
$ aws sso login --profile "xxxxxxx"
$ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -e CHATWORK_API_TOKEN -v ~/.aws:/root/.aws:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.1
$ docker run -it --rm -e AWS_PROFILE="xxxxxxx" -e CHATWORK_API_TOKEN -v ~/.aws:/root/.aws:ro -v "$PWD"/gatlingEcs.json:/usr/src/app/setting.json chatwork/gatling-ecs-client:0.1.2
```
Loading

0 comments on commit dac3810

Please sign in to comment.