Commit graph

5161 commits

Author SHA1 Message Date
6543
5b3bba726d
local backend ignore errors in commands inbetween (#2636)
for normal posix shells we have to add the `-e ` option ... but as there
are more shells out there we have to handle this edgecases on base per
base case.

create a switch case statement in woodpecker should be fine as there is
only a finite number of shells, used in production.

also close  #2612

---
*Sponsored by Kithara Software GmbH*
2023-10-28 13:38:47 +02:00
qwerty287
e74115027b
Add some tests (#2652)
and some cleanups
2023-10-28 13:37:54 +02:00
renovate[bot]
4f8732bafc
chore(deps): update docs npm deps non-major (#2660) 2023-10-28 08:43:25 +02:00
renovate[bot]
8a1f271b58
chore(deps): update web npm deps non-major (#2661) 2023-10-28 08:19:29 +02:00
Weblate
3607886be2 Translated using Weblate (Indonesian)
Currently translated at 100.0% (352 of 352 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (352 of 352 strings)

Translated using Weblate (German)

Currently translated at 100.0% (352 of 352 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: yeziruo <i@yeziruo.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-10-26 08:46:08 +00: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
Patrick Schratz
703983419a
Bump codecov version to fix build (#2644)
Co-authored-by: 6543 <6543@obermui.de>
2023-10-24 17:20:07 +02:00
qwerty287
387637bb4e
Use repo user to repair (#2645)
Solve
https://github.com/woodpecker-ci/woodpecker/pull/2642#pullrequestreview-1694731501
2023-10-24 15:54:43 +02:00
qwerty287
5045f1e431
Remove deprecated API paths (#2639) 2023-10-24 15:21:05 +02:00
Patrick Schratz
c344cbb0fc
Fix codecov plugin version (#2643)
After the recent update of the plugin (which now follows semver)
2023-10-24 14:55:24 +02:00
Anbraten
66a5ba4e4f
Add prettier (#2600) 2023-10-24 14:42:05 +02:00
qwerty287
69917c1a0d
Add "Repair all" button (#2642)
to the admin repo list

ref #2639
2023-10-24 14:12:55 +02:00
qwerty287
d5e68efc95
Do not print log level on CLI (#2638)
if it's not in debug log level

closes https://github.com/woodpecker-ci/woodpecker/issues/1764
2023-10-24 12:23:42 +02:00
qwerty287
a1a35eb7be
Fix error when closing logs (#2637)
Previously, *all* log streams of the pipeline were closed everytime when
a workflow is done, if you have multiple workflows, streams will be
closed multiple times.

Closes https://github.com/woodpecker-ci/woodpecker/issues/2036
2023-10-24 10:44:36 +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
9232db06dd
Use pagination utils (#2633)
1. replace custom pagination code with pagination util
2. add pagination if it could be necessary (hook deactivation)
2023-10-23 18:44:25 +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
qwerty287
0acb65e1db
Do not run docker prepare steps (#2626) 2023-10-23 13:43:40 +02:00
qwerty287
efbde332a3
Fix CI_WORKSPACE in local backend (#2627)
closes https://github.com/woodpecker-ci/woodpecker/issues/2610
2023-10-23 12:54:10 +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
e1b08c2a96
Fix docker workflow and only run if needed (#2625)
- removes docker username secret
(https://github.com/woodpecker-ci/woodpecker/issues/2589)
- fix `when` filters
https://ci.woodpecker-ci.org/repos/3780/pipeline/8907/9
- add path filter to only build docker image if stuff was changed (or
label is added)

closes #2203 
closes #2598
2023-10-23 10:08:48 +02:00
qwerty287
45bff3f49f
Some mobile UI fixes (#2624)
- hide event badges on secret lists
- fix margin on admin users
2023-10-23 09:36:46 +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]
121457b76e
fix(deps): update golang (packages) (#2614) 2023-10-23 08:45:34 +02:00
renovate[bot]
833a4ea9b4
chore(deps): lock file maintenance (#2620) 2023-10-23 08:25:44 +02:00
renovate[bot]
fae965b379
chore(deps): update codeberg.org/woodpecker-plugins/trivy docker tag to v1.0.1 (#2618) 2023-10-22 08:17:55 +02:00
renovate[bot]
54a2572051
chore(deps): update node.js to v21 (#2615) 2023-10-22 08:10:42 +02:00
Patrick Schratz
bb7e0f9221
Only publish PR images when label is set (#2608) 2023-10-20 11:27:30 +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
renovate[bot]
27ad042d4c
chore(deps): update postgres docker tag to v16 (#2588)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| postgres | major | `11` -> `16` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 12:18:11 +02:00
Anbraten
03870c5583
Cleanup docs (#2478)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2023-10-17 10:31:08 +02:00
Patrick Schratz
bbc64c36b3
Update renovate schedule & use central config repo (#2597)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2023-10-17 09:23:13 +02:00
renovate[bot]
e451d9f3d1
chore(deps): update woodpeckerci/plugin-surge-preview docker tag to v1.2.2 (#2593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 07:36:27 +02:00
qwerty287
293cc4b821
Frontport changelog (#2591) 2023-10-17 07:27:15 +02:00
Anbraten
7d7ba755cc
Fix secret priority (#2599) 2023-10-16 23:39:55 +02:00
qwerty287
5eda28b120
Update README badge link (#2596)
previous link was useless as it just points to the badge itself
2023-10-16 23:16:41 +02:00
Weblate
e38ee28a8b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (350 of 350 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-10-16 09:46:06 +00:00
renovate[bot]
62e1081b24
fix(deps): update golang (packages) to v23.0.7+incompatible (#2586) 2023-10-15 08:21:56 +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
qwerty287
22bb9248c7
Fix missing web dist (#2580) 2023-10-14 14:07:46 +02:00