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

[DISCO-3134] Fix Test Artifacts Upload to GCS on Failure #803

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Conversation

Trinaa
Copy link
Contributor

@Trinaa Trinaa commented Feb 21, 2025

References

JIRA: DISCO-3134

Description

Uploading test artifacts using the 'upload-test-artifacts' job will not work should one of its dependent test jobs fail. This fix uses a step with the directive to run 'when: always' to assure artifact upload.

PR Review Checklist

Put an x in the boxes that apply

  • This PR conforms to the Contribution Guidelines
  • The PR title starts with the JIRA issue reference, format example [DISCO-####], and has the same title (if applicable)
  • [load test: (abort|skip|warn)] keywords are applied to the last commit message (if applicable)
  • Documentation has been updated (if applicable)
  • Functional and performance test coverage has been expanded and maintained (if applicable)

Uploading test artifacts using the 'upload-test-artifacts' job will not work should one of its dependent test jobs fail. This fix uses a step with the directive to run 'when: always' to assure artifact upload.

Relates To: DISCO-3134
@Trinaa Trinaa requested a review from a team February 21, 2025 16:11
- upload_to_gcs:
source: workspace/test-results
destination: gs://ecosystem-test-eng-metrics/merino-py/coverage
extension: json
Copy link
Contributor

Choose a reason for hiding this comment

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

okay to have the same name for both steps?

Copy link
Contributor

Choose a reason for hiding this comment

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

ah I see it takes parameters, nice!

@Trinaa Trinaa added this pull request to the merge queue Feb 21, 2025
Merged via the queue into main with commit f449653 Feb 21, 2025
11 checks passed
@Trinaa Trinaa deleted the DISCO-3134 branch February 21, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants