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
vanous
991fcf7412
Add more documentation for local backend ( #1107 )
2022-08-14 16:43:06 +02:00
qwerty287
bed3ef104c
Support Docker credential helpers ( #1075 )
...
* support docker credential and add docker-credential-ecr-login into alpine image
* Remove ecr from docker and add docs
* Update docs/docs/30-administration/22-backends/10-docker.md
Co-authored-by: WeStone <xuecanlong@qq.com>
Co-authored-by: Anbraten <anton@ju60.de>
2022-08-14 10:46:18 +02:00
Anbraten
fdf5fd3f69
Use local search and update docusaurus ( #1093 )
2022-08-14 09:19:24 +02:00
Hrvoje Slaviček
3367933378
Add hints for reverse proxying of grpc server ( #1091 )
...
* Update 70-proxy.md
* Update docs/docs/30-administration/70-proxy.md
* fix suggestion
Co-authored-by: Anbraten <anton@ju60.de>
2022-08-12 09:34:49 +02:00
qwerty287
d22821afc1
Add logs
command to CLI & update forges supported features docs ( #1064 )
...
* Complete forges overview + add `logs` command to CLI
* Update 10-overview.md
Co-authored-by: 6543 <6543@obermui.de>
2022-08-09 10:17:39 +02:00
Julian Groß
3714605808
Fix broken link in documentation ( #1057 )
2022-07-31 20:42:35 +02:00
Anbraten
5557674835
Add gitpod setup ( #1020 )
...
Adding [Gitpod](https://github.com/gitpod-io/gitpod ) allows us and others to easily start a complete Woodpecker setup and development cloud IDE. It starts a Woodpecker server, agent and a preconfigured Gitea instance. You can login at Gitea with `woodpecker` and `password`.
2022-07-31 17:07:18 +02:00
Lauris BH
01bfbba458
Add pipline convert tool to docs ( #1054 )
2022-07-30 21:08: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
Silje Kristensen
e08e1e1b4b
chore: fix sentence structure ( #1013 )
2022-07-06 15:11:03 +02:00
Simon Michalke
14e1520bf9
Extend FAQ with clone debugging howto ( #996 )
2022-06-20 19:15:15 +02:00
Lauris BH
99f1b70570
Add option to launch all needed services for local development ( #988 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-06-17 16:24:49 +02:00
6543
08479390ff
Use editorconfig-checker ( #982 )
2022-06-17 12:03:34 +02:00
6543
0ab5182402
Document package architecture ( #972 )
...
to make it easier for devs to find the right place for code
close #655
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-06-16 15:35:58 +02:00
Arno Hautala
cdbba4c306
fix run_on references with runs_on in docs ( #965 )
2022-06-10 05:44:26 +02:00
6543
024a12105f
fix name of field in the response from config api ( #962 )
...
Co-authored-by: GulfSugar <gulfsugar@noreply.codeberg.org>
2022-06-09 12:00:13 +02:00
Anbraten
cc30db44ac
Use asym key to sign webhooks ( #916 )
...
* use async key pair for webhooks
* fix tests
* fix linter
* improve code
* add key pair to database
* undo some changes
* more undo
* improve docs
* add api-endpoint
* add signaturne api endpoint
* fix error
* fix linting and test
* fix lint
* add test
* migration 006
* no need for migration
* replace httsign lib
* fix lint
Co-authored-by: 6543 <6543@obermui.de>
2022-06-01 20:06:27 +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
Anbraten
56a55842f6
fixed typo and actual name of json field ( #942 )
2022-05-30 00:56:28 +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
Nguyen Phi Truong
baf8b962de
Fix typo in docs ( #930 )
2022-05-19 14:30:15 +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
7d7d75d7e5
Support localized web UI ( #912 )
...
* Add support for localization
* Add docs & format code
* Add lib to docs
2022-05-16 21:18:48 +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
qwerty287
6568751320
Allow to change forge status messages ( #900 )
...
Allow to change the status message via template option
Closes https://github.com/woodpecker-ci/woodpecker/issues/855
2022-05-12 19:07:33 +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
mscherer
a127745a23
Add documentation about Podman usage ( #901 )
2022-05-07 14:19:28 +02:00
mscherer
da98ef7108
Fix spelling ( #897 )
2022-04-30 11:09:33 +02:00
Anbraten
62a1fd8dcb
Add support to define a custom docker network and enable docker ipv6 ( #893 )
...
- Add support to define a custom docker network and enable docker ipv6
- Adjust docs
2022-04-29 15:15:32 +02:00
qwerty287
9c6c4559a7
Add SSH backend ( #861 )
...
Add SSH backend that runs commands via SSH.
Close #848
2022-04-29 12:30:50 +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
John Olheiser
517be0394c
Initial version of CLI docs ( #886 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Anbraten <anton@ju60.de>
2022-04-19 14:24:24 +02:00
Ruan Bekker
3a3282cde2
Add blogpost about setup of Woodpecker and Gitea ( #883 )
2022-04-14 09:16:16 +02:00
jklippel
a5a288718d
FIX: database docker-compose documentation ( #878 )
...
environment in docker-compose files is an array: lines start with a dash (-) and key value assignments are done using an equal sign (=)
Co-authored-by: 6543 <6543@obermui.de>
2022-04-13 23:04:50 +02:00
mscherer
410b0bb217
Add some warning regarding the local backend ( #875 )
2022-04-07 17:50:37 +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
qwerty287
eb6d69e1fd
Use Gogs' try instance as default value ( #852 )
2022-03-27 04:05:56 +02:00
Andreas Brain
4cfe01b078
Fix broken link ( #844 )
2022-03-20 23:44:54 +01: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
Lukas Bachschwell
c16d42f81e
Add missing flag and docs ( #825 )
...
* Add missing flag and docs
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
Co-authored-by: Anbraten <anton@ju60.de>
2022-03-02 16:49:00 +01:00
Lukas Bachschwell
09e6460f95
Allow loading sensitive flags from files ( #815 )
...
With systems like docker swarm or docker compose it is usually a little awkward to manage secrets.
There is no way to directly inject them into the environment config. So you often have to write your secrets directly into the compose file
There are hacky workarounds such as overriding the entry-point of the container and loading a script which then fetches secrets from /run/secrets and replaces the environment variables, but this becomes very difficult once we are using docker images built from "scratch" (which is a really great practice otherwise) as there is no shell or standard tooling available
This adds a *_FILE variant of their Environment config values to work around this issue.
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2022-03-01 16:09:33 +01:00
Lukas Bachschwell
59ba8538a1
Add support for pipeline configuration service ( #804 )
...
* Add configuration extension flags to server
Add httpsignatures dependency
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Add http fetching to config fetcher
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Refetch config on rebuild
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* - Ensure multipipeline compatiblity
- Send original config in http request
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Basic tests of config api
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Simple docs page
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Better flag naming
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Rename usages of the term yaml
Rename ConfigAPI struct
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Doc adjustments
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* More docs touchups
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Fix env vars in docs
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* fix json tags for api calls
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Add example config service
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Consistent naming for configService
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Docs: Change example repository location
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Fix tests after response field rename
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Revert accidential unrelated change in api hook
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
* Update server flag descriptions
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Anbraten <anton@ju60.de>
2022-02-28 10:56:23 +01:00