You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitLab has added a custom yaml tag: !reference. This tag copies content from another path within the yaml document. The example use cases are to reuse script blocks in other CI jobs. Implementation in ruby is here: lib/gitlab/ci/config/yaml/tags/reference.rb
I've created an example project based on the above documentation.
It seems appropriate to create a !from_gitlab custom tag to load GitLab-specific yaml syntax. This would use a SafeLoader with support for !reference initially. It would also provide a place for scuba to support some or all of GitLab's include syntax.
GitLab has added a custom yaml tag: !reference. This tag copies content from another path within the yaml document. The example use cases are to reuse script blocks in other CI jobs. Implementation in ruby is here: lib/gitlab/ci/config/yaml/tags/reference.rb
I've created an example project based on the above documentation.
It seems appropriate to create a
!from_gitlab
custom tag to load GitLab-specific yaml syntax. This would use aSafeLoader
with support for!reference
initially. It would also provide a place forscuba
to support some or all of GitLab'sinclude
syntax.Sample
.gitlab-ci.yml
The text was updated successfully, but these errors were encountered: