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

upload debug logs #308

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

upload debug logs #308

wants to merge 4 commits into from

Conversation

ladamesny
Copy link
Contributor

@ladamesny ladamesny commented Dec 9, 2024

Description

Store logs for E2E tests in ci.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages.
  • New tests are added if needed and existing tests are updated.
  • Relevant logging and metrics added
  • CI passes. See note on CI.
  • Any changes are noted in the changelog.md for affected crate
  • Self-reviewed the diff

Note on CI

If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG Partner Chains developers to do this
for you.

@ladamesny ladamesny self-assigned this Dec 9, 2024
@ladamesny ladamesny added the E2E-tests E2E Tests for SDET review/approval label Dec 9, 2024
Comment on lines +113 to +123
if [[ "${{ inputs.keyword }}" == "test_get_status or test_get_params" ]]; then
TEST_PHASE="smoke"
elif [[ "${{ inputs.tests }}" == "postmerge" ]]; then
if [[ "${{ inputs.mc_epoch }}" == "3" ]]; then
TEST_PHASE="postmerge-final"
else
TEST_PHASE="postmerge-epoch${{ inputs.mc_epoch }}"
fi
else
TEST_PHASE="premerge"
fi
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't scale well when we add/change test suites. Debug logs are used when something fails, so let's just use the same name for every artifact and overwrite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E-tests E2E Tests for SDET review/approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants