Commit graph

4952 commits

Author SHA1 Message Date
Patrick Schratz
78ea405c85
renovate: add golang group (#2567) 2023-10-11 11:51:59 +02:00
renovate[bot]
c8dd4997e3
chore(deps): update golang docker tag to v1.21.3 (#2564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 11:11:48 +02:00
renovate[bot]
02d92ba668
chore(deps): update techknowlogick/xgo docker tag to go-1.21.3 (#2565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:53:45 +02:00
renovate[bot]
27168804f0
fix(deps): update golang deps non-major (#2566)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang.org/x/net | require | minor | `v0.16.0` -> `v0.17.0` |
| [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) | require
| patch | `v1.58.2` -> `v1.58.3` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>

### [`v1.58.3`](https://togithub.com/grpc/grpc-go/releases/tag/v1.58.3)

[Compare
Source](https://togithub.com/grpc/grpc-go/compare/v1.58.2...v1.58.3)

### Security

- server: prohibit more than MaxConcurrentStreams handlers from running
at once (CVE-2023-44487)

In addition to this change, applications should ensure they do not leave
running tasks behind related to the RPC before returning from method
handlers, or should enforce appropriate limits on any such work.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge - At any
time (no schedule defined).

🚦 **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:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:46:29 +02:00
renovate[bot]
fdc859cfb5
chore(deps): update mstruebing/editorconfig-checker docker tag to v2.7.2 (#2563) 2023-10-10 18:35:53 +02:00
Patrick Schratz
6db1bfa46b
Bump to mysql 8 (#2559) 2023-10-10 18:20:08 +02:00
Anbraten
f54cc2f853
Fix fetch request content type (#2562) 2023-10-10 16:26:56 +02:00
Dhadve Yash
c15ef3ca76
Remove redundant definition of webhook form docs (#2561) 2023-10-10 16:15:49 +02:00
renovate[bot]
1c62f9f22e
fix(deps): update module github.com/xanzy/go-gitlab to v0.93.1 (#2560)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/xanzy/go-gitlab](https://togithub.com/xanzy/go-gitlab) |
require | patch | `v0.93.0` -> `v0.93.1` |

---

### Release Notes

<details>
<summary>xanzy/go-gitlab (github.com/xanzy/go-gitlab)</summary>

###
[`v0.93.1`](https://togithub.com/xanzy/go-gitlab/compare/v0.93.0...v0.93.1)

[Compare
Source](https://togithub.com/xanzy/go-gitlab/compare/v0.93.0...v0.93.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge - At any
time (no schedule defined).

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

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

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 07:52:17 +02:00
Anbraten
62d6a6bc34
Move skip-ci back in front of config fetching (#2555) 2023-10-09 18:15:53 +02:00
qwerty287
46273e54d8
Require Go 1.21 (#2553)
Main change are the new `maps` and `slices` stdlib packages so we can
replace `golang.org/x/exp`.
2023-10-09 09:11:08 +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
renovate[bot]
aaf7bdc6e2
chore(deps): update techknowlogick/xgo docker tag to go-1.21.2 (#2523) 2023-10-09 08:02:39 +02:00
Anbraten
284fb99194
UI cleanups and improvements (#2548) 2023-10-08 17:49:13 +02:00
Anbraten
5bad63556a
Update issue config (#2353) 2023-10-08 17:32:56 +02:00
qwerty287
53b79eabcd
Add test for handling pipeline error (#2547)
Credits: @langecode

Taken from #2504
2023-10-08 14:58:13 +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
Michalis Zampetakis
259ff78a62
Fix PR event trigger and list for bitbucket repos (#2539)
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-10-08 14:18:49 +02:00
qwerty287
22dfd2ef62
Refactor pipeline parsing and forge refreshing (#2527)
- refactor pipeline parsing
- do not parse the pipeline multiple times to perform filter checks, do
this once and perform checks on the result directly
    - code deduplication
- refactor forge token refreshing
    - move refreshing to a helper func to reduce code

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-10-08 14:05:06 +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
Weblate
cbd0c26a0c Translated using Weblate (German)
Currently translated at 100.0% (349 of 349 strings)

Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2023-10-07 17:03:56 +00:00
qwerty287
6699577aba
Fix ccmenu endpoint (#2543) 2023-10-07 18:59:59 +02:00
qwerty287
3bd53b379e
Fix gitlab hooks and simplify config extension (#2537)
- closes #2534 
- remove `IsConfigured` func from config extension.
  If `server.Config.Services.ConfigService != nil` it is always configured
2023-10-07 16:41:25 +02:00
6543
bb17d25963
Trim last "/" from WOODPECKER_HOST config (#2538)
https://youtu.be/dGwC_AxaWLo?t=770  
( https://youtu.be/dGwC_AxaWLo?t=1020 )
2023-10-07 15:39:19 +02:00
renovate[bot]
4e0b0bd9b6
chore(deps): update golang docker tag to v1.21.2 (#2532) 2023-10-07 08:57:35 +02:00
renovate[bot]
4b4e91e4ee
fix(deps): update golang.org/x/exp digest to 7918f67 (#2535) 2023-10-07 08:46:08 +02:00
Michalis Zampetakis
d2f279453b
Add bitbucket tag support in docs (#2536) 2023-10-07 07:51:06 +02:00
renovate[bot]
14fb564629
fix(deps): update golang deps non-major (#2533) 2023-10-06 17:33:06 +02:00
renovate[bot]
931af16d14
fix(deps): update golang.org/x/exp digest to 3e424a5 (#2530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 23:39:39 +02:00
Anbraten
910a5e6963
Fix plugin-ready-release-go version (#2525) 2023-10-05 10:00:53 +02:00
qwerty287
7136ca1999
Use golangci-lint to lint zerolog (#2524) 2023-10-04 15:48:56 +02:00
Patrick Schratz
8791e64557
Renovate config updates (#2519) 2023-10-04 11:09:19 +02:00
Martin W. Kirst
570141eae7
Use correct mime type when no content is sent (#2515)
closes #2514 

The fix is simple, just providing a file name, so
`http.ServeContent(...)` can set the correct mimeype in case the content
is zero bytes.

The test was just extended.

PS: I would appreciate a `hacktoberfest-accepted` label ;)

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-10-03 12:28:20 +02:00
renovate[bot]
e8ef1fb3c1
fix(deps): update module github.com/docker/distribution to v2.8.3+incompatible (#2517) 2023-10-03 09:35:40 +02:00
6543
8629a418f8
local backend set home variable windows-equivalent too (#2323) 2023-10-01 14:56:49 +02:00
renovate[bot]
dd335f43f7
fix(deps): update module github.com/melbahja/goph to v1.4.0 (#2513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 09:50:10 +01:00
renovate[bot]
64951d6a9e
fix(deps): update golang deps non-major (#2500) 2023-09-30 09:23:11 +02:00
Michalis Zampetakis
57b7b1788d
Fix bitbucket branches pagination. (#2509) 2023-09-29 18:01:29 +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
qwerty287
ecdc729cdc
Some cleanups about host config (#2490) 2023-09-23 07:54:23 +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
renovate[bot]
f6d551c8b7
fix(deps): update golang deps non-major (#2486) 2023-09-22 16:01:09 +02:00
Weblate
7c52358443 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (349 of 349 strings)

Co-authored-by: yeziruo <i@yeziruo.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-09-22 05:59:35 +00:00
Weblate
4e1db732e9 Translated using Weblate (French)
Currently translated at 100.0% (349 of 349 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translation: Woodpecker CI/UI
2023-09-20 16:46:02 +00:00
qwerty287
842e8a8e50
Remove deprecated options parsing (#2480)
Main change is that backwards compatibility to `platform` was removed.
Part of
https://github.com/woodpecker-ci/woodpecker/discussions/2170#discussioncomment-7047394
2023-09-20 13:48:34 +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