Commit graph

246 commits

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