Commit graph

95 commits

Author SHA1 Message Date
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