Harikesh00
36e42914fa
Renamed procs/jobs to steps in code ( #1331 )
...
Renamed `procs` to `steps` in code for the issue #1288
Co-authored-by: Harikesh Prajapati <harikesh.prajapati@druva.com>
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-10-28 17:38:53 +02:00
qwerty287
e568c42e84
Support plugin-only secrets ( #1344 )
...
Closes #1071
2022-10-27 04:21:07 +02:00
qwerty287
f6cac78119
Allow to change directory for steps ( #1329 )
...
Add `directory` YAML key that changes the workdir. Can replace a `cd`
before your commands start or make it possible to run plugins in a
subdirectory.
2022-10-24 16:31:06 +02:00
qwerty287
849e05bb8b
Rename build
to pipeline
in code ( #1224 )
...
Ref: #745
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2022-10-18 03:24:12 +02:00
Paul Tötterman
efd2cf8a6f
Spelling consistently ( #1267 )
...
Since you gladly accepted my typo fix commit, I started doing some spell
and consistency checking for the docs.
Co-authored-by: 6543 <6543@obermui.de>
2022-10-14 16:57:45 +02:00
Anbraten
287800ac62
Add when evaluate filter ( #1213 )
...
closes #312
closes #224
closes #963
Have a look for
https://github.com/antonmedv/expr/blob/master/docs/Language-Definition.md
2022-10-06 01:49:23 +02:00
Yehonatan Ezron
203ef518df
docs: add alternative naming options ( #1225 )
...
Added naming option to pipeline syntax with a list and name keyword
resolves #1119
2022-09-29 22:35:32 +02:00
[X]
b4d89a1cce
Add ability to trigger manual builds ( #1156 )
...
closes #83
closes #240
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-27 11:05:00 +02:00
Zav Shotan
ec9b0a62a7
Add support for pipeline root.when conditions ( #770 )
...
Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-26 09:27:20 +02:00
6543
531bdf5bd2
Hide example of YAML override and extension ( #1184 )
...
see #1192 for more info
2022-09-17 09:00:40 +02:00
Jan-Pieter Baert
ac2f1d26e8
Add more documentation about branch matching ( #1186 )
...
Closes #1183
2022-09-14 15:31:44 +02:00
Alexis Lefebvre
3266e5f3cc
use example.com instead of foo.com ( #1188 )
...
http://example.com/ is a reserved domain name, which is perfect for
examples, while foo.com is a random domain name
2022-09-14 15:20:27 +02:00
Anbraten
605a048b58
Use versioned docs ( #1145 )
2022-09-01 01:52:52 +02:00
6543
383f273392
Add cron feature ( #934 )
...
https://woodpecker-ci.org/docs/usage/cron
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-09-01 00:36:32 +02:00
6543
ca84f703e3
Add default event filter ( #1140 )
...
breakout from #934
when new events are added you don't have to worry that pipeline will behave different as it does now with this
Co-authored-by: Anbraten <anton@ju60.de>
2022-08-30 00:36:37 +02:00
Manu Hernandez
5fc1eb5138
Close code block ( #1121 )
...
Added missing code block end.
2022-08-24 20:07:58 +02:00
ktprograms
0eef104759
Note change to /woodpecker in default workspace path ( #1118 )
2022-08-20 11:17:59 +02:00
Anbraten
e269890643
Allow multiple when conditions ( #1087 )
...
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: LamaAni <zshotan@bloomberg.net>
2022-08-14 19:32:49 +02:00
Anbraten
446585ef1d
Add depends_on to pipeline syntax docs ( #1104 )
2022-08-14 17:32:01 +02:00
Arno Hautala
d5e31dc187
Provide global environment variables for pipeline substitution ( #968 )
...
* make global environment variables available for pipeline substitution
* lint fixes
* global env support in cli exec; procBuilder tests
* drop GLOBAL_ prefix
* docs
* documentation typo
* Update docs/docs/20-usage/50-environment.md
as suggested by anbraten
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2022-07-30 08:06:03 +02:00
6543
c3eed4ec01
Fix docs ( #1035 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2022-07-18 23:08:13 +02:00
6543
73ee12a6c3
fix docs: dont interupt section with unrelated new section ( #1029 )
2022-07-17 19:13:56 +02:00
6543
8da0ee47f7
Use variables in pipeline ( #1026 )
...
use yaml aliases (https://yaml.org/spec/1.2.2/#3222-anchors-and-aliases ) to have pipeline `variables`
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2022-07-17 18:25:56 +02:00
Arno Hautala
cdbba4c306
fix run_on references with runs_on in docs ( #965 )
2022-06-10 05:44:26 +02:00
Anbraten
e79ad00826
Add agent tagging / filtering for pipelines ( #902 )
...
Officially support labels for pipelines and agents to improve pipeline picking.
* add pipeline labels
* update, improve docs and add migration
* update proto file
---
closes #304 & #860
2022-05-31 01:12:18 +02:00
6543
328eb98109
Improve services docs ( #927 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-05-19 20:27:50 +02:00
6543
a8c23e9771
Update YAML notes in docs ( #928 )
...
* close #517
* sed -i 's/Yaml/YAML/g'
* Update docs/docs/20-usage/10-intro.md
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-05-19 20:07:27 +02:00
Sam Van Campenhout
eb2118e451
Clarify the when.tag
example ( #918 )
...
Clarify the `when.tag` example:
- The `tag` filter is only used if it's also a `tag` event, so this makes the example clearer for new users.
- mention glob
2022-05-17 16:11:53 +02:00
qwerty287
687d57217d
Fix branch condition on tags ( #917 )
...
* Fix branch condition on tags
* Add docs
* Update docs/docs/20-usage/20-pipeline-syntax.md
Co-authored-by: Anbraten <anton@ju60.de>
2022-05-16 20:04:00 +02:00
Zav Shotan
7313de2b1d
Add support for superseding runs ( #831 )
...
closes #11
Added support:
1. Environment variable `WOODPECKER_DELETE_MULTIPLE_RUNS_ON_EVENTS` (Default pull_request, push)
2. Builds will be marked as killed when they "override" another build
2022-05-09 11:26:09 +02:00
runephilosof-karnovgroup
3cc7515acf
Fix phrasing ( #887 )
...
* Fix phrasing
Pipelines wait for dependencies finish successfully
* Update docs/docs/20-usage/25-multi-pipeline.md
Co-authored-by: Anbraten <anton@ju60.de>
2022-04-20 17:00:26 +02:00
Anbraten
ee97977b93
Update and cleanup docs ( #851 )
...
- migrate step conditions back into pipeline syntax, but show 2-4 level in toc to be able to see `when` keywords
- create new backend section in admin docs
- update docusaurus
- remove prefix docker of container / container-image where possible
- replace terms SCM, VCS, Github with [forge](https://en.wikipedia.org/wiki/Forge_(software) )
- add darkmode favicon variant
2022-04-06 17:15:28 +02:00
Anthony Wang
80c72b590c
Add support to run pipelines using a local backend ( #709 )
...
This adds support for #559 . I tested using [this .woodpecker.yml](https://git.exozy.me/Ta180m/Hello-world/src/branch/main/.woodpecker.yml ) on my self-hosted [Woodpecker instance](https://ci.exozy.me/Ta180m/Hello-world ). I was also able to get this to build [Hugo websites](https://ci.exozy.me/Ta180m/howtuwu/build/1 ). It's currently very simplistic but works!
close #559
2022-03-10 22:07:02 +01:00
Johan Van de Wauw
8fa2a5efe4
Fix various typos ( #835 )
2022-03-09 01:44:08 +01:00
mscherer
32d56ed795
Fix links in documentation ( #832 )
2022-03-04 09:16:21 +01:00
Anbraten
40b5c6a320
Add hint for not visibles trusted option in project settings for non-admins ( #807 )
2022-02-26 15:01:51 +01:00
6543
7b2b884a0e
Add Codecov.io Upload ( #660 )
...
use https://github.com/woodpecker-ci/plugin-codecov to track code coverage on codecov.io
2022-02-01 19:34:56 +01:00
FestplattenSchnitzel
9feb6be9f2
Fix typo ( #714 )
2022-01-23 02:25:44 +01:00
jdoubleu
074e2cd38a
minor updates to docs ( #712 )
...
* correct minor spellings in the docs
* add warning about artifacts not being shared in multi-pipelines
* highlight note on multi-pipelines docs page
* update mentions of GitLab to use its official notation (camel case)
2022-01-20 18:24:16 +01:00
Anbraten
401072abb1
Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes ( #697 )
2022-01-17 23:46:59 +01:00
Anbraten
50570cba5c
Automatically determine platform of agent ( #690 )
...
* Automatically determine platform of agent
* add migration hint
* cleanup docs a bit
2022-01-17 15:19:30 +01:00
6543
04eb7935db
Improve compile pipeline ( #699 )
...
Refactor
- use constants for strings
- more tests
- move constraint code into own package
Enhance
- all constrains use doublestart (glob pattern matching) now
Co-authored-by: Anbraten <anton@ju60.de>
2022-01-17 14:43:30 +01:00
Anbraten
ce222dfe0e
Add registries docs ( #679 )
2022-01-09 02:50:25 +01:00
Philipp
4f015edc05
Add repo
to when
block ( #642 )
...
Co-authored-by: 6543 <6543@obermui.de>
2021-12-30 02:30:08 +01:00
John Olheiser
9e8d1a9294
Get secrets in settings ( #604 )
...
* Get secrets in settings
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add error test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add docs
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-12-13 13:33:07 -06:00
6543
7fb9191cce
Update Documentation (fix diffs and add settings) ( #569 )
...
* Add migration guide for plugin settings
* Update screenshot snippets
* Adjust plugin settings
* Fix diff insertion
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2021-12-06 18:18:53 +01:00
John Olheiser
71b9179078
Move plugin config to root.pipeline.[step].settings ( #464 )
...
* Move Vargs to Settings
* Allow both until deprecation
* Add more tests
* Adjust schema
* Add missing detach option, fix schema tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2021-12-04 16:44:18 +01:00
6543
d3eabbdebc
Update README ( #560 )
...
* Add "Stars over time to README
* Move info from README into docs & link to it
* New CI location
* New screenshot
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2021-12-03 15:36:22 +01:00
seabass-labrax
494c211910
Add notice of supported YAML versions in docs ( #556 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2021-12-01 12:00:41 +01:00
Anbraten
063d0bb32a
Replace DRONE_ with CI_ variables in pipeline steps ( #427 )
...
Dropped support for `DRONE_*` environment variables in pipeline steps. Pipeline meta-data can be accessed with `CI_*` variables.
- `CI_*` prefix replaces `DRONE_*`
- `CI` value is now `woodpecker`
- `DRONE=true` has been removed
2021-11-25 20:43:31 +01:00