Open wez opened 1 year ago
If I can be frank, the docs for the CLI are particularly light on meaningful detail. While they appear to have a list of all of the possible options but there is no explanation for anything. I only found the exec .
thing by reading through the issues on github. It would be great to have a getting started section that shows how best to use exec
!
My goal in this situation is to build up my pipelines without making dozens of pushes to dial things in.
What do you would like to change? Would just more documentation be enough?
my perception is that this command doesn't work as advertised by its help; the repo needs to be mounted in the first case.
In the second case, I would like some other way to scope the workflow that is being run, and not have woodpecker look through random directories
Component
cli
Describe the bug
Running a pipeline directly like this:
fails to mount the repo, so fails to run the
get-deps.sh
script that is present in the repo.However, running it like this:
worryingly enumerates all the various yaml files in my working copy (those shown are from misc .cache and .github directories) as shown above, as if it were trying to run those, but does mount the repo and is able to run the script from inside it.
My expectation is that I can specify the pipeline I want to run based on the
--help
output:and have the repo mounted in the pipeline at the same time.
System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]