|
|
|
@ -65,8 +65,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Run Performance Test |
|
|
|
|
env: |
|
|
|
|
email: performance_testing_user@example.com |
|
|
|
|
password: password |
|
|
|
|
ad_hoc_task_definition: core-review-${{ github.event.pull_request.number }}-ad-hoc |
|
|
|
|
cluster: core-review-${{ github.event.pull_request.number }}-app |
|
|
|
|
service: core-review-${{ github.event.pull_request.number }}-app |
|
|
|
@ -76,7 +74,7 @@ jobs:
|
|
|
|
|
overrides='{ |
|
|
|
|
"containerOverrides": [{ |
|
|
|
|
"name": "app", |
|
|
|
|
"command": ["sh", "./lib/tasks/performance_test.sh"] |
|
|
|
|
"command": ["bash", "-c", "export email=$STAGING_PERFORMANCE_TEST_EMAIL && export password=$STAGING_PERFORMANCE_TEST_PASSWORD && sh ./lib/tasks/performance_test.sh"] |
|
|
|
|
}] |
|
|
|
|
}' |
|
|
|
|
arn=$(aws ecs run-task --cluster $cluster --task-definition $ad_hoc_task_definition --network-configuration "$network" --overrides "$overrides" --group migrations --launch-type FARGATE --query tasks[0].taskArn) |
|
|
|
|