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

Do not work well with gitlab action (require SHELL env) #40

Open
mistraloz opened this issue Nov 22, 2022 · 0 comments
Open

Do not work well with gitlab action (require SHELL env) #40

mistraloz opened this issue Nov 22, 2022 · 0 comments

Comments

@mistraloz
Copy link

Hello @gulien. I found an issue with gitlab action. I found a workaround (define SHELL env) but we may have a smart fix :)

Current bug

orbit run commandName return :

time="2022-11-22T16:35:19Z" level=info msg="executing command [ -c orbit generate -f utils/Dockerfile.slim.blueprint -o Dockerfile.slim.apache -p \"variant,apache\"] from task generate"
time="2022-11-22T16:35:19Z" level=error msg="fork/exec : no such file or directory"

Possible Solution

In file https://github.com/gulien/orbit/blob/master/app/runner/runner.go#L30 change for a default value like /bin/bash or just "bash".

Steps to Reproduce (for bugs)

  • Run orbit in gitlab action
  • Or just run in env without SHELL env defined

Context

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

No branches or pull requests

1 participant