From 2bf68c621617f785450bad4fefb6053e0b0343d4 Mon Sep 17 00:00:00 2001 From: "Pavan Sai Vasireddy (Vasi)" Date: Mon, 7 Nov 2022 16:26:00 -0800 Subject: [PATCH 1/2] Use terraform version in the soak workflow --- .github/workflows/soaking.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/soaking.yml b/.github/workflows/soaking.yml index a96144a94..7bb3e5dcd 100644 --- a/.github/workflows/soaking.yml +++ b/.github/workflows/soaking.yml @@ -150,6 +150,8 @@ jobs: echo TERRAFORM_DIRECTORY=${{ matrix.language }}/integration-tests/${{ matrix.sample-app }}/${{ matrix.instrumentation-type }} | tee --append $GITHUB_ENV - uses: hashicorp/setup-terraform@v2 + with: + terraform_version: 1.3.1 - name: Initialize terraform run: terraform init working-directory: ${{ env.TERRAFORM_DIRECTORY }} From a70d1ceb6b171f83ad4bf19985dada45484625dc Mon Sep 17 00:00:00 2001 From: "Pavan Sai Vasireddy (Vasi)" Date: Tue, 8 Nov 2022 11:27:50 -0800 Subject: [PATCH 2/2] Use Success() condition in the soak workflow --- .github/workflows/soaking.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/soaking.yml b/.github/workflows/soaking.yml index 7bb3e5dcd..13685b832 100644 --- a/.github/workflows/soaking.yml +++ b/.github/workflows/soaking.yml @@ -253,7 +253,7 @@ jobs: -a ${{ matrix.architecture }} - name: Set output if layer Soak Tests has error id: set-layer-if-error-output - if: ${{ failure() }} + if: ${{ success() }} run: echo "::set-output name=${{ matrix.language }}-${{ matrix.instrumentation-type }}-error::FAILED" - name: Remove sdk layers from terraform management to prevent deletion. if: ${{ matrix.language != 'go' }}