8000 Do not work well with gitlab action (require SHELL env) · Issue #40 · gulien/orbit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
Do not work well with gitlab action (require SHELL env) #40
Open
@mistraloz

Description

@mistraloz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0