Support shared configs #2286
Replies: 8 comments 3 replies
-
Adding additional info from the now-closed-as-duplicate #1179: 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 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. |
Beta Was this translation helpful? Give feedback.
-
I have attempted to implement something like this using the External Configuration API, but it seems that woodpecker fails to find pipelines using custom syntax, which my service is supposed to convert (adding an |
Beta Was this translation helpful? Give feedback.
-
For me, that is really importent ... i am really thinking of switching to gitlab-ci again for that. |
Beta Was this translation helpful? Give feedback.
-
that's sad but whatever works best for you :/ |
Beta Was this translation helpful? Give feedback.
-
What is the status of this feature? It's highly wanted and no progress since August 2023 :( |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Please don't comment like this. This is an open source project managed in our spare time. Nobody stops you from working on this issue and proposing changes, were happy to assist you if necessary. However, if there's no comment, we just have other priorities. Asking about the status of this won't change this. |
Beta Was this translation helpful? Give feedback.
-
Clear and concise description of the problem
As a user with multiple similar Woodpecker projects, I would like to share some configs between them. This would allow me to adjust configs by only editing it at one place.
Suggested solution
Alternative
In the meantime it would be possible to use #915 to use my own config pre-processing service which somehow injects shared configs.
Additional context
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions