aweris / gale

GitHub Action Local Executor
Apache License 2.0
143 stars 4 forks source link

"sh -c echo workflow not found && exit 1" running job #114

Closed marcosbianchi closed 1 year ago

marcosbianchi commented 1 year ago

Workflows listed ok using: gale list

Executed gale run .github/workflows/workflow.yml job-name

76: exec /entrypoint
76: > in service v975nob2u91fo.8951mv3r8eggq.dagger.local
Error: input:1: container.from.withUnixSocket.withFile.withEnvVariable.withMountedCache.withServiceBinding.withEnvVariable.withEnvVariable.withServiceBinding.withEnvVariable.withEnvVariable.withExec.sync process "sh -c echo workflow not found && exit 1" did not complete successfully: exit code: 1

Running on MacOS Ventura 13.5 - Macbook Pro M1

aweris commented 1 year ago

gale isn't able to find the workflow you want to execute. Can you share the output of the list command and the command you're trying to execute?

Without seeing logs I can't tell much but you can double check:

marcosbianchi commented 1 year ago

Sure!

Screenshot 2023-09-02 at 13 54 40

Screenshot 2023-09-02 at 13 57 38

finally the error message

image

aweris commented 1 year ago

it seems your workflow name is Lint but you're trying to call workflow with its path. Can you try to run gale run Lint run-linters

image
marcosbianchi commented 1 year ago

Yeah, you're right, that worked! I always though in the filename instead of the name. Thank your very much for your time

image
aweris commented 1 year ago

That's perfect. I'm closing this issue then.

I'm seeing an error in your pipeline, if it's open source can you share this project with me? I would like to know the cause of the error.