Skip to content
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

Includable Configs (ala gitlab ci) #1179

Closed
3 tasks done
benyanke opened this issue Sep 11, 2022 · 2 comments
Closed
3 tasks done

Includable Configs (ala gitlab ci) #1179

benyanke opened this issue Sep 11, 2022 · 2 comments

Comments

@benyanke
Copy link

benyanke commented Sep 11, 2022

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

@qwerty287
Copy link
Contributor

Is that a duplicate of #1089?

@benyanke
Copy link
Author

Quite right, it is. I did some digging, but that one didn't come up for me. I'll add my bits to that thread close this issue out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants