Document matching refs with an at-symbol
What does this MR do?
Document pattern matching refs that contain an at-symbol.
At-symbols are used to match a ref to a specific repository path. Currently this is done by string splitting the ref pattern on the at-symbol. In order to pattern match a literal @
you must use RE2's hex character code matching \x40
.
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process. -
Security reports checked/validated by reviewer
Merge request reports
Activity
/cc @gl-docsteam
For reference, here is a link to the code this documentation is referring to, regarding ref pattern strings being split on at-symbols:
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/gitlab/ci/build/policy/refs.rb#L12-19
added Community contribution label
added documentation label
added devopsverify + 1 deleted label
@eread, can you review this MR?
- Resolved by Cody Mize
Thanks @kingcody.
I've suggested a minor edit, just to say the same thing with fewer words.
@dosuken123, this look technically correct?
Thanks all!
assigned to @kingcody
changed milestone to %11.10
- Resolved by Cody Mize
@kingcody Thanks. I left one question.
@dosuken123 If you're happy with the changes, now, let me know and I'll merge.
Thanks @kingcody
assigned to @eread
mentioned in commit 6c56bf31
mentioned in issue gitlab-org/release/tasks#731 (closed)