Commit graph

706 commits

Author SHA1 Message Date
qwerty287
9c066c237a
Extend create plugin docs (#3062)
closes https://github.com/woodpecker-ci/woodpecker/issues/1389
closes https://github.com/woodpecker-ci/woodpecker/issues/1033

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-12-30 21:24:08 +01:00
qwerty287
c74dc9ce92
Remove old files (#3077)
from https://github.com/woodpecker-ci/woodpecker/pull/3069

- `.changelog.yml`: no longer used
- `pipeline/samples`
2023-12-30 15:10:31 +01:00
qwerty287
ff00308cad
Add reviewdog golangci plugin (#3080) 2023-12-30 14:32:03 +01:00
Kamila Borowska
db45b9032c
Add Codeberg Pages Deploy plugin to plugins list (#3054) 2023-12-28 17:20:44 +01:00
6543
74f6824d03
Add option to disable version check in admin web UI (#3040)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-27 22:16:15 +01:00
qwerty287
c84d7ce1ac
Fix docs label (#3028)
`2.1` -> `2.1.x`
2023-12-27 08:55:22 +01:00
6543
fdab526f3f
Branchout docs for v2.1 (#3005) 2023-12-26 19:49:12 +01:00
Anbraten
f01ac3f0a3
Add pull request closed event (#2684)
- [x] updates docs
- [x] adjust UI
  - [x] show correct icon
  - [x] show correct link (to pr)
  - [x] add as option in secret edit
- [x] parse webhook
- [x] update tests
  - [x] github merged
  - [x] github closed
  - [x] gitea merged
  - [x] gitea closed
  - [x] bitbucket merged
  - [x] bitbucket closed
  - [x] gitlab merged
  - [x] gitlab closed

closes #286
2023-12-26 19:22:52 +01:00
Patrick Schratz
df73d2c475
Document WOODPECKER_LOG_FILE (#3022)
Missed from #2115 

Also rephrased the description a bit.

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-26 11:18:05 +01:00
Tobias Trabelsi
7d43c29c20
[Awesome Woodpecker] added yet another autoscaler (#3011)
Hello there 👋 

we tried a few different autoscaler implementations along out in k8s
runners on arm, but most of them do not play well with a mix of build
agents. so we just build our own.
maybe some other folks find it beneficial so i would propose to list it
here as well.
2023-12-24 15:33:56 +01:00
qwerty287
04d1f9ff5f
Support more addon types (#2984)
Actually support all types that can be possible.

Closes https://github.com/woodpecker-ci/woodpecker/discussions/2520
2023-12-24 13:26:23 +01:00
Anbraten
2b1e5f35de
Add depends_on support for steps (#2771)
Co-authored-by: 6543 <6543@obermui.de>
2023-12-24 12:14:30 +01:00
qwerty287
834b017d0e
Add cookbook blog and improve docs (#3002)
As discussed in
https://github.com/woodpecker-ci/woodpecker/discussions/2932#discussioncomment-7842309
Closes #316
2023-12-23 12:27:36 +01:00
renovate[bot]
b1e8c25743
chore(deps): update dependency isomorphic-dompurify to v2 (#3001) 2023-12-23 10:37:59 +01:00
6543
eb2a3573df
fix(deps): update docs npm deps non-major (#2996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-23 00:50:17 +01:00
Johan Van de Wauw
d3a7af95a3
Replace multi-pipelines with workflows on docs frontpage (#2990)
Link does not work - workflows seems more appropriate
2023-12-22 12:09:18 +01:00
Anbraten
619858e0e9
Ignore pipelines without config (#2949)
Co-authored-by: 6543 <6543@obermui.de>
2023-12-21 11:13:25 +01:00
6543
2cf873f9bf
bump stable release in faq 2023-12-20 21:15:25 +01:00
qwerty287
dfc2c265b1
Support go plugins for forges and agent backends (#2751)
As of #2520 

Support to load new forges and agent backends at runtime using go's
plugin system. (https://pkg.go.dev/plugin)

I also added a simple example addon (a new forge which just prints log
statements), it should be removed later of course, but you can see an
example.

---------

Co-authored-by: Michalis Zampetakis <mzampetakis@gmail.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-12-20 14:26:57 +01:00
6543
2e7610379e
Update slogan & logo (#2962)
- Update woodpecker slogan to repo too
  we are not just a simple fork anymore 🎉
- use https://github.com/woodpecker-ci/design/blob/main/logo/non-square.svg
2023-12-19 14:12:18 +01:00
Basil
bbafe3c386
Update pronoun in documentation (#2964)
Updated one instance in the most recent documentation (left the older
ones alone) to use "they" instead of "he."
2023-12-19 01:03:37 +01:00
6543
936c9bdb0d
Export changed files via builtin environment variables (#2935)
add **`CI_PIPELINE_FILES`** to builtin env vars

close  #853

---
*Sponsored by Kithara Software GmbH*
2023-12-18 22:37:38 +01:00
qwerty287
360b41f961
Remove separate root path config (#2943) 2023-12-13 15:51:18 +01:00
Mikhail Putilov
91ea631db1
Update 20-kubernetes.md (#2927)
Fix up 404 URL

---------

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-12-11 14:03:05 +01:00
runephilosof-karnovgroup
adb2c82790
Update go module path for major version 2 (#2905)
https://go.dev/doc/modules/release-workflow#breaking

Fixes https://github.com/woodpecker-ci/woodpecker/issues/2913 fixes
#2654
```
runephilosof@fedora:~/code/platform-woodpecker/woodpecker-repo-configurator (master)$ go get go.woodpecker-ci.org/woodpecker@v2.0.0
go: go.woodpecker-ci.org/woodpecker@v2.0.0: invalid version: module contains a go.mod file, so module path must match major version ("go.woodpecker-ci.org/woodpecker/v2")
```

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-08 08:15:08 +01:00
qwerty287
f0dc5ee182
Fix prometheus docs (#2919) 2023-12-07 14:39:06 +01:00
renovate[bot]
50cc89a852
Lock file maintenance (#2910)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 15:05:49 +01:00
renovate[bot]
0e886e144a
Update docs npm deps non-major (#2908)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@docusaurus/core](https://togithub.com/facebook/docusaurus)
([source](https://togithub.com/facebook/docusaurus/tree/HEAD/packages/docusaurus))
| [`3.0.0` ->
`3.0.1`](https://renovatebot.com/diffs/npm/@docusaurus%2fcore/3.0.0/3.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fcore/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fcore/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fcore/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fcore/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@docusaurus/module-type-aliases](https://togithub.com/facebook/docusaurus)
([source](https://togithub.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases))
| [`3.0.0` ->
`3.0.1`](https://renovatebot.com/diffs/npm/@docusaurus%2fmodule-type-aliases/3.0.0/3.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fmodule-type-aliases/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fmodule-type-aliases/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fmodule-type-aliases/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fmodule-type-aliases/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@docusaurus/preset-classic](https://togithub.com/facebook/docusaurus)
([source](https://togithub.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic))
| [`3.0.0` ->
`3.0.1`](https://renovatebot.com/diffs/npm/@docusaurus%2fpreset-classic/3.0.0/3.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fpreset-classic/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fpreset-classic/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fpreset-classic/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fpreset-classic/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@docusaurus/theme-classic](https://togithub.com/facebook/docusaurus)
([source](https://togithub.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-theme-classic))
| [`3.0.0` ->
`3.0.1`](https://renovatebot.com/diffs/npm/@docusaurus%2ftheme-classic/3.0.0/3.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2ftheme-classic/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2ftheme-classic/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2ftheme-classic/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2ftheme-classic/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@docusaurus/tsconfig](https://togithub.com/facebook/docusaurus)
([source](https://togithub.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-tsconfig))
| [`3.0.0` ->
`3.0.1`](https://renovatebot.com/diffs/npm/@docusaurus%2ftsconfig/3.0.0/3.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2ftsconfig/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2ftsconfig/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2ftsconfig/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2ftsconfig/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@docusaurus/types](https://togithub.com/facebook/docusaurus)
([source](https://togithub.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-types))
| [`3.0.0` ->
`3.0.1`](https://renovatebot.com/diffs/npm/@docusaurus%2ftypes/3.0.0/3.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2ftypes/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2ftypes/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2ftypes/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2ftypes/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@easyops-cn/docusaurus-search-local](https://togithub.com/easyops-cn/docusaurus-search-local)
| [`^0.37.2` ->
`^0.38.0`](https://renovatebot.com/diffs/npm/@easyops-cn%2fdocusaurus-search-local/0.37.4/0.38.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@easyops-cn%2fdocusaurus-search-local/0.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@easyops-cn%2fdocusaurus-search-local/0.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@easyops-cn%2fdocusaurus-search-local/0.37.4/0.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@easyops-cn%2fdocusaurus-search-local/0.37.4/0.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.9.2` ->
`20.10.3`](https://renovatebot.com/diffs/npm/@types%2fnode/20.9.2/20.10.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.9.2/20.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.9.2/20.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react))
| [`18.2.37` ->
`18.2.42`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.37/18.2.42)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.42?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.42?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.37/18.2.42?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.37/18.2.42?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/react-helmet](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-helmet)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet))
| [`6.1.9` ->
`6.1.11`](https://renovatebot.com/diffs/npm/@types%2freact-helmet/6.1.9/6.1.11)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-helmet/6.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-helmet/6.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-helmet/6.1.9/6.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-helmet/6.1.9/6.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[prism-react-renderer](https://togithub.com/FormidableLabs/prism-react-renderer)
| [`2.2.0` ->
`2.3.0`](https://renovatebot.com/diffs/npm/prism-react-renderer/2.2.0/2.3.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/prism-react-renderer/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prism-react-renderer/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prism-react-renderer/2.2.0/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prism-react-renderer/2.2.0/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`5.2.2` ->
`5.3.2`](https://renovatebot.com/diffs/npm/typescript/5.2.2/5.3.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.2.2/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.2.2/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>facebook/docusaurus (@&#8203;docusaurus/core)</summary>

###
[`v3.0.1`](https://togithub.com/facebook/docusaurus/blob/HEAD/CHANGELOG.md#301-2023-11-30)

[Compare
Source](https://togithub.com/facebook/docusaurus/compare/v3.0.0...v3.0.1)

##### 🐛 Bug Fix

-   `docusaurus-utils`
- [#&#8203;9570](https://togithub.com/facebook/docusaurus/pull/9570)
fix: add v2 retrocompatible support for quoted admonitions
([@&#8203;slorber](https://togithub.com/slorber))
- [#&#8203;9535](https://togithub.com/facebook/docusaurus/pull/9535)
fix: v3 admonitions should support v2 title syntax for nested
admonitions ([@&#8203;slorber](https://togithub.com/slorber))
- `create-docusaurus`, `docusaurus-theme-classic`,
`docusaurus-theme-common`
- [#&#8203;9567](https://togithub.com/facebook/docusaurus/pull/9567)
fix(theme): upgrade prism-react-renderer, fix html script and style tag
highlighting ([@&#8203;slorber](https://togithub.com/slorber))
-   `docusaurus-theme-common`
- [#&#8203;9531](https://togithub.com/facebook/docusaurus/pull/9531)
fix(theme): docs html sidebar items should always be visible
([@&#8203;slorber](https://togithub.com/slorber))
-   `docusaurus-theme-classic`
- [#&#8203;9530](https://togithub.com/facebook/docusaurus/pull/9530)
fix(theme): fix firefox CSS :has() support bug
([@&#8203;slorber](https://togithub.com/slorber))
-   `create-docusaurus`
- [#&#8203;9487](https://togithub.com/facebook/docusaurus/pull/9487)
fix(create-docusaurus): fix readme docusaurus 2 ref
([@&#8203;slorber](https://togithub.com/slorber))

##### 🤖 Dependencies

-   `docusaurus-plugin-debug`
- [#&#8203;9566](https://togithub.com/facebook/docusaurus/pull/9566)
chore(debug-plugin): migrate to a new maintained JSON Viewer
([@&#8203;mcrstudio](https://togithub.com/mcrstudio))
- `create-docusaurus`, `docusaurus-theme-classic`,
`docusaurus-theme-common`
- [#&#8203;9572](https://togithub.com/facebook/docusaurus/pull/9572)
chore: upgrade prism-react-renderer to 2.3.0 to avoid older clsx
([@&#8203;harryzcy](https://togithub.com/harryzcy))
- [#&#8203;9567](https://togithub.com/facebook/docusaurus/pull/9567)
fix(theme): upgrade prism-react-renderer, fix html script and style tag
highlighting ([@&#8203;slorber](https://togithub.com/slorber))
- `create-docusaurus`, `docusaurus-plugin-pwa`,
`docusaurus-theme-classic`, `docusaurus-theme-common`,
`docusaurus-theme-live-codeblock`, `docusaurus-theme-search-algolia`
- [#&#8203;9464](https://togithub.com/facebook/docusaurus/pull/9464)
chore: Upgrade clsx to 2.0.0
([@&#8203;harryzcy](https://togithub.com/harryzcy))
-   `docusaurus`
- [#&#8203;9547](https://togithub.com/facebook/docusaurus/pull/9547)
chore(core): replace `wait-on` dependency with custom lighter code
([@&#8203;NickGerleman](https://togithub.com/NickGerleman))
-   `docusaurus-plugin-pwa`, `docusaurus`
- [#&#8203;9529](https://togithub.com/facebook/docusaurus/pull/9529)
chore: ugrade babel dependencies to v7.23.3
([@&#8203;reece-white](https://togithub.com/reece-white))

##### Committers: 6

-   Chongyi Zheng ([@&#8203;harryzcy](https://togithub.com/harryzcy))
-   MCR Studio ([@&#8203;mcrstudio](https://togithub.com/mcrstudio))
- Nick Gerleman
([@&#8203;NickGerleman](https://togithub.com/NickGerleman))
- Shreesh Nautiyal ([@&#8203;Shreesh09](https://togithub.com/Shreesh09))
-   Sébastien Lorber ([@&#8203;slorber](https://togithub.com/slorber))
-   [@&#8203;reece-white](https://togithub.com/reece-white)

</details>

<details>
<summary>easyops-cn/docusaurus-search-local
(@&#8203;easyops-cn/docusaurus-search-local)</summary>

###
[`v0.38.1`](https://togithub.com/easyops-cn/docusaurus-search-local/releases/tag/v0.38.1)

[Compare
Source](https://togithub.com/easyops-cn/docusaurus-search-local/compare/v0.38.0...v0.38.1)

##### Bug Fixes

- compile to commonjs
([b8dc37d](b8dc37d1ea)),
closes
[#&#8203;370](https://togithub.com/easyops-cn/docusaurus-search-local/issues/370)

###
[`v0.38.0`](https://togithub.com/easyops-cn/docusaurus-search-local/releases/tag/v0.38.0)

[Compare
Source](https://togithub.com/easyops-cn/docusaurus-search-local/compare/v0.37.5...v0.38.0)

##### Features

- do not index unlisted content
([b0c425d](b0c425d21e)),
closes
[#&#8203;371](https://togithub.com/easyops-cn/docusaurus-search-local/issues/371)
- add German locale
[#&#8203;353](https://togithub.com/easyops-cn/docusaurus-search-local/issues/353)

###
[`v0.37.5`](https://togithub.com/easyops-cn/docusaurus-search-local/releases/tag/v0.37.5)

[Compare
Source](https://togithub.com/easyops-cn/docusaurus-search-local/compare/v0.37.4...v0.37.5)

##### Bug Fixes

- set typescript target back to ES6
([c05151f](c05151f6b9))

</details>

<details>
<summary>FormidableLabs/prism-react-renderer
(prism-react-renderer)</summary>

###
[`v2.3.0`](https://togithub.com/FormidableLabs/prism-react-renderer/releases/tag/prism-react-renderer%402.3.0)

[Compare
Source](https://togithub.com/FormidableLabs/prism-react-renderer/compare/prism-react-renderer@2.2.0...prism-react-renderer@2.3.0)

##### Minor Changes

-   Upgrade clsx to v2.0.0.

([#&#8203;232](https://togithub.com/FormidableLabs/prism-react-renderer/pull/232))

</details>

<details>
<summary>Microsoft/TypeScript (typescript)</summary>

###
[`v5.3.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.3.2):
TypeScript 5.3

[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2)

For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/).

For the complete list of fixed issues, check out the

- [fixed issues query for Typescript 5.3.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.3.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.3.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.3.2%22+is%3Aclosed+).

Downloads are available on:

- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 07:28:04 +01:00
renovate[bot]
428fe659fe
Update golang (packages) (#2904)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| code.gitea.io/sdk/gitea | require | minor | `v0.16.0` -> `v0.17.0` |
| [github.com/antonmedv/expr](https://togithub.com/antonmedv/expr) |
require | patch | `v1.15.5` -> `v1.15.6` |
| [github.com/golang-jwt/jwt/v5](https://togithub.com/golang-jwt/jwt) |
require | minor | `v5.1.0` -> `v5.2.0` |
| [github.com/urfave/cli/v2](https://togithub.com/urfave/cli) | require
| minor | `v2.25.7` -> `v2.26.0` |

---

### Release Notes

<details>
<summary>antonmedv/expr (github.com/antonmedv/expr)</summary>

###
[`v1.15.6`](https://togithub.com/expr-lang/expr/releases/tag/v1.15.6)

[Compare
Source](https://togithub.com/antonmedv/expr/compare/v1.15.5...v1.15.6)

-   This is a new release for `expr-lang/epxr`.

</details>

<details>
<summary>golang-jwt/jwt (github.com/golang-jwt/jwt/v5)</summary>

### [`v5.2.0`](https://togithub.com/golang-jwt/jwt/releases/tag/v5.2.0)

[Compare
Source](https://togithub.com/golang-jwt/jwt/compare/v5.1.0...v5.2.0)

#### What's Changed

- Exported `NewValidator` by
[@&#8203;oxisto](https://togithub.com/oxisto) in
[https://github.com/golang-jwt/jwt/pull/349](https://togithub.com/golang-jwt/jwt/pull/349)
- Improve ErrInvalidKeyType error messages by
[@&#8203;Laurin-Notemann](https://togithub.com/Laurin-Notemann) in
[https://github.com/golang-jwt/jwt/pull/361](https://togithub.com/golang-jwt/jwt/pull/361)
- Update MIGRATION_GUIDE.md by
[@&#8203;jbarham](https://togithub.com/jbarham) in
[https://github.com/golang-jwt/jwt/pull/363](https://togithub.com/golang-jwt/jwt/pull/363)

#### New Contributors

- [@&#8203;Laurin-Notemann](https://togithub.com/Laurin-Notemann) made
their first contribution in
[https://github.com/golang-jwt/jwt/pull/361](https://togithub.com/golang-jwt/jwt/pull/361)
- [@&#8203;jbarham](https://togithub.com/jbarham) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/363](https://togithub.com/golang-jwt/jwt/pull/363)

**Full Changelog**:
https://github.com/golang-jwt/jwt/compare/v5.1.0...v5.2.0

</details>

<details>
<summary>urfave/cli (github.com/urfave/cli/v2)</summary>

### [`v2.26.0`](https://togithub.com/urfave/cli/releases/tag/v2.26.0)

[Compare
Source](https://togithub.com/urfave/cli/compare/v2.25.7...v2.26.0)

#### What's Changed

- Bash completion nits by
[@&#8203;meatballhat](https://togithub.com/meatballhat) in
[https://github.com/urfave/cli/pull/1762](https://togithub.com/urfave/cli/pull/1762)
- Chore: Rename mkdocs requirements file name by
[@&#8203;dearchap](https://togithub.com/dearchap) in
[https://github.com/urfave/cli/pull/1776](https://togithub.com/urfave/cli/pull/1776)
- Fix:(issue\_1787) Add fix for commands not listed when hide help
comma… by [@&#8203;dearchap](https://togithub.com/dearchap) in
[https://github.com/urfave/cli/pull/1788](https://togithub.com/urfave/cli/pull/1788)
- Fix nil HelpFlag panic (v2) by
[@&#8203;wxiaoguang](https://togithub.com/wxiaoguang) in
[https://github.com/urfave/cli/pull/1795](https://togithub.com/urfave/cli/pull/1795)
- Always get 0 for a nested int64 value in v2.25.7 by
[@&#8203;stephenfire](https://togithub.com/stephenfire) in
[https://github.com/urfave/cli/pull/1799](https://togithub.com/urfave/cli/pull/1799)
- Helper messages for documenting build process by
[@&#8203;abitrolly](https://togithub.com/abitrolly) in
[https://github.com/urfave/cli/pull/1800](https://togithub.com/urfave/cli/pull/1800)
- fix: check duplicated sub command name and alias by
[@&#8203;linrl3](https://togithub.com/linrl3) in
[https://github.com/urfave/cli/pull/1805](https://togithub.com/urfave/cli/pull/1805)
- Fix:(issue\_1689) Have consistent behavior for default text in man
and… by [@&#8203;dearchap](https://togithub.com/dearchap) in
[https://github.com/urfave/cli/pull/1825](https://togithub.com/urfave/cli/pull/1825)
- Fix linting issues by
[@&#8203;skelouse](https://togithub.com/skelouse) in
[https://github.com/urfave/cli/pull/1696](https://togithub.com/urfave/cli/pull/1696)

#### New Contributors

- [@&#8203;stephenfire](https://togithub.com/stephenfire) made their
first contribution in
[https://github.com/urfave/cli/pull/1799](https://togithub.com/urfave/cli/pull/1799)
- [@&#8203;linrl3](https://togithub.com/linrl3) made their first
contribution in
[https://github.com/urfave/cli/pull/1805](https://togithub.com/urfave/cli/pull/1805)

**Full Changelog**:
https://github.com/urfave/cli/compare/v2.25.7...v2.26.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge -
"before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <ndev@web.de>
2023-12-04 20:53:46 +01:00
qwerty287
6c9ff24ba6
Fix installation type (#2902)
`isomorphic-dompurify` should be installed as dev dependency.
2023-12-03 09:49:34 +01:00
qwerty287
1caccdc977
Sanitize plugin docs content (#2900) 2023-12-02 14:48:26 +01:00
renovate[bot]
de5855b706
Update dependency marked to v11 (#2898) 2023-12-02 14:33:51 +01:00
Gabor Pihaj
70487439d3
Add nix-attic plugin to the index (#2889)
This PR adds the nix-attic plugin to the index.

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-01 07:27:31 +01:00
Robbie
b6465751e8
Add usage with Tunnelmole to docs (#2881)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-28 10:56:15 +01:00
Micash
c58ebdc0d5
Improve code blocks in docs: fix dockerfile codeblock language (#2880) 2023-11-26 21:13:13 +01:00
Micash
b31b3e9a86
Improve code blocks in docu (#2879) 2023-11-26 19:31:05 +01:00
qwerty287
26b77ed677
Add a blog post (#2877) 2023-11-26 17:19:29 +02:00
Dominic
18cef15da4
Add documentation on Kubernetes securityContext (#2822)
The new docs explain how to use the recently introduced kubernetes
backend option to set the security context for pipeline steps.

See #2550

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-26 08:50:12 +01:00
Thomas Anderson
3adb98b287
Simple security context options (Kubernetes) (#2550) 2023-11-26 08:46:06 +01:00
qwerty287
418acc5c98
Add default page to categories (#2869) 2023-11-25 14:01:42 +01:00
Micash
a6d651175d
Docs: Make Github docs same format as other forges (#2866)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-24 16:21:47 +01:00
qwerty287
f05c1631d2
Add 2.0.0 post (#2864)
I can't add new files to #2782 so I opened a new PR.
I tried adding all reviews from there.

---------

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-11-23 17:21:47 +01:00
qwerty287
948b4224c7
Add 2.x docs (#2865)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-23 17:00:54 +01:00
qwerty287
7b752808ef
Cleanup plugins plugins (#2856) 2023-11-22 09:31:22 +01:00
qwerty287
f4c51b01ad
Fix plugin URLs (#2850) 2023-11-20 19:53:51 +01:00
qwerty287
7530e9d8a3
Add extend env plugin (#2847)
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-20 10:01:35 +01:00
renovate[bot]
60c021e510
Lock file maintenance (#2840)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
2023-11-19 14:28:58 +01:00
qwerty287
342b25826c
Rename link to url (#2812)
As of https://woodpecker-ci.org/docs/next/usage/terminiology#conventions
2023-11-14 17:12:12 +01:00
qwerty287
451b71dcd4
Revert to singular CLI args (#2820)
revert parts of https://github.com/woodpecker-ci/woodpecker/pull/2213
2023-11-14 17:03:41 +01:00
6543
4ab6cea761
mark v1.0.x as unmaintained (#2818)
https://github.com/woodpecker-ci/woodpecker/pull/2789#issuecomment-1809277704
2023-11-14 14:45:44 +01:00
qwerty287
6a7e91bb0e
Fix env vars and add UI url (#2811)
Closes https://github.com/woodpecker-ci/woodpecker/issues/2219

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-11-13 09:38:02 +01:00
renovate[bot]
82877bc967
Update dependency marked to v10 (#2810) 2023-11-12 07:59:37 +01:00
Patrick Schratz
905bb95853
Update docs npm deps non-major (#2799)
To fix security scan issues of `axios`. (renovate would have only
scheduled this tomorrow or on Sunday). I force-triggered the creation.

Usually renovate would also create the PR but it was somehow stuck
between automerge and missing branch tests (which is also why #2798 is
good to have).

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <ndev@web.de>
2023-11-11 21:38:54 +01:00
qwerty287
f2ed2e7b48
Add docs about Gitea on same host and update docker-compose example (#2752)
Closes #1660

Taken out the part of it that's still up-to-date.
Everything else in this PR is outdated as we don't primarily use quay.io

---------

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-11-11 12:38:21 +01:00
qwerty287
e6b3b94241
Update docusaurus plugin (#2804)
closes #2788
2023-11-11 11:20:46 +01:00
6543
5a7b689e30
Switch to go vanity urls (#2706)
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-07 08:04:33 +01:00
6543
cc252b4ac9
Mark kubernetes backend as fully supported (#2756)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-06 09:34:11 +01:00
renovate[bot]
9e0e62a757
Lock file maintenance (#2755)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - "before 4am" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-06 01:19:08 +01:00
Anbraten
9e10100ad6
Fail on missing secrets (#2749)
Co-authored-by: pat-s <patrick.schratz@gmail.com>
2023-11-05 12:47:42 +01:00
qwerty287
8946d2099c
Update docusaurus to v3 (#2732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
2023-11-05 10:43:44 +01:00
qwerty287
d284aeb545
Fix default status (#2715)
Regression #2695

probably closes #2716
2023-11-03 13:00:34 +01:00
Janik
4c4fdff5f7
Add grafana dashobard to awesome (#2710)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-11-02 18:21:49 +01:00
6543
7bc40f20cb
Option to change temp dir for local backend (#2702)
---
*Sponsored by Kithara Software GmbH*
2023-11-02 15:45:18 +01:00
Michael Holtermann
da6f39258d
Improve secrets documentation (#2707)
Adds some editorial improvements that hopefully clarify the usage of
secrets.

Fixes #2704

---------

Co-authored-by: Michael Holtermann <michael.holtermann@lynq.tech>
2023-11-02 15:36:18 +01:00
qwerty287
c1faa95d8f
Revert breaking pipeline changes (#2677)
Revert #2180 and #2480 so we can release v2.0 without breaking changes
in pipeline config.

After merging #2476 we should apply these changes to a new v2.

After merging this, we should be ready for the 2.0 release.

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-11-02 15:31:49 +01:00
qwerty287
abb2f280eb
Unique status for matrix (#2695)
implement this fix but with an additional field on workflows to not
change the workflow name

closes #1840 
closes #713

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-11-01 17:28:02 +01:00
renovate[bot]
c36b1cd6ff
chore(deps): lock file maintenance (#2673) 2023-10-31 13:21:20 +01:00
Patrick Schratz
856b2ef8c7
pre-commit fixes (#2669)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-10-31 09:14:09 +01:00
renovate[bot]
4dbde3c409
fix(deps): update dependency fuse.js to v7 (#2666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 21:31:34 +02:00
renovate[bot]
e0463068c9
chore(deps): update dependency @types/node to v20 (#2664)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 21:17:32 +02:00
renovate[bot]
4f8732bafc
chore(deps): update docs npm deps non-major (#2660) 2023-10-28 08:43:25 +02:00
qwerty287
aeb7bcb26a
Remove WOODPECKER_DOCS config (#2647) 2023-10-25 15:05:19 +02:00
qwerty287
70531821bf
Add woodpecker-lint tool (#2648) 2023-10-25 11:09:39 +02:00
Anbraten
f44aa8a6fd
Remove plugin-only option from secrets (#2213) 2023-10-24 20:38:47 +02:00
qwerty287
5045f1e431
Remove deprecated API paths (#2639) 2023-10-24 15:21:05 +02:00
Anbraten
66a5ba4e4f
Add prettier (#2600) 2023-10-24 14:42:05 +02:00
qwerty287
31240b5771
Remove SSH backend (#2635)
The SSH backend is, similar to Gogs and Coding for forges, completely
unmaintained and seems unused (it is likely broken but we didn't get any
reports).
Instead, you should directly run the agent on the SSH machine with the
`local` backend.
2023-10-24 01:55:30 +02:00
qwerty287
4803160f27
Add autoscaler docs (#2631)
Co-authored-by: Anbraten <anton@ju60.de>
2023-10-23 15:18:38 +02:00
qwerty287
30328e6b2d
Rework setup docs (#2630)
Co-authored-by: Anbraten <anton@ju60.de>
2023-10-23 14:37:29 +02:00
Janik
ae2aff9afc
doc: improve prometheus docs (#2617)
Adding docs about how to read the bearer token from a file
2023-10-23 14:00:23 +02:00
Janik
7cbbedbc06
docs add nixos install instructions (#2616)
Hi I created a small docs draft adding install instructions for NixOS
since I initially wrote the woodpecker NixOS module which is now in
stable for ~6 months and multiple people my self included actively use
it. cc @ambroisie since we co-maintain it and he did a lot of
improvement work on the module.
2023-10-23 10:53:13 +02:00
qwerty287
ce85a60e32
Dynamic forge request size (#2622)
and remove checks for gitea 1.18 which is quite old already and
shouldn't be used anymore

closes https://github.com/woodpecker-ci/woodpecker/issues/1038
2023-10-23 09:22:00 +02:00
qwerty287
5b62214f27
Add prettier plugin (#2621) 2023-10-23 08:52:48 +02:00
renovate[bot]
833a4ea9b4
chore(deps): lock file maintenance (#2620) 2023-10-23 08:25:44 +02:00
qwerty287
ec3a3cc9e1
Remove deprecated build command (#2602) 2023-10-19 18:05:41 +02:00
Martin W. Kirst
3f185d5b36
[doc] improve documentation WOODPECKER_SESSION_EXPIRES (#2603) 2023-10-18 18:26:20 +02:00
Patrick Schratz
cbf052ca0d
Update documentation WRT to recent $platform changes (#2531)
Co-authored-by: Thomas Anderson <127358482+zc-devs@users.noreply.github.com>
2023-10-18 18:08:28 +02:00
renovate[bot]
da61c6a4ba
chore(deps): lock file maintenance (#2595) 2023-10-17 20:25:51 +02:00
Patrick Schratz
7b3eeec65c
Add plugin "GitHub release" (#2592)
`docs.md` still missing but still
2023-10-17 18:35:24 +02:00
Anbraten
03870c5583
Cleanup docs (#2478)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2023-10-17 10:31:08 +02:00
Anbraten
7d7ba755cc
Fix secret priority (#2599) 2023-10-16 23:39:55 +02:00
Patrick Schratz
b147006bfa
Add plugin "Release helper" (#2584) 2023-10-14 22:40:28 +02:00
JohnWalkerx
05f96abd17
Add plugin "Gitea Create Pull Request" to plugin index (#2581) 2023-10-14 15:51:30 +02:00
Oskars
afef609f3c
Adjust github scopes and clarify documentation. (#2578)
Add scopes needed when creating Github application.
Removed "repo:status" scope, because it is included in already requested
"repo" scope.

Fixes: #1081
2023-10-14 13:26:25 +02:00
JohnWalkerx
0623eefd3b
Add plugin "NixOS Remote Builder" to plugin index (#2571) 2023-10-12 07:42:25 +02:00
Patrick Schratz
6db1bfa46b
Bump to mysql 8 (#2559) 2023-10-10 18:20:08 +02:00
Dhadve Yash
c15ef3ca76
Remove redundant definition of webhook form docs (#2561) 2023-10-10 16:15:49 +02:00
Dominic
839c3b8a6d
Add notes about CRI-O specific config (#2546)
CRI-O currently requires some additional config for pipelines to run.
This adds some basic documentation to the kubernetes section explaining
the issue.

See #2510
2023-10-09 08:40:46 +02:00
Abraham Toriz Cruz
905b18cdbe
Fix incorrect yaml syntax for ref in docs (#2518)
`when` contents for the `ref` option were written as a mapping, but it
must be a list.
2023-10-08 14:27:59 +02:00
Jacques B
2f4690a6b6
Local image documentation (#2521)
Add some documentation on how to build then use a local `Docker` image.
It's hinted in the
[Volumes](https://woodpecker-ci.org/docs/usage/volumes) doc, but I think
it's worth to make it more visible.

Relates to https://github.com/woodpecker-ci/woodpecker/issues/1175.
2023-10-08 13:30:57 +02:00
Michalis Zampetakis
d2f279453b
Add bitbucket tag support in docs (#2536) 2023-10-07 07:51:06 +02:00
Cat
0eacbe8a33
Fix docs duplicate WOODPECKER_HOST assignment (#2501)
Seems to only be a small typo on
https://woodpecker-ci.org/docs/administration/setup#docker-compose,
where the `+ - WOODPECKER_HOST=${WOODPECKER_HOST}` line is repeated!
2023-09-26 18:22:19 +01:00
Patrick Schratz
936f1512d0
Update github auth install (#2499) 2023-09-26 00:03:37 +02:00
renovate[bot]
24204ecdeb
chore(deps): lock file maintenance (#2497) 2023-09-25 08:41:27 +02:00
Robert Kaussow
f8e91f00aa
Fix broken link to 3rd party plugin library (#2494)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2493
2023-09-23 13:57:35 +02:00
Tom Kneiphof
baaf8b97e1
Fix usage of WOODPECKER_ROOT_PATH (#2485)
I had experienced some issues running Woodpecker behind a reverse-proxy,
resulting from not defining the `WOODPECKER_ROOT_PATH` environment
variable in #2477.

As suggested by @qwerty287, specifying `WOODPECKER_ROOT_PATH=/foo`
*mostly* solved the issue of running the woodpecker server at an url
like `https://example.org/foo`.
However, the webhook urls and badge urls were generated excluding the
configured `WOODPECKER_ROOT_PATH`.

This PR (mostly) fixes issues related to non-empty
`WOODPECKER_ROOT_PATH`.

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-22 16:43:31 +02:00
Patrick Schratz
6d86ec7fe7
Update GH app installation instructions (#2472)
- Slimify
- Add required permissions (missing so far)
- More detailed instructions on app settings
- Align env var options to style used in k8s section (UL instead of
headers)

---------

Co-authored-by: Lauris BH <lauris@nix.lv>
2023-09-19 14:25:10 +03:00
renovate[bot]
1653a8eadf
chore(deps): lock file maintenance (#2469) 2023-09-18 07:54:02 +02:00
qwerty287
a40bb4f890
Add videos (#2465) 2023-09-16 10:02:07 +02:00
lonix1
9433c739e3
docs: missing info for runs_on (#2457)
The `runs_on` section is missing from the syntax docs. So I added a
section for it, and linked to an example.

It's good enough. But I think it might be a good idea for someone (with
more knowledge than me) to add more info in this section. How to use it,
when to use it, etc. The example is useful but not very informative.
2023-09-13 15:21:13 +02:00
Robert Kaussow
609076675b
Add hint about alternative pipeline skip syntax (#2443) 2023-09-12 09:58:18 +02:00
renovate[bot]
c4f8798cf6
fix(deps): update dependency prism-react-renderer to v2 (#2436) 2023-09-11 08:52:23 +02:00
renovate[bot]
d8dd84fa4f
fix(deps): update dependency esbuild-loader to v4 (#2433) 2023-09-10 17:56:17 +02:00
renovate[bot]
0e21832dcb
fix(deps): update dependency clsx to v2 (#2432) 2023-09-10 17:47:09 +02:00
renovate[bot]
cedb56111a
fix(deps): update dependency @svgr/webpack to v8 (#2429) 2023-09-10 14:29:06 +02:00
renovate[bot]
69db7e7f37
chore(deps): update react monorepo to v18 (major) (#2424) 2023-09-10 11:11:55 +02:00
renovate[bot]
5178294a47
chore(deps): update dependency @tsconfig/docusaurus to v2 (#2410) 2023-09-10 10:40:11 +02:00
renovate[bot]
f0e767eb21
chore(deps): update dependency typescript to v5 (#2421) 2023-09-10 10:33:18 +02:00
renovate[bot]
c8d50d0635
chore(deps): update dependency concurrently to v8 (#2414) 2023-09-10 10:19:32 +02:00
renovate[bot]
30e1f07357
chore(deps): update dependency marked to v9 (#2419) 2023-09-10 09:32:58 +02:00
renovate[bot]
9e03d6fdfe
chore(deps): update dependency @types/marked to v5 (#2411) 2023-09-10 09:25:31 +02:00
renovate[bot]
69489f2d33
chore(deps): update dependency axios to v1 (#2413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 14:54:53 +02:00
renovate[bot]
412c62a8f5
fix(deps): update dependency @easyops-cn/docusaurus-search-local to ^0.36.0 (#2406) 2023-09-09 08:44:17 +02:00
Robert Kaussow
1806ad0165
Fix typo in GitLab docs (#2376) 2023-09-07 15:40:13 +02:00
LTek-online
3bee51dc7a
clarify setup with gitlab with RFC1918 nets and non standard TLDs (#2363)
The current documentation mentions that when one uses woodpecker on the
same host as Gitlab, you might need to set the `Allow requests to the
local network from webhooks and integrations` option on the gitlab
server.

This option not only needs to be set when running on the same host, but
also needs to be set when setting up woodpecker with Gitlab on any
RFC1918 net and on any non standard TLD like `.local` or `.internal`.
2023-09-01 22:47:28 +02:00
Patrick Schratz
f2a5e15386
Clarify env var CI in docs (#2349)
Co-authored-by: Anbraten <anton@ju60.de>
2023-08-29 18:38:16 +02:00
lonix1
36bfc92fc8
docs: yaml cheatsheet for advanced syntax (#2329)
official spec linked at top of page is inaccessible for most readers
(it's too dry and academic)
so added famous cheatsheet (heavily promoted on StackOverflow)
2023-08-28 16:24:56 +02:00
Kleber Rocha
61b5672051
Add option to configure tolerations in kubernetes backend (#2249)
This code add a feature to support tolerations in Kubernetes Backend

---------

Signed-off-by: Kleber Rocha <klinux@gmail.com>
2023-08-22 22:34:59 +02:00
6543
3954d85a5b
Add "plugin" support to local backend (#2239)
and a nit to improve the clone


---
*Sponsored by Kithara Software GmbH*
2023-08-22 22:00:32 +02:00
Pablo Ovelleiro Corral
09624aa286
Pass netrc data to external config service request (#2310)
Co-authored-by: Anbraten <anton@ju60.de>
2023-08-21 13:22:33 +02:00
lonix1
d00932bedd
docs: clearer explanation for globs in when:path (#2252)
As discussed on [discord](https://discord.com/channels/838698813463724034/838698813463724037/1142646908049961001).
2023-08-20 15:03:03 +02:00
6543
f2e31c6770
Rename build -> pipeline in docs for external configuration service (#2217) 2023-08-16 08:13:26 +02:00
Patrick Schratz
1f95675365
Restructure k8s documentation (#2193)
As suggested in
https://github.com/woodpecker-ci/woodpecker/discussions/2160.

- Simplified wording
- Referenced helm chart
- Removed "experimental" banner as the k8s backend is quite stable I'd
say (after using it for months now)
- Add example for `resources` definition`

---------
Co-authored-by: Anbraten <anton@ju60.de>
2023-08-14 03:03:32 +02:00
qwerty287
4d83ea0de8
Add SSH clone URL env var (#2198)
to improve https://github.com/woodpecker-ci/plugin-git/pull/75
2023-08-12 17:39:13 +02:00
Jef Roosens
0fe51ab792
Update list of "projects using Woodpecker" (#2196)
I've added my current most active projects (nearly all my repos use wp,
but these I found worth mentioning)
2023-08-11 10:51:19 +02:00
Pablo Ovelleiro Corral
7805dc8e23
Update 92-awesome.md (#2195) 2023-08-11 08:11:16 +02:00
6543
63d5c40afd
Deprecate "platform" filter in favour of "labels" (#2181)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-08-09 16:09:44 +02:00
6543
71666f0500
Fail hard on deprecated pipeline keys (#2180)
so we can drop it in next minor version complete
2023-08-09 15:33:10 +02:00
qwerty287
4bed647000
Better blog title/desc (#2182) 2023-08-09 15:23:13 +02:00
qwerty287
67b7de5cc2
Fix UI and backend paths with subpath (#1799)
I'm not sure if this is an ideal fix for this, but it seems to work for
me. If you have another idea just let me know.

Closes #1798 
Closes #1773
2023-08-07 16:05:18 +02:00
Patrick Barrett
72c0c4fe63
docs: Environment Variable Seems to be DOCKER_HOST, not DOCKER_SOCK (#2122) 2023-08-07 01:27:28 +02:00
qwerty287
d1c51f4af8
Lazy-load TimeAgo locales (#2094)
1. new translation docs
2. lazy-load TimeAgo locales (used for "x min ago" messages). This 1.
reduces size and 2. provides all languages without adding them manually.
3. Remove DayJS locales, they're unused.
2023-08-03 19:25:12 +02:00
qwerty287
aca090bbb0
Fix version in FAQ (#2101)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-08-03 10:48:39 +02:00
qwerty287
1a7f7a9427
Allow to disable swagger (#2093)
https://github.com/woodpecker-ci/woodpecker/issues/1944
2023-08-03 02:42:30 +02:00
qwerty287
09b7a0bdef
Add blog posts/tutorials (#2095) 2023-08-02 15:05:46 +03:00
Michalis Zampetakis
4ad2c4eb45
Support bitbucket Dir() / multi-workflows (#2045) 2023-08-02 13:15:57 +02:00
Robert Kaussow
a8b8c9a588
update version docs about versioning (#2086)
Adds changes from
https://github.com/woodpecker-ci/woodpecker/pull/2043/files to v1.0
docs.
2023-08-02 04:18:34 +02:00
Robert Kaussow
e1a273d25d
Update docs deps to address cves (#2080)
Related-to: https://github.com/woodpecker-ci/woodpecker/pull/2078

Remaining CVEs:

```
❯ trivy fs --exit-code 1 --skip-dirs node_modules/,plugins/woodpecker-plugins/node_modules/ docs/
2023-08-01T10:02:36.911+0200	INFO	Vulnerability scanning is enabled
2023-08-01T10:02:36.911+0200	INFO	Secret scanning is enabled
2023-08-01T10:02:36.911+0200	INFO	If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2023-08-01T10:02:36.911+0200	INFO	Please see also https://aquasecurity.github.io/trivy/v0.43/docs/scanner/secret/#recommendation for faster secret detection
2023-08-01T10:02:36.963+0200	INFO	Number of language-specific files: 1
2023-08-01T10:02:36.963+0200	INFO	Detecting pnpm vulnerabilities...

pnpm-lock.yaml (pnpm)

Total: 2 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 1, CRITICAL: 0)

┌─────────┬────────────────┬──────────┬───────────────────┬────────────────┬──────────────────────────────────────────────────────────────┐
│ Library │ Vulnerability  │ Severity │ Installed Version │ Fixed Version  │                            Title                             │
├─────────┼────────────────┼──────────┼───────────────────┼────────────────┼──────────────────────────────────────────────────────────────┤
│ got     │ CVE-2022-33987 │ MEDIUM   │ 9.6.0             │ 11.8.5, 12.1.0 │ missing verification of requested URLs allows redirects to   │
│         │                │          │                   │                │ UNIX sockets                                                 │
│         │                │          │                   │                │ https://avd.aquasec.com/nvd/cve-2022-33987                   │
├─────────┼────────────────┼──────────┼───────────────────┼────────────────┼──────────────────────────────────────────────────────────────┤
│ trim    │ CVE-2020-7753  │ HIGH     │ 0.0.1             │ 0.0.3          │ nodejs-trim: Regular Expression Denial of Service (ReDoS) in │
│         │                │          │                   │                │ trim function                                                │
│         │                │          │                   │                │ https://avd.aquasec.com/nvd/cve-2020-7753                    │
└─────────┴────────────────┴──────────┴───────────────────┴────────────────┴──────────────────────────────────────────────────────────────┘
```

- `trim` is pulled in by `@docusaurus/theme-classic` and can be ignored
due to
https://github.com/facebook/docusaurus/issues/7275#issuecomment-1113997259
- `got` can be ignored as well, see `trim`
2023-08-01 13:30:44 +02:00
Anbraten
e0ed1b3e49
Change master to main (#2044) 2023-07-31 05:47:23 +02:00
lonix1
390295c844
fix: global registry docs (#2070)
The
[docs](https://woodpecker-ci.org/docs/administration/server-config#global-registry-setting)
for global registry are missing the part that shows that the docker
config must be mounted.

I mounted to `root`'s home directory, as that is the user running the
container.
2023-07-31 04:17:07 +02:00
Anbraten
4731eeb5db
Improve bitbucket docs (#2066) 2023-07-30 17:52:47 +02:00
6543
264f12fb54
Blog post for v1.0.0 release (#2055)
introduce the v1.0.0

---------
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2023-07-29 16:05:44 +02:00
6543
960a52bc0b
Add breaking note for command: removal (#2056)
close  #2054

as we missed at #1032 that it was mentioned at one point in the docs and
so it was a breaking change
2023-07-29 14:52:43 +02:00
6543
da9bfa64ce
Fix docs nit and add rm todo for v1.2.0 (#2049) 2023-07-28 15:33:23 +02:00
6543
a83b0fcfd3
Drop deprecated built-in environment variables (#2048)
Drop:
 - `CI_BUILD_*`
 - `CI_PREV_BUILD_*`
 - `CI_JOB_*`
 - `*_LINK`
 - `CI_SYSTEM_ARCH`
 - `CI_REPO_REMOTE`
2023-07-28 14:58:20 +02:00
6543
27c0ff502e
Remove fallback check for old sqlite file location (#2046)
non breaking as we did fix or hard fail in last version, now we just
don't check anymore

---------

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2023-07-28 13:31:25 +02:00
6543
1d2f594fc6
update docs about versioning (#2043)
#2040 did point out, it needs to be better clarified
2023-07-27 15:46:20 +02:00
6543
1da0ad38a8
Set v1.0 documents as default and mark v0.15 as unmaintained (#2034) 2023-07-26 20:06:43 +02:00
6543
1c116daf08
Create docs for v1.0.x (#1855)
and also fix / enhance some
2023-07-25 12:41:58 +02:00
lonix1
a143ef4779
docs: advanced pipeline management (#2018)
Various ways to factor out common data in a pipeline file - having them
in one place rather than spread out over many pages, will help newbies
like me.
2023-07-21 21:58:17 +02:00
6543
4d2f824fb8
fix docs nits (#2025) 2023-07-21 21:56:24 +02:00
Robert Kaussow
443c23c58a
Use global logger for xorm logs and add options (#1997)
Please let me know if this goes in the right direction. Needs some tests and docs.
2023-07-15 01:15:13 +02:00
qwerty287
570f5044e8
Drop support for Bitbucket Server (#1994)
Closes #1962
2023-07-13 15:47:25 +02:00
6543
fa951a8e95
Add agent config file (#1971) 2023-07-12 18:51:40 +02:00
Anbraten
2432abd379
Add a blog (#1978)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-07-11 23:31:45 +02:00
Patrick Schratz
41f53024c1
Bump alpine image for preview (#1981) 2023-07-11 23:02:05 +02:00
6543
e85eeb10fc
Fix repo gate protection (#1969)
- clarify docs
- don't block cron pipelines
- run manual triggered pipelines right away

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-07-11 17:34:50 +02:00
Robert Kaussow
fe7eb64bf9
Add option to read grpc-secret from file (#1972) 2023-07-10 23:53:02 +02:00
Martin W. Kirst
2c1fc4b500
support custom .JS and .CSS files for custom banner messages (white-labeling) (#1781)
This PR introduces two new server configuration options, for providing a
custom .JS and .CSS file.
These can be used to show custom banner messages, add
environment-dependent signals, or simply a corporate logo.

### Motivation (what problem I try to solve)

I'm operating Woodpecker in multiple k8s clusters for different
environments.
When having multiple browser tabs open, I prefer strong indicators for
each environment.
E.g. a red "PROD" banner, or just a blue "QA" banner.
Also, we sometimes need to have the chance for maintenance, and instead
of broadcasting emails,
I prefer a banner message, stating something like: "Heads-up: there's a
planned downtime, next Friday, blabla...".

Also, I like to have the firm's logo visible, which makes Woodpecker
look more like an integral part of our platform.

### Implementation notes

* Two new config options are introduced ```WOODPECKER_CUSTOM_CSS_FILE```
and ```WOODPECKER_CUSTOM_JS_FILE```
* I've piggy-bagged the existing handler for assets, as it seemed to me
a minimally invasive approach
* the option along with an example is documented
* a simple unit test for the Gin-handler ensures some regression safety
* no extra dependencies are introduced

### Visual example

The documented example will look like this.

![Screenshot 2023-05-27 at 17 00
44](https://github.com/woodpecker-ci/woodpecker/assets/1189394/8940392e-463c-4651-a1eb-f017cd3cd64d)

### Areas of uncertainty 

This is my first contribution to Woodpecker and I tried my best to align
with your conventions.
That said, I found myself uncertain about these things and would be glad
about getting feedback.

* The handler tests are somewhat different than the other ones because I
wanted to keep them simple - I hope that still matches your coding
guidelines
* caching the page sometimes will let the browser not recognize changes
and a user must reload. I'm not fully into the details of how caching is
implemented and neither can judge if it's a real problem. Another pair
of eyes would be good.
2023-07-10 12:46:35 +02:00
lonix1
45319b24cd
docs: user registration (#1925)
Further to discussion on [discord](https://discord.com/channels/838698813463724034/838698813463724037/1125412378125803612).

The docs should be clearer about:
- user registration in general, and 
- preventing registration of random users but allowing specific ones.

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-07-07 05:31:19 +02:00
Guillaume REMBERT
0cf602a1f6
Add Kubernetes and Dockle Plugins (#1930)
Add Kubernetes Deployments and StatefulSet update and Dockle Scan Plugins.

For Kubernetes plugin, I based on the Drone unmaintened Kubernetes
plugin and took the statefulset management evolutions. I added sync/wait
and force redeploy capabilities + updates dependencies

For Dockle plugin, I took example on Trivy plugin.
2023-07-04 20:28:43 +02:00
Ell
10313e79a0
Added Nextcloud Upload plugin (#1927)
Add plugin [Nextcloud Upload](https://github.com/Ellpeck/WoodpeckerPlugins/tree/main/nextcloud-upload) to the official plugin list.

there's already an official plugin that allows uploading
files using WebDAV, but my plugin has two Nextcloud-specific additions
that aren't part of the regular WebDAV spec:
- The ability to chunk uploads, which is necessary for larger files if
Nextcloud is hosted behind Cloudflare (which restricts uploads to a
maximum of 100MB)
- The ability to apply Nextcloud tags, which allows automatically
categorizing items and using Nextcloud's Retention plugin to easily
auto-remove older artifacts.
2023-07-03 19:47:10 +02:00
Thomas Anderson
3386696d71
Added agent registration docs (#1921)
---------

Co-authored-by: 6543 <6543@obermui.de>
2023-07-03 15:44:16 +02:00
Thomas Anderson
b616a822a0
Fixed when:evaluate on non-standard (non-CI*) env vars (#1907)
Makes it possible to evaluate `when` constraint on custom environment
variables.
2023-07-02 23:45:22 +02:00
Timo Tomasini
eb5c48a85f
Store agent ID in config file (#1888) 2023-07-02 17:22:05 +02:00
qwerty287
9dc839b946
Fix default value (#1916)
From #1784 and #1898
2023-07-02 10:50:59 +02:00
Epsilon_02
3714e9c218
Add TODO-Checker plugin (#1906)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-07-01 08:26:53 +02:00
Patrick Schratz
44b54db475
Document k8s volume usage (#1896) 2023-06-29 19:22:33 +02:00
qwerty287
3033abc3b4
Add own workflow model (#1784)
Closes #1287

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-06-27 18:01:18 +02:00
runephilosof-karnovgroup
1fa0212731
Add minimum usage for CLI v0.15.x to docs (#1878)
Co-authored-by: 6543 <6543@obermui.de>
2023-06-25 23:38:25 +02:00
qwerty287
eaae6b44c7
Remove default event filter (#1880)
Closes https://github.com/woodpecker-ci/woodpecker/issues/1863
2023-06-21 18:12:20 +02:00
qwerty287
5c587a3243
Add security section to docs (#1877) 2023-06-21 16:59:57 +02:00
Thomas Anderson
0c3021473f
Added Woodpecker Host Config used for Webhooks (#1869)
When SCM and Woodpecker are deployed in the same cluster, I want that
SCM requests Woodpecker directly by internal URL.


![Webhook-host-diagram](https://github.com/woodpecker-ci/woodpecker/assets/127358482/c4689d55-839a-4731-95b3-5734ba561e5f)
 
This PR adds optional URL used for Webhook calls.
2023-06-18 14:47:40 +02:00
6543
6ab9f802d1
Fix links in docs (#1859) 2023-06-13 18:58:26 +02:00
Anbraten
ff01a9ff1d
Access repos by their ids (#1691)
closes #1295 
closes #648

# TODO
- [x] add new routes with `:repoID`
- [x] load repo in middleware using `:repoID` if present
- [x] update UI routes `:owner/:name` to `:repoID`
- [x] load repos using id in UI
- [x] add lookup endpoint `:owner/:name` to `:repoID`
- [x] redirect `:owner/:name` to `:repoID` in UI
- [x] use badge with `:repoID` route in UI
- [x] update `woodpecker-go`
- [x] check cli
- [x] add migrations / deprecation notes
- [x] check if #648 got solved directly
- [x] Test
  - [x] create repo
  - [x] repo pages
  - [x] ui redirects
  - [x] forge status links
2023-06-13 01:07:52 +02:00
runephilosof-karnovgroup
e3593cd9a4
01-getting-started.md: fix WOODPECKER_HOST example (#1849) 2023-06-12 23:22:00 +02:00
6543
5139624cf8
Migrate old logs to new database schema (#1828)
address new models based on #1802
2023-06-12 22:43:14 +02:00
Ovidiu Calbajos
609ba481b5
Support for k8s serviceAccount and nodeSelector (#1842)
Add the possiblity to specify the Kubernetes serviceAccount and/or
nodeSelector to be used on individual steps for Kubernetes executor
2023-06-12 16:00:59 +02:00
6543
7bae68758f
[Docs] Fix schema to replace "tag" by "ref"-filter (#1841)
#1820 followup
2023-06-09 12:43:12 +02:00
6543
7e708874ae
Rename yaml pipeline to steps (#1833)
Adjust pipeline-config to match
[Terminology](https://woodpecker-ci.org/docs/next/usage/terminology)
2023-06-07 12:04:37 +02:00
6543
971cb52032
Rename pipeline frontend types (#1829)
this adjust the packages that parse the yaml-config-file to match
[Terminology](https://woodpecker-ci.org/docs/next/usage/terminology)
2023-06-06 09:14:21 +02:00
6543
ea895baf83
Resolve built-in variables for global when filter (#1790)
addresses
bd461477bd

close  #1244, close #1580

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-06-05 00:15:07 +02:00
6543
c919f32e0b
[Docs] Remove never implemented "tag"-filter and document "ref"-filter to do the same (#1820)
close #1211
2023-06-04 12:13:32 +02:00
6543
d1213afdc8
[Docs] use redocusaurus to display swagger file (#1818)
https://redocusaurus.vercel.app/

followup of  #1782

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-06-04 05:07:39 +02:00
Stephen Muth
2941e508b3
Allow setting resources for kubernetes on a per-step basis (#1767)
This add a simple implementation of requests/limits for individual
steps. There is no validation of what the resource actually is beyond
checking that it can successfully be converted to a Quantity, so it can
be used for things other than just memory/CPU.

close #1809
2023-06-04 00:50:08 +02:00
Martin W. Kirst
14177635b6
Update swagger API specification (#1782)
# Summary

This PR drops the outdated former swagger.yaml/json and introduced
automatic API document generation from Go code.
The generated code is also used to generate documentation/markdown for
the community page,
as well as enable the Woodpecker server to serve a Swagger Web UI for
manual tinkering.

I did opt-in for gin-swagger, a middleware for the Gin framework, to
ease implementation and have a sophisticated output.
This middleware only produces Swagger v2 specs. AFAIK the newer OpenApi
3x tooling is not yet that mature,
so I guess that's fine for now.

## Implemenation notes

- former swagger.json files removed
- former // swagger godocs removed
- introduced new dependency gin-swagger, which uses godoc annotations on
top of Gin Handler functions.
- reworked Makefile to automatically generate Go code for the server
- introduce new dependency go-swagger, to generate Markdown for
documentation purposes
- add a Swagger Web UI, incl. capabilities for manual API exploration
- consider relative root paths in the implementation
- write documentation for all exposed API endpoints
- incl. API docs in the community website (auto-generated)
- provide developer documentation, for the Woodpecker authors
- no other existing logic/code was intentionally changed

---------

close #292

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2023-06-03 21:38:36 +02:00
6543
317bd24abb
Define Glossary (#1800)
based on
https://github.com/woodpecker-ci/woodpecker/issues/745#issuecomment-1313401427

close  #1724

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-06-03 16:39:56 +02:00
Thomas Anderson
0ba7ed4128
Added Hardware Requirements documentation (#1812)
Closes #1742 

```
PS C:\> kubectl top pod -n scm
NAME                                 CPU(cores)   MEMORY(bytes)
gitea-0                              1m           324Mi
postgres-0                           3m           55Mi
woodpecker-agent-6f475dc7c8-z494d    1m           20Mi
woodpecker-server-79545f8dd5-hl68l   1m           25Mi
```

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2023-06-03 16:36:34 +02:00
qwerty287
6e6f36ee3a
Add "Installing Woodpecker CI in your personal homelab" post (#1811) 2023-06-03 09:21:51 +02:00
6543
524611cf00
Add Forge Metadata (#1789)
close  #1787
2023-05-31 18:30:41 +02:00
6543
a1943aa49e
Buildin Env Vars, use _URL for all links/urls (#1794)
based on https://framadate.org/jVSQHwIGfJYy82IL

close #1793
2023-05-31 18:03:38 +02:00
6543
f5a85d21be
Drop ".drone.yml" as default pipeline config (#1795)
it did make sense to have it still supported within v0.15.0,

but as we move future away and with the release of v1.0.0
we should not give the appearance of still support the original drone
v0.8 config
2023-05-31 16:02:20 +02:00
qwerty287
c111fbfd14
Add "Replace Ansible Semaphore with Woodpecker CI" video (#1772) 2023-05-22 23:50:01 +02:00
6543
375e352a84
Add MkDocs Plugin (#1770)
https://codeberg.org/woodpecker-plugins/mkdocs
2023-05-21 07:54:23 +02:00
6543
1a79d30555
Add Trivy Plugin (#1769) 2023-05-21 00:21:34 +02:00
Dessalines
90371ff5d0
Add Android CI example to awesome woodpecker (#1763)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-05-18 12:10:05 +02:00
qwerty287
2ccf7c6f1a
Drop Gogs support (#1752)
Gogs support is broken (and we won't fix it because we don't care about
it...) because it does not support OAuth, at least after we introduced
the new Vue UI.

See:

77d830d5b5/server/forge/gogs/gogs.go (L84)

This route is not present in the new UI.
2023-05-14 10:34:05 +02:00
6543
77d830d5b5
Improve skip_clone documentation (#1747)
Co-authored-by: Anbraten <anton@ju60.de>
2023-05-12 16:28:45 +02:00
meak
41a50ae915
Allow to configure port for SSL (#1735)
Co-authored-by: Mehdi Katranji <hello@mek.yt>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-05-11 06:11:10 +02:00
Alexander Wühr
02cfbc8cbf
Add ntfy plugin (#1741)
Add https://codeberg.org/l-x/woodpecker-ntfy to the index
2023-05-11 01:18:31 +02:00
Alexander Matyushentsev
049c26229d
Let agent retry to connecting to server (#1728)
Closes https://github.com/woodpecker-ci/woodpecker/issues/1721

PR introduces connection retries during agent startup.

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2023-05-03 13:31:29 +02:00
Anbraten
80444c73af
Add forgejo in docs (#1733)
superseds #1543
2023-05-01 21:55:55 +02:00
qwerty287
54d4ec04c0
Drop Gogs private mode (#1726)
You should use `WOODPECKER_AUTHENTICATE_PUBLIC_REPOS` instead if repos
sent from forge as public should be authenticated
2023-04-30 14:01:11 +02:00
qwerty287
b90e7904a5
Support path prefix (#1714)
closes #1636 
closes #1429
supersedes #1586

Uses a different approach: just take the index.html compiled by vite and
replace the paths to js and other files using regex. This is not
compatible with the dev proxy which is also the reason why we can't use
go templates for this.
2023-04-29 17:51:50 +02:00
6543
204d05f447
Implement YAML Map Merge, Overrides, and Sequence Merge Support (#1720)
close  #1192
2023-04-29 14:49:41 +02:00
Felix Kröner
5abba554b6
Remove unnecessary parenthesis (#1710)
Came across this while reading the docs.
2023-04-20 15:56:40 +02:00
Thomas Anderson
de033176fd
Improved Usage documentation (#1709)
Hello.
I fixed [Project Settings documentation
page](https://woodpecker-ci.org/docs/next/usage/project-settings).
Review, please.
2023-04-19 19:52:54 +02:00
6543
c40a6d884f
Adjust documentation of "CI_PIPELINE_LINK" to reflect actual behavior. (#1701)
close #1537
2023-04-09 19:26:03 +02:00
Anbraten
36b5ae3459
Add env for workflow and step name (#1693)
closes #1681
2023-04-08 13:15:28 +02:00
6543
44a1cd8782
Refactor plugin-index plugin for docs (#1694)
- delete NewPluginPanel as it's not used
- useRef for fuse
2023-04-03 17:09:05 +02:00
Anbraten
81998b7001
Add backend label to agents (#1692)
closes #708 

Allows users to filter for a specific backend type.
2023-04-03 12:30:52 +02:00
6543
6d022712e8
Fix docs build (#1690)
Co-authored-by: Anbraten <anton@ju60.de>
2023-04-03 12:30:01 +02:00
6543
d98e566de2
docs: update pnpm-lock.yaml of woodpecker-plugins
yes it would had made sense to create a pull looking at the last 2 commits ...
2023-04-03 00:33:43 +02:00
6543
d240c1dd02
docs: update pnpm-lock.yaml 2023-04-03 00:27:30 +02:00
陈杨文
799bb42ddd
docs: add woodpecker-feishu-bot to plugins.json (#1679)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-03-24 19:22:08 +01:00
Dhanu Saputra
e9fc5ebd0e
Docs: make sure shell examples can be copied (#1670)
close #1656

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-03-24 18:18:14 +01:00
Lauris BH
46452fbd84
Update Go dependencies and minimal Go version to 1.20 (#1650)
Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@obermui.de>
2023-03-21 00:48:15 +01:00
Anbraten
2337f1854a
Add queue details UI for admins (#1632)
# Changes
- Adds an admin view to see the whole work-queue of the server. 
- The admin can also pause / resume the queue. 
- The view is reloading data every 5 seconds automatically.
- The task model from queue got removed in favor of the one from models.
2023-03-20 04:50:56 +01:00
qwerty287
f582ad3159
Various enhancements in configuration (#1645)
- backends: move to cli flags instead of os.Getenv
- ssh: support 2fa with key and password
- allow to set grpc jwt secret (solves todo)
- allow to set default and max timeout (solves todo)

Closes https://github.com/woodpecker-ci/woodpecker/issues/896
Closes https://github.com/woodpecker-ci/woodpecker/issues/1131
2023-03-19 20:24:43 +01:00
qwerty287
37dc8a46e0
Drop coding support (#1644)
Coding support is likely broken and nobody will ever fix it. Also it
looks like nobody wants to use it, otherwise we would have get some bug
reports.

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-03-19 09:36:04 +01:00
Lukas
1b43b0bf20
Add pull request labels as environment variable (#1321)
Closes #1308 

Co-authored-by: Anbraten <anton@ju60.de>
2023-03-17 03:43:04 +01:00
Hayden
1c1c08831f
docs: update docs to include plugin repositories (#1596)
Closes #1536 

Co-authored-by: 6543 <6543@obermui.de>
2023-03-14 03:42:53 +01:00
Alexander Matyushentsev
9288670c61
feat: expose unprotected metrics endpoint (#1614)
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Anbraten <anton@ju60.de>
2023-03-12 09:41:10 +01:00
Hayden
72784bc11a
Add note about docker image cleanup (#1597)
Closes #1532

Adds notes about images not being cleaned up by wood-pecker and provides
examples on how you can automate the cleanup. Also provides a warning
that these are destructive actions.

<img width="1020" alt="CleanShot 2023-03-03 at 09 36 35@2x"
src="https://user-images.githubusercontent.com/64056131/222800658-f610d488-f8ea-4aca-8ed0-f26e44be1884.png">

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-03-06 07:33:02 +01:00
John Olheiser
9d90b1ffb7
Update when-path for Gitea (#1598)
As title, looks like it should have been updated at the same time as the
other notice.
2023-03-03 15:43:05 -06:00
Anbraten
0bcbcb354f
Rename multi pipelines to workflows (#1285)
Co-authored-by: 6543 <6543@obermui.de>
2023-02-28 18:52:53 +01:00
Anbraten
c05b51fb54
Add version notes to docs (#1592) 2023-02-28 17:30:25 +01:00
Brian King
f71e623b09
Update 15-agent-config.md (#1578)
Document DOCKER_HOST environment variable as described at
https://github.com/woodpecker-ci/woodpecker/pull/763
2023-02-10 05:05:21 +01:00
Earl Warren
7835a632e4
Define WOODPECKER_FORGE_TIMEOUT server config (#1558)
When a server such as Codeberg has unusually high response time, three
seconds may not be enough to fetch the configuration.

Signed-off-by: Earl Warren <contact@earl-warren.org>
Co-authored-by: 6543 <6543@obermui.de>
2023-02-01 18:53:19 +01:00
Simon Vieille
1cd73f0b76
Add Email plugin (#1545)
Add plugin to send build status notifications via Email

Co-authored-by: Simon Vieille <simon.vieille@trinaps.com>
2023-01-15 16:31:44 +01:00
antomy-gc
6516a28cdd
Secrets encryption in database (#1475)
closes #101

Added secrets encryption in database

- Google TINK or simple AES as encryption mechanisms
- Keys rotation support on TINK
- Existing SecretService is wrapped by encryption layer
- Encryption can be enabled and disabled at any time

Co-authored-by: Kuzmin Ilya <ilia.kuzmin@indrive.com>
Co-authored-by: 6543 <6543@obermui.de>
2023-01-12 20:59:07 +01:00
6543
f71142d162
Pin official default clone image (#1526)
address https://github.com/woodpecker-ci/woodpecker/issues/1508#issuecomment-1368007494
2023-01-10 17:34:21 +01:00
John Olheiser
9e56c66db8
Add Gitea Release plugin to docs (#1533) 2023-01-10 16:28:09 +01:00
Lauris BH
21bc885c51
Add pipeline trigger plugin (#1531)
Should wait when CI is configured and docker image is published
2023-01-09 18:43:04 +01:00
brenard
f1e9c8416d
Add Aptly publish plugin (#1521)
A plugin to publish one (or more) Debian package on a Aptly repository using its API.
2023-01-03 01:49:58 +01:00
Gerrit Großkopf
fd6eb36a31
Updating Example configuration to override depth (#1519)
This should match the updated procedure introduced in
https://github.com/woodpecker-ci/plugin-git/pull/48
2023-01-02 17:08:17 +01:00
LJ
cde1b3b95d
Add an small autoscaler project to awesome list (#1517)
A small project, that creates and removes VPS server on hetzner, based on the current CI needs.
2023-01-02 05:30:10 +01:00
6543
7c9644c887
Add WebDAV to plugin index 2022-12-29 01:37:15 +01:00
smainz
73067c5868
Add a sentence regarding translations to the development docs (UI page) (#1459)
Make obvious, that at least an English message key has to be added to the message files
2022-12-21 14:45:41 +01:00
Anbraten
a3f4f3056c
disable metrics access if no token is set (#1469) 2022-12-09 18:03:43 +01:00