Skip to content

Commit

Permalink
fix(kurtosis): output artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tosettil-polimi committed Nov 15, 2024
1 parent 01b9bba commit dfb5e4c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test-kurtosis-assertoor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ jobs:
wget -O kurtosis_config_with_p.yaml https://raw.githubusercontent.com/erigontech/erigon/feat/assertor-testing/.github/workflows/kurtosis/config-pectra.properties
sed 's#<<ERIGON_IMAGE_PLACEHOLDER>>#${{ env.APPLICATION }}:${{ env.BUILD_VERSION }}#g' kurtosis_config_with_p.yaml > kurtosis_config.yaml
- name: Create logs directory
run: mkdir -p logs

- name: Run Kurtosis + assertoor tests
id: kurtosis-test
continue-on-error: true
Expand All @@ -190,13 +193,21 @@ jobs:
#kurtosis_extra_args: --verbosity detailed --cli-log-level trace
enclave_dump: false

- name: Save job output
if: always()
run: |
echo "::group::Kurtosis Test Output"
echo "${{ toJSON(steps.kurtosis-test.outputs) }}" > logs/kurtosis-outputs.json
echo "::endgroup::"
- name: Save Kurtosis test logs
if: always()
uses: actions/upload-artifact@v4
with:
name: kurtosis-test-logs
path: |
.kurtosis/logs/**/*.log
logs/kurtosis-outputs.json
./**/*.log
kurtosis-logs/**
retention-days: 14

Expand Down

0 comments on commit dfb5e4c

Please sign in to comment.