Skip to content

E2E: Integrate knapsack report setup in to QA framework

Andrejs Cunskis requested to merge acunskis-knapsack-download into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Integrate automated fetching and new report generation in to QA framework.

  • Automatically set necessary env variables for knapsack. Infer report name from the job name
  • Move new regenerated report to tmp folder (archived as artifacts in most e2e jobs already)
  • Use one single job to merge and upload new report from all parallel jobs
  • Fallback to master_report.json automatically if latest job specific report failed to download
  • Reduce some duplication in review-qa jobs setup

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

A test pipeline that simulated scheduled master run and regenerated and uploaded all the reports: https://gitlab.com/gitlab-org/gitlab/-/pipelines/436679875

package-and-qa runs are currently simply reverting to using master_report.json since changes in gitlab-qa project are not made yet.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Implements: Implement process to update knapsack files for ... (#13042 - closed)

Edited by Andrejs Cunskis

Merge request reports