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
As someone who has a number of small repos that all require similar CI config, I find gitlab's CI includes very useful.
This allows you to reference yaml documents in another repo and then they are included, and YAML merged, if multiples. This allows more composable pipelines, with more flexibility than the Woodpecker plugins (which are excellent, for some workflows).
I have a repo at gitlab.com/benyanke/common-ci-configs containing a number of composable CI bits that I use in various projects. One builds and pushes a docker container, one builds a hugo site, one publishes a hugo site to Netlify (a hosting provider), one publishes a hugo site to another provider, one lints, tests, and builds Golang projects, etc. On any given project, instead of needing to redefine all the required logic for a docker or go project, I simply include the go or docker include.
Clear and concise description of the problem
As someone who has a number of small repos that all require similar CI config, I find gitlab's CI includes very useful.
This allows you to reference yaml documents in another repo and then they are included, and YAML merged, if multiples. This allows more composable pipelines, with more flexibility than the Woodpecker plugins (which are excellent, for some workflows).
gitlab include docs
https://docs.gitlab.com/ee/ci/yaml/includes.html
To use my own gitlab repos as an example:
I have a repo at gitlab.com/benyanke/common-ci-configs containing a number of composable CI bits that I use in various projects. One builds and pushes a docker container, one builds a hugo site, one publishes a hugo site to Netlify (a hosting provider), one publishes a hugo site to another provider, one lints, tests, and builds Golang projects, etc. On any given project, instead of needing to redefine all the required logic for a docker or go project, I simply include the go or docker include.
Suggested solution
Gitlab CI-like include functionality.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: