Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup windows soaking #117

Merged
merged 2 commits into from
Nov 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/soaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Run Soaking test
run: |
if [[ -f testing-framework/terraform/testcases/${{ matrix.testcase }}/parameters.tfvars ]] ; then opts="-var-file=../testcases/${{ matrix.testcase }}/parameters.tfvars" ; else opts="" ; fi
cd testing-framework/terraform/soaking && terraform init && terraform apply -auto-approve $opts -var="aoc_version=${{ needs.get-testing-version.testing_version }}" -var="testcase=../testcases/${{ matrix.testcase }}"
cd testing-framework/terraform/soaking && terraform init && terraform apply -auto-approve $opts -var="aoc_version=${{ needs.get-testing-version.testing_version }}" -var="testcase=../testcases/${{ matrix.testcase }}" -var="testing_ami=${{ matrix.testing_ami }}"

- name: Destroy resources
if: ${{ always() }}
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Run Soaking test
run: |
if [[ -f testing-framework/terraform/testcases/${{ matrix.testcase }}/parameters.tfvars ]] ; then opts="-var-file=../testcases/${{ matrix.testcase }}/parameters.tfvars" ; else opts="" ; fi
cd testing-framework/terraform/soaking && terraform init && terraform apply -auto-approve $opts -var="negative_soaking=true" -var="aoc_version=${{ needs.get-testing-version.testing_version }}" -var="testcase=../testcases/${{ matrix.testcase }}"
cd testing-framework/terraform/soaking && terraform init && terraform apply -auto-approve $opts -var="negative_soaking=true" -var="aoc_version=${{ needs.get-testing-version.testing_version }}" -var="testcase=../testcases/${{ matrix.testcase }} -var="testing_ami=${{ matrix.testing_ami }}"

- name: Destroy resources
if: ${{ always() }}
Expand Down
4 changes: 2 additions & 2 deletions e2etest/get-testcases.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
ecs_matrix = {"testcase": [], "launch_type": ["EC2", "FARGATE"]}
eks_matrix = {"testcase": []}
local_matrix = {"testcase": []}
soaking_matrix = {"testcase": []}
negative_soaking_matrix = {"testcase": []}
soaking_matrix = {"testcase": [], "testing_ami": ["soaking_linux", "soaking_windows"]}
negative_soaking_matrix = {"testcase": [], "testing_ami": ["soaking_linux", "soaking_windows"]}
matrix = {
"ec2_matrix": ec2_matrix,
"ecs_matrix": ecs_matrix,
Expand Down