Commit f50e51c
committed
NV-4418 Make the GitLab pipeline self-contained
Fetch the SARIF-to-GitLab converter from its single canonical location in
the convert stage, so a repo that copy-pastes only this YAML (without
bundling the Python script) still produces the report on the final stage.
Use curl -sSfL so a missing or moved converter fails loudly instead of
emitting an empty report.
The fetch pins to the mutable 'main' branch (a deliberate POC choice so it
picks up converter fixes); a comment flags that it should be pinned to a
tag/SHA before promotion. The now-unused in-repo converter is marked
superseded; its removal is tracked under NV-4412.
Kept minimal on purpose: the reports:sast mislabel, python:3.9 image,
dind socket, scan-id parse, and rules/workflow gating are deferred to the
Phase 1 CLI export work (NV-4412), which replaces this fetch with
"nightvision export gitlab".1 parent 7c23b85 commit f50e51c
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
71 | 81 | | |
72 | 82 | | |
73 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
0 commit comments