Commit graph

589 commits

Author SHA1 Message Date
6543
6d29651808
Update 10-overview.md (#728)
* Update 10-overview.md

* Update docs/docs/30-administration/20-vcs/10-overview.md

Co-authored-by: Anbraten <anton@ju60.de>
2022-01-30 08:42:11 +01:00
6543
edbf6a3ba9
Allow to change status context again (#674)
* use flag value

* fix test

* sed -i 's/STATUS_CONTEXT/WOODPECKER_STATUS_CONTEXT/g'

* docs

* Update docs/docs/91-migrations.md

Co-authored-by: Anbraten <anton@ju60.de>
2022-01-29 20:37:36 +01:00
jdoubleu
48089f53d8
Add note about Gitlab & Gitea internal connections to docs (#711)
* add note about Gitlab internal connections to docs

* add note about Gitea internal connections to docs
2022-01-27 19:15:15 +01:00
Thomas McWork
262d29700e
fix typo in docs (#716) 2022-01-24 16:11:00 +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
b15879d460
Update 80-downloads.md (#691) 2022-01-16 00:26:55 +01:00
Kaleb Elwert
62557ffeff
Only publish to latest on tags (#505)
* Only publish to latest on tags

* Update docs

Co-authored-by: 6543 <6543@obermui.de>
2022-01-15 17:49:31 +01:00
Anbraten
ce222dfe0e
Add registries docs (#679) 2022-01-09 02:50:25 +01:00
KN4CK3R
77923ad3dd
Add documentation of all agent configuration options (#667)
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2022-01-08 23:22:06 +01:00
6543
c186e2fa8c
Update dev-docs & improve migration code (#670) 2022-01-08 20:21:22 +01:00
6543
d11b2bb8e5
Mention Matrix Space & Rooms in Readme & Docs (#646)
* Mention Matrix Space & Rooms in Readme & Docs

* custom labels

Co-authored-by: John Olheiser <john.olheiser@gmail.com>

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2021-12-30 11:53:52 -06:00
Philipp
4f015edc05
Add repo to when block (#642)
Co-authored-by: 6543 <6543@obermui.de>
2021-12-30 02:30:08 +01:00
Anbraten
bed69f9f72
Improve dev docs (#636) 2021-12-21 10:52:10 +01:00
Anbraten
465d2c9d84
Add development docs (#610)
Add documentation on how to develop woodpecker

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lukas <lukas@slucky.de>
2021-12-21 04:45:41 +01:00
6543
ce5247c675
pipeline env migrate CI_TAG & CI_PULL_REQUEST to new CI_COMMIT_TAG & CI_COMMIT_PULL_REQUEST (#624)
* CI_TAG => CI_COMMIT_TAG

* CI_PULL_REQUEST => CI_COMMIT_PULL_REQUEST

* add TODO for drop with v0.16.0 development
2021-12-19 17:01:03 +01:00
Anbraten
934847e855
update docs (#611) 2021-12-18 01:05:23 +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
fnetX (aka fralix)
442561fea2
Clarify Docs on Docker for new users in intro (#606)
In the Codeberg CI Matrix channel, there was confusion about the `image` specifying Docker containers. I changed some phrases and hopefully made it clearer to new users.
2021-12-13 18:07:36 +01:00
Anbraten
ca465cec1a
Update proxy documentation (#573) 2021-12-08 13:03:17 +01: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
c4700e9693
Update docs dependencies (#553) 2021-11-27 15:13:00 +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
Anbraten
06800cb61e
Change paths to use woodpecker instead of drone (#494)
* change paths to use woodpecker instead of drone

* improve sql file migration

* add migration notice
2021-10-28 14:02:43 -05:00
Anbraten
b10f10a290
pin ua-parser-js versions to ^0.7.30 (#467) 2021-10-24 12:58:56 +02:00
Anbraten
7725058f03
Release deb, rpm bundles (#405) 2021-10-20 21:55:09 +02:00
Anbraten
0812a29163
Add plugin marketplace (for official plugins) (#451)
Co-authored-by: 6543 <6543@obermui.de>
2021-10-19 18:54:01 +02:00
Anbraten
ed03a318c5
Improve docs (#450)
- update docusaurus
- add typescript
- add prettier
- add open-collective & sponsor us links
- add announcement bar (star on github)
- add mastodon (footer)
- collapse admin area in sidebar by default
- move faq doc to pages
2021-10-16 21:27:51 +02:00
Anbraten
4f8a9893cf
Add search to docs (#448) 2021-10-16 21:05:13 +02: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
Anbraten
4cc8594b63
Update links to woodpecker-ci.org (#445) 2021-10-14 18:13:57 +02:00
John Olheiser
12db87f8e6
Change prometheus namespace to woodpecker (#439)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-13 08:34:57 +02:00
luzpaz
9b687a923e
Fix various typos (#416)
Fix various typos found via `codespell -q 3 -S vendor -L pullrequest,pullrequests`
2021-10-08 18:35:56 +02:00
Anbraten
d15c642f91
Release cli images (#404)
* release cli images

* update docs

Co-authored-by: 6543 <6543@obermui.de>
2021-10-04 23:47:21 +02:00
Anbraten
f98d17c3e4
Add image migration docs (#406)
document move from `latest` to `next` as edge image
2021-10-04 23:32:56 +02:00
6543
e3354e440f
Publish alpine container (#398)
* Enable build & publish of alpine docker container
 * Delete outdated BUILD file
 * Move Dockerfiles into subdir "docker"
 * Update & format Dockerfiles
 * Introduce "next" tag

Co-authored-by: Anbraten <anton@ju60.de>
2021-10-04 17:09:22 +02: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
Marian Steinbach
17b8867b96
Clean up config environment variables for server and agent (#218)
The goal here is to make consistent use of configuration environment variables prefixed `WOODPECKER_`. Where several variants existed, this PR aims to remove all but one option, leaving the most explicit.

This PR only changes server and agent code, but not documentation, in order to keep the PR digestible. Once we have consensus that this is correct, I'll change docs accordingly.

User (rather: admin) facing changes in this PR:

- In general, support for all server and agent config environment variables (env vars) starting with `DRONE_` is removed. The according `WOODPECKER_*` variables must be used instead.
- The env var `WOODPECKER_HOST` replaces `DRONE_HOST`, and `DRONE_SERVER_HOST`.
- The env var `WOODPECKER_AGENT_SECRET` is used to configure the shared secret which agents use to authenticate against the server. It replaces `WOODPECKER_SECRET`, `DRONE_SECRET`, `WOODPECKER_PASSWORD`, `DRONE_PASSWORD`, and `DRONE_AGENT_SECRET`.
- The env var `WOODPECKER_DATABASE_DRIVER` replaces `DRONE_DATABASE_DRIVER` and `DATABASE_DRIVER`.
- The env var `WOODPECKER_DATABASE_DATASOURCE` replaces `DRONE_DATABASE_DATASOURCE` and `DATABASE_CONFIG`.
2021-09-28 15:43:44 +02:00
6543
c0888de86b
Delete Gerrit placeholder (#372) 2021-09-28 10:22:34 +02:00
Anbraten
3f03052190
[Docs] Simplify docker-compose samples (#356) 2021-09-28 00:04:52 +02:00
Anbraten
ecc5f24fec
Explain open registration setting (#361) 2021-09-26 16:33:55 +02:00
Anbraten
72e42f1612
Optimize license files (#355)
Updated license files to be automatically be parseable by tools like [licensechecker](https://github.com/google/licensecheck) or Github. This is for example needed for godoc.
2021-09-25 15:15:54 +02:00
Anbraten
e8db6b8c04
Update 80-kubernetes.md (#350) 2021-09-24 15:45:35 +02:00
Anbraten
0009c19f1c
Release Helm charts (#302)
closes #261
2021-09-24 14:04:54 +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
2bfeb9e1fa
Improve administration docs (#307)
* Improve administration docs

* Correct docker image names

* Update docs README

Co-authored-by: 6543 <6543@obermui.de>
2021-09-16 18:50:53 +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
6543
ee3e4bb189
Add "path" support to gitea on push hooks (#235) 2021-07-04 20:38:59 +02:00
Alex Eftimie
2ff91e6a05
Add support for path-prefix condition (#174)
Example:
```yaml
when:
  path: '*.md'
```

should match only builds in which the commit added/removed or modified files with the *.md extension

Co-authored-by: 6543 <6543@obermui.de>
2021-06-28 23:50:35 +02:00
6543
310c46d3ab
Switch in docs to new docker hub image repo (#227) 2021-06-18 20:48:22 +02:00
Laszlo Fogas
a6ffa54639
We only support drone.yml for now 2021-05-31 13:43:57 +02:00
Laszlo Fogas
f9edbc5091
We only support .drone.yml for now 2021-05-31 13:42:22 +02:00
Laszlo Fogas
885812fb94
We only support .drone.yml for now 2021-05-31 13:40:28 +02:00
Marian Steinbach
dcb96af9c4
Use WOODPECKER_ env vars in docs (#211) 2021-05-31 13:31:52 +02:00
Laszlo Fogas
c7ebd68232 Relaced laszlocph/woodpecker with woodpecker-ci/woodpecker 2021-05-25 14:08:27 +02:00
Laszlo Fogas
b7085a4c67 Fixing manifest errors 2021-04-26 10:12:37 +02:00
UnlimitedCookies
caf5ec1df7
Found another typo 2021-03-02 02:06:57 +01:00
UnlimitedCookies
d1fbe6a961
Fix typo 2021-03-02 02:01:26 +01:00
Brady Owens
f46846e031 Add a notice at the top of the doc about Multi Pipeline and Github only 2020-12-07 18:53:15 -05:00
Jens Heinrich
79ea9eee35
Update server-setup.md
Add a shared socket directory instead of using an unencrypted TCP connection
2020-08-03 16:40:57 +02:00
Laszlo Fogas
f256583419 Global registry 2020-05-20 09:24:55 +02:00
Laszlo Fogas
e0111eded4 Documenting flag 2020-05-20 06:58:21 +02:00
Laszlo Fogas
581f08b54b Full example 2020-05-19 14:33:27 +02:00
Laszlo Fogas
73481dfa0c Document global environment variables 2020-05-19 14:31:27 +02:00
Laszlo Fogas
cf8bca5bc7 K8s DinD deployment 2020-04-28 21:30:52 +02:00
Laszlo Fogas
6670ea8e1c Edit URL 2019-11-15 14:24:53 +01:00
Laszlo Fogas
1846a1bb5b Pipeline docs 2019-11-15 12:03:15 +01:00
Laszlo Fogas
6ec3e2ede2 Moved all, will break pipelines up a bit more 2019-11-15 11:36:41 +01:00
Laszlo Fogas
e155bb18af Simplified Github README 2019-11-15 11:36:29 +01:00
Laszlo Fogas
cd1a35e52d Correct attribution 2019-11-13 20:12:01 +01:00
Laszlo Fogas
a63a74053e Administration articles moved 2019-11-13 20:04:14 +01:00
Laszlo Fogas
64a241ccc8 Opening page 2019-11-13 15:47:14 +01:00
Laszlo Fogas
c4909ad091 Anothermissing folder 2019-11-13 12:26:38 +01:00
Laszlo Fogas
2412d78a84 Add missing requirements.txt 2019-11-13 12:23:16 +01:00
Laszlo Fogas
8e09aad2b0 Mkdocs starter 2019-11-13 11:59:51 +01:00
Laszlo Fogas
b0610f8837 Docs moved to a temp place 2019-11-13 11:47:48 +01:00
Laszlo Fogas
85d8b16f90 Skeleton for target and source branches 2019-10-24 11:53:55 +02:00
Laszlo Fogas
c6326bdd19 Readme 2019-07-08 15:13:18 +02:00
Brad Rydzewski
e64ec7cf88 removing deprecated files 2016-03-30 00:58:18 -07:00
alex
c2f3cf06ad Parameterize GitHub OAuth2 scopes.
If no scope provided, default will be used:
scope=repo,repo:status,user:email.
2016-03-10 19:30:14 +00:00
Aurélien Thieriot
05207546c6 Add ability to hide Archived projects from Gitlab 2016-02-16 11:35:20 +00:00
Jonathan Duck
007a3462ca Allow Gogs server on a subdirectory 2016-01-13 04:31:16 -08:00
John Engelman
d5767b7d57 Add support for configuring escalated plugins via envvar. 2016-01-12 11:42:17 -06:00
glaszig
08fc17986a amending docs with build skipping tags 2015-12-13 02:42:21 +01:00
Brad Rydzewski
5294e277d1 Merge remote-tracking branch 'upstream/master' 2015-11-16 16:00:37 -08:00
Denis Parchenko
41d02d70ea Add missing injected variables to doc 2015-11-12 18:11:19 +02:00
Brad Rydzewski
cb3f6ada63 updated cache to include directory name [CI SKIP] 2015-11-11 17:07:40 -08:00
Brad Rydzewski
5940050ccb add build number to docs [CI SKIP] 2015-11-11 16:25:32 -08:00
Brad Rydzewski
5cc99514c8 added docs for extra_hosts [CI SKIP] 2015-11-10 18:38:18 -08:00
Greg Taylor
39c5921629 Secrets filename fix
Fixing a `.drone.yml` that should have been a `.drone.sec`.
2015-11-10 16:34:36 -08:00
Greg Taylor
c7712bd3ac Publish section example for tag pushes
Adds an example for execution limiting publishes to situations where tags are pushed.
2015-11-10 16:22:44 -08:00
Don
63623f3ba2 Adding more documentation to the swagger 2015-11-06 13:23:05 -08:00
Brad Rydzewski
f36cbf54ee documented parameter substitution [CI SKIP] 2015-11-05 23:28:06 -08:00
Brad Rydzewski
0293f49311 Merge pull request #1285 from wolfgang42/docs-powershell-shasum
PowerShell SHA256 command now emits lowercase
2015-10-30 11:32:20 -07:00
Wolfgang
098e791ac9 PowerShell SHA256 command now emits lowercase
Previously it emitted uppercase hashes, which drone-exec didn't like.
2015-10-30 14:00:30 -04:00
Brad Rydzewski
759c81fc4e Merge remote-tracking branch 'upstream/master' 2015-10-29 13:48:04 -07:00
Brad Rydzewski
49c387ba2a document COMMIT_SHORT injection notation 2015-10-28 15:39:19 -07:00
Ricardo Cruz
d9d85f02d4 Added missing OAuth permission for Bitbucket remote 2015-10-28 14:50:09 -05:00
Brad Rydzewski
377caf1b99 added an endpoint to fetch the last build for a given branch 2015-10-28 11:50:11 -07:00
Brad Rydzewski
6e489f65a9 Update nginx.md 2015-10-27 20:41:27 -07:00
Brad Rydzewski
67de263066 Merge remote-tracking branch 'upstream/master' 2015-10-27 13:41:17 -07:00
Brad Rydzewski
e38e4445d5 Merge pull request #1267 from bradrydzewski/deploy_event
Track deploy environment, Repository SCM
2015-10-27 13:39:05 -07:00
Brad Rydzewski
51d43512e5 update docs to reflect services all having same IP address 2015-10-27 13:28:41 -07:00
Brad Rydzewski
460c62c704 added Tag to docs 2015-10-27 13:21:01 -07:00
Brad Rydzewski
9a232485bf update swagger to include new fields 2015-10-27 13:06:13 -07:00
Elia Schito
1f45569874 Typo: _SERVER → _TOKEN 2015-10-27 15:21:49 +01:00
Brad Rydzewski
a8ed959374 specify minimum gogs version in docs 2015-10-26 23:05:57 -07:00
Greg Taylor
5ba339f80f Fix typo in docs/build/publish.md 2015-10-26 14:41:33 -07:00
Brad Rydzewski
a45ce34ca8 added proxy documentation 2015-10-26 10:28:01 -07:00
Brad Rydzewski
3c8c330656 added command line utility docs 2015-10-25 15:18:16 -07:00
Brad Rydzewski
3dd218b211 fixed broken repo delete 2015-10-23 16:37:25 -07:00
Brad Rydzewski
3f443f99a4 added feed to swagger 2015-10-22 17:46:18 -07:00
Brad Rydzewski
d376730226 adding full support for Gogs including private repositories 2015-10-22 16:36:43 -07:00
Brad Rydzewski
eb04d418d9 moving caching w/ TTL to its own package 2015-10-20 16:45:24 -07:00
Brad Rydzewski
a63f942c1f improving installation docs 2015-10-07 17:17:15 -07:00
Brad Rydzewski
7ed0b393a6 specify drone 0.4 in docs 2015-10-07 14:29:52 -07:00
Brad Rydzewski
98e959095f get lowercase http_proxy env variables 2015-10-07 13:06:14 -07:00
Brad Rydzewski
a4eee9e510 generating documentation 2015-10-07 11:35:35 -07:00
Brad Rydzewski
7190facb41 updated to auto generate build documentation and embed in binary 2015-10-06 19:41:20 -07:00
Brad Rydzewski
9555f50215 initial commit to add doc generation as part of build 2015-10-06 14:41:55 -07:00
Brad Rydzewski
2b00d12bb6 code to generate API documentation 2015-10-06 10:19:43 -07:00
Brad Rydzewski
25d6a8c4bc updated the swagger file 2015-10-05 23:18:10 -07:00
Brad Rydzewski
dc821b8d12 added bitbucket and postgres documentation 2015-10-04 19:28:48 -07:00
Brad Rydzewski
360721e3a9 renamed doc to docs 2015-09-29 17:16:20 -07:00
Brad Rydzewski
eedfbaf202 removed and ignore bindata file 2015-05-17 14:42:21 -07:00
Brad Rydzewski
30eed8723d moved all remaining files under designated structure 2015-05-17 14:25:04 -07:00