Commit graph

4 commits

Author SHA1 Message Date
qwerty287
719021b91c
Fix step syntax in docs (#3635)
Some are not using array syntax yet…
2024-04-21 18:51:08 +02:00
6543
399bc5bf1b
Document how to enable parallel step exec for all steps (#3605)
Document how depends_on work in more details

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-04-10 12:31:42 +02:00
manuelluis
9c684b7a22
Add option to set the local repository path to the cli command exec. (#3524)
The cli command exec not handle in a coherent way the repository path
when a directory or filename is given for the pipeline.

` woodpecker-cli exec [command options] [path/to/.woodpecker.yaml]`

If the path to the pipeline is a file in the `.woodpecker` directory,
for example: `.woodpecker/pipeline.yaml`,
the repository path will be: `.woodpecker`

If the path to the pipeline yaml is a directory with more than one
level, for example `ci/woodpecker/`,
the repository path will be:  `ci`

In order not to break the old behavior we added a new option to put the
root directory of the repository:
~~~
woodpecker-cli exec --local --repo-path . --pipeline-event manual
.woodpecker/build.yml
~~~
2024-03-21 00:19:48 +01:00
6543
385e7e3a49
Create docs for v2.4.x (#3507) 2024-03-19 08:36:20 +01:00