Commit graph

505 commits

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