-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Allow to change entrypoint / shell for ci step #278
Comments
|
Well from securety standpoint: as long as we handle it like normal steps there should not be a downside ... we just make sure that asap it is set ... it's not considered as a plugin usage anymore |
For linux-like OS entrypoint and command look like mentioned above:
So, we depend on some |
This comment was marked as off-topic.
This comment was marked as off-topic.
well that's some legacy limitation we will get rid of in the near future ... it's al here only the backend's need to adopt the new capability |
beside for windows we have a powershell equivalent ... If you want to chat ... I suggest our Matrix-Rooms/Discord-Server :) |
Closes #278 --------- Co-authored-by: Anbraten <anton@ju60.de> Co-authored-by: 6543 <6543@obermui.de>
Closes woodpecker-ci#278 --------- Co-authored-by: Anbraten <anton@ju60.de> Co-authored-by: 6543 <6543@obermui.de>
Problem
Currently
/bin/sh
is used as entrypoint for every ci step. If an image does not contain/bin/sh
it can not be used with woodpecker ATM. For examplegcr.io/kaniko-project/executor:debug
only ships with/bin/busybox
.Solution
Allow to exec multiple commands with the agent instead of a single combined one. This could allow to use the default entrypoint or even a specific one. Commands could be executed with something like
docker exec
instead.Workaround
Create a plugin as plugins can define their entrypoint.
The text was updated successfully, but these errors were encountered: