Generate release report from within the GitLab CI pipeline
Issue description
At the moment we are generating "release reports" in a CI pipeline running in the cip-release-reports repository.
Whilst this is working, the timing of these generated reports doesn't tie in with when the actual CI pipelines are run. It also means that users have to navigate to a separate project/GitLab pages instance to see the release report.
We want to start generating a release report for a specific build pipeline within that build pipeline itself. This could be done as a job in a new "reporting" stage. Once the report is generated the user can find the link within that same pipeline - finally completing the build/test/reporting loop all in a single GitLab CI pipeline.
In order to achieve this we are going to have to work out if GitLab pages allows us to publish individual html pages from different pipelines running on different branches to the same gitlab "page".
As part this task we'll also have to
- Wait for test jobs to complete before we generate the report
- Resubmit any incomplete test jobs (perhaps just a maximum of 1 or 2 times)
- Stop waiting for test results to complete in the test CI jobs - i.e. make them submit the tests only
Useful links
Acceptance criteria
-
Investigate if we can use push to GitLab pages from different branches without overwriting the data -
Create a script (or reuse from cip-release-reports that generates the release report -
Add a new stage & job to the CI pipeline that runs the report generation -
Stop waiting for test results to complete in the test CI jobs -
Show the Kernel team the changes and gather feedback