-
-
Notifications
You must be signed in to change notification settings - Fork 373
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
RFC: pipeline compile step #1400
Comments
be aware as we would support with multible workflows multible compiles ... that this get's complicated quite fast |
we also might add a server flag to ignore this feature |
seems pretty similar to #53 |
I like the idea, this would also allow one to "emulate" some of the features of GitHub workflows by basically overriding a step declared with just a name and e.g. "fake" image with a step with all settings prepared (basically a plugin + the necessary config / commands)... which would increase code reusability and also ease updating a step in all repos (e.g. switching to a newer buildx plugin or changing defaults like proxy settings to match the environment) |
would be nice to be able to specify global (or org wide) permutate image that would by applied than to all respective pipelines |
This feature looks really great! Even if it was super-simple: generating entire woodpecker.yml using a docker image this would already provide enough tooling to write virtually any integration one can imagine. Thanks for thinking ahead and for your work 👍 |
What would be the input/output scheme of this compile step? maybe an approach to how github workflows handles output could be taken, eg: the env-var adding this feature would make woodpicker a viable alternative for us, as we rely on jsonnet for some of our pipelines. |
The standard is to use
I had a good experience using the matrix builds in tandem with the |
well, yeah, in theory, tho i think you gonna have a very hard time to make all programs a user would potentially want to use comply with that. |
Isn't that something that can be solved with redirection for non-complying programs? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Add a own section called
compile
into pipeline config.witch use normal workflow logic (default or custom clone) ... but it's output is no log but an pipeline config.
tldr: with way we could support starlark, jsonnet (#1396), drone >= 1.0, ... without needing to add it to woodpecker core
details
we either could make a special compile pipeline, and show it as own entry, witch trigger the actual pipeline with its config
(if we do so, we need to somehow link them UI/UX wise ...)
or we just use our multi workflow approach ... where one workflow (eventually with a different icon) is the compile and all generated workflows from it are also i it ... (as a compile could create one or more workflows)
we need to make sure we dont have a recursion in it -> see permutate example
example:
workaround:
use a Configuration Service
The text was updated successfully, but these errors were encountered: