Skip to content

Commit

Permalink
Fix required-projects.override-checkout
Browse files Browse the repository at this point in the history
This should be the same as job.override-checkout but is applied for a
specific required-project instead of all projects used by the job.
  • Loading branch information
Albin Vass committed May 29, 2024
1 parent 9b06245 commit bfbe31c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zuul_lint/zuul-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,10 @@
"properties": {
"name": { "type": "string" },
"override-checkout": {
"type": "boolean",
"type": [
"string",
"number"
],
"description": "When Zuul runs jobs for a proposed change, it normally checks out the branch associated with that change on every project present in the job. If jobs are running on a ref (such as a branch tip or tag), then that ref is normally checked out. This attribute is used to override that behavior and indicate that this job should, regardless of the branch for the queue item, use the indicated ref (i.e., branch or tag) instead, for only this project. See also the job.override-checkout attribute to apply the same behavior to all projects in a job.\nThis value is also used to help select which variants of a job to run. If override-checkout is set, then Zuul will use this value instead of the branch of the item being tested when collecting any jobs to run which are defined in this project."
}
},
Expand Down

0 comments on commit bfbe31c

Please sign in to comment.