Robertomonteromiguel/gitlab collapsible sections#7095
Conversation
|
|
|
…n summary Add DEBUG_LOGS_DOC_URL so the shared gitlab_print_logs.sh banner links to the scenario-specific debug docs (aws onboarding, k8s, docker-ssi), and capture the docker-ssi run.sh output to run_output.log with pipefail so the run summary is re-printed in the after_script. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 43c1c19625
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| --env ci \ | ||
| --verbose \ | ||
| --xpath-tag "test.codeowners=/testcase/properties/property[@name='test.codeowners']" | ||
| # Render all report logs as collapsible sections + run summary + banner. |
There was a problem hiding this comment.
Restore K8s JUnit upload before printing logs
In the K8s base job after_script, this replacement jumps straight from feature-parity handling to gitlab_print_logs.sh; the previous datadog-ci junit upload reports/logs*/reportJunit.xml ... block was removed here. For every K8S_LIB_INJECTION job that produces reportJunit.xml, Datadog Test Optimization will stop receiving K8s results while the Docker SSI job still uploads them, so CI dashboards/ownership tags lose coverage for these workflows. Please keep the JUnit upload block before rendering the collapsible logs.
Useful? React with 👍 / 👎.
Motivation
The after_script log-rendering logic (collapsible log sections + run summary + navigation banner) was duplicated/inline in .gitlab/ssi_gitlab-ci.yml. This PR extracts it into a single reusable script, utils/scripts/gitlab_print_logs.sh, and wires it into the three jobs that need it.
Changes
Workflow
🚀 Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
tests/ormanifests/is modified ? I have the approval from R&P teambuild-XXX-imagelabel is present