Commit e8d2538
feat(api): add content_ref and dry_run_ref parameters to ProjectCiLintManager
Add support for the new GitLab API parameters for validating existing
CI/CD configurations:
- content_ref: specify the branch, tag, or SHA to validate
- dry_run_ref: set branch/tag context for dry run simulations
The deprecated 'ref' parameter is kept for backward compatibility.
Also update documentation with examples showing how to validate
CI configuration from specific branches and with dry run simulation.
Fixes #32601 parent 2982f20 commit e8d2538Copy full SHA for e8d2538
File tree
Expand file treeCollapse file tree
2 files changed
+20
-1
lines changedOpen diff view settings
Filter options
- docs/gl_objects
- gitlab/v4/objects
Expand file treeCollapse file tree
2 files changed
+20
-1
lines changedOpen diff view settings
Collapse file
docs/gl_objects/ci_lint.rst
Copy file name to clipboardExpand all lines: docs/gl_objects/ci_lint.rst+12Lines changed: 12 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
46 | 46 | |
47 | 47 | |
48 | 48 | |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
49 | 61 | |
50 | 62 | |
51 | 63 | |
|
Collapse file
gitlab/v4/objects/ci_lint.py
Copy file name to clipboardExpand all lines: gitlab/v4/objects/ci_lint.py+8-1Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
51 | 51 | |
52 | 52 | |
53 | 53 | |
54 | | - |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
55 | 62 | |
56 | 63 | |
57 | 64 | |
|
0 commit comments