Skip to content

Commit

Permalink
Always run terratest_log_parser and upload the artifact (#896)
Browse files Browse the repository at this point in the history
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
  • Loading branch information
jkremser authored Jun 2, 2022
1 parent f7cd81d commit b03258e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/terratest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
echo "::endgroup::"
- name: Terratest log parser
if: always()
run: |
curl --location --silent --fail --show-error -o terratest_log_parser https://github.com/gruntwork-io/terratest/releases/download/v0.38.8/terratest_log_parser_linux_amd64
chmod +x terratest_log_parser
Expand All @@ -98,6 +99,7 @@ jobs:
echo Separated log files will be available under artifact section at https://github.com/k8gb-io/k8gb/actions/runs/${{ github.run_id }}
- uses: actions/upload-artifact@v2
if: always()
with:
name: terratest-logs
path: ${{ github.workspace }}/tmp/terratest
2 changes: 2 additions & 0 deletions .github/workflows/upgrade-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
echo "::endgroup::"
- name: Terratest log parser
if: always()
run: |
curl --location --silent --fail --show-error -o terratest_log_parser https://github.com/gruntwork-io/terratest/releases/download/v0.38.8/terratest_log_parser_linux_amd64
chmod +x terratest_log_parser
Expand All @@ -95,6 +96,7 @@ jobs:
echo Separated log files will be available under artifact section at https://github.com/k8gb-io/k8gb/actions/runs/${{ github.run_id }}
- uses: actions/upload-artifact@v2
if: always()
with:
name: terratest-logs
path: ${{ github.workspace }}/tmp/terratest

0 comments on commit b03258e

Please sign in to comment.