Commit graph

39 commits

Author SHA1 Message Date
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
Isuru Fernando d02dfe993f
Update docs about selecting agent based on platform (#470)
Update docs about selecting agent based on platform for global pipeline config
2021-11-21 02:18:34 +01:00
Tim Coombs 745090b3af
Update Agent and Pipeline syntax documentation (#506)
- Creates `Agent Config` with examples of agents and configuration options
- Updates `Pipeline Syntax`
  - About the different types of conditionals
  - Sort Order (Global -> Step -> Advanced)
- Move Conditional Steps to own page

Co-authored-by: 6543 <6543@obermui.de>
2021-11-20 20:45:59 +01:00
6543 6828057f66
Switch default git plugin (#449)
* update pipeline samples

* update docs

* use woodpeckerci/plugin-git:latest as default

* code format nit
2021-10-15 19:54:28 -05:00
6543 169e7e5aa3
Refactor Gitlab Remote (#358)
- Replace custom client
- Update Docs
- Test if it works
- Update Tests

close #285
2021-10-03 14:42:47 +02:00
6543 44ae414bce
Add Migrations to docs header (#386)
* Docs: add Migrations to header

* fix diff
2021-09-30 15:39:20 +02:00
Anbraten 3f03052190
[Docs] Simplify docker-compose samples (#356) 2021-09-28 00:04:52 +02:00
Anbraten 96828b16c1
Support recursive glob for path conditions (#327)
* Support glob with doublestar for path conditions

* Update docs and pipeline
2021-09-21 06:18:43 +02:00
Nulo 8413bb0620
Remove non-existent changed status condition from docs (#322)
* docs(status): rewrite

status: changed doesn't exist in the current codebase and the
description was just confusing.

* Use consistent language

Co-authored-by: Anbraten <anton@ju60.de>

Co-authored-by: Nulo <git@nulo.in>
Co-authored-by: Anbraten <anton@ju60.de>
2021-09-19 13:02:24 +02:00
Nulo 427d26ebed
Fix typo in docs: plattform -> platform (#323)
Co-authored-by: Nulo <git@nulo.in>
2021-09-18 17:24:49 +02:00
Nulo 387760ccbf
Improve plugin docs (#313)
* docs: improve plugin docs

* drone do not use ssl

Co-authored-by: Anbraten <anton@ju60.de>

Co-authored-by: Nulo <git@nulo.in>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2021-09-17 22:08:13 +02:00
Anbraten 289f0c9ad6
Change pipeline config path resolution (#299)
# Config resolution
- pipeline-config setting empty / not specified (default): `.woodpecker/` => `.woodpecker.yml` => `.drone.yml`
- pipeline-config setting defined by user: try that file / folder and no fallback (if a user sets some special value that is normally done for some reason)

# Changes
- pipeline-config setting will be empty by default
- remove fallback setting for config loading (simplifies config)

---
closes #133

---

* adjust config fetching mechanism

* default path empty

* remove fallback flag from ui and db
2021-09-17 21:40:43 +02:00
Anbraten 9267a46d5c
[Docs] Migrate docs framework to Docusaurus (#282)
- Replace mkdocs with docosaurus (improved menu structure, ...)
- Structure docs into `Usage` and `Server Setup / Administration`
- Update favicon
- Create new pipeline-syntax page with all options and links to more detailed docs if available
- Add ci to publish to `woodpecker-ci.github.io`
- Deploy docs preview to surge for review
- Update start-page

Co-authored-by: 6543 <6543@obermui.de>
2021-09-11 17:10:32 +02:00