-
Notifications
You must be signed in to change notification settings - Fork 6
docs: update configuration for merge request options and strategies #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -143,7 +143,6 @@ Patterns are **regular expressions**, so: | |||||||||||||||
| | `description` | GitLab project description | `generated by glabs` | Visible in UI | | ||||||||||||||||
| | `accesslevel` | Initial project access (see below) | `developer` | Can be changed later with `setaccess` | | ||||||||||||||||
| | `containerRegistry` | Enable container registry | `false` | Auto-enabled if `release.dockerImages` set | | ||||||||||||||||
| | `mergeRequest.mergeMethod` | Merge strategy (see below) | `merge` | Applied at project creation | | ||||||||||||||||
| | `students` | Override/add assignment-specific students | — | Merged with course-level | | ||||||||||||||||
| | `groups` | Override/add assignment-specific groups | — | Merged with course-level | | ||||||||||||||||
|
|
||||||||||||||||
|
|
@@ -309,9 +308,29 @@ release: | |||||||||||||||
| | `mergeRequest.pipeline` | Wait for CI | `false` | Require passing checks | | ||||||||||||||||
| | `dockerImages` | Images to build | `[]` | Creates container registry entries | | ||||||||||||||||
|
|
||||||||||||||||
| ### Merge method values | ||||||||||||||||
| **Notes:** | ||||||||||||||||
|
|
||||||||||||||||
| - Container registry is auto-enabled when `dockerImages` is set | ||||||||||||||||
| - Enables GitLab Flow workflow for releases | ||||||||||||||||
| - Works with CI/CD pipeline to build/deploy | ||||||||||||||||
|
|
||||||||||||||||
| ## Merge Request options | ||||||||||||||||
|
|
||||||||||||||||
| Control how merge requests are merged in every generated project: | ||||||||||||||||
|
|
||||||||||||||||
| ```yaml | ||||||||||||||||
| <assignment>: | ||||||||||||||||
| mergeRequest: | ||||||||||||||||
| mergeMethod: merge # merge | semi_linear | ff | ||||||||||||||||
|
Comment on lines
+322
to
+324
|
||||||||||||||||
| <assignment>: | |
| mergeRequest: | |
| mergeMethod: merge # merge | semi_linear | ff | |
| <course>: | |
| <assignment>: | |
| mergeRequest: | |
| mergeMethod: merge # merge | semi_linear | ff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The assignment-level YAML example above includes a
mergeRequest:block, but the “Assignment-level keys” table no longer mentions it. Consider adding a row formergeRequest(ormergeRequest.mergeMethod) and/or a pointer to the “Merge Request options” section so readers can discover the option from the key list.