1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
Commit Graph

5332 Commits

Author SHA1 Message Date
Lukas
7c4a61a17f
Fix timeout settings contrast (#3112) 2024-01-03 18:18:54 +01:00
Lukas
ef3dabc679
Fix config base64 parsing to utf-8 (#3110)
Closes #2609
2024-01-03 10:39:04 +01:00
qwerty287
9ea4b6af39
Fix version.json updates (#3057)
closes #3038
closes #2748

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-01-03 10:31:48 +01:00
Lukas
857db91634
Unfold workflow when opening via URL (#3106)
Closes #2938
2024-01-03 01:33:46 +01:00
qwerty287
d815b20c54
Remove env argument of addons (#3100)
This argument is pretty useless, so let's remove it and let addons get
their config on their own.

Note that this is a breaking change, but as [per
docs](https://woodpecker-ci.org/docs/next/administration/addons/overview)
the addon implementation can change at any time.
2024-01-02 19:54:34 +01:00
Lukas
07587d6b97
Use WOODPECKER_AGENT_SECRET instead of deprecated alternative (#3103) 2024-01-02 10:48:40 +01:00
Lukas
0860485d9d
Pin Gitea version (#3104) 2024-01-02 10:42:41 +01:00
Lauris BH
c4ca88e945
Add Reviewdog ESLint plugin (#3102)
https://codeberg.org/woodpecker-plugins/reviewdog-eslint
2024-01-02 01:08:52 +01:00
pre-commit-ci[bot]
f5d9c92824
[pre-commit.ci] pre-commit autoupdate (#3101) 2024-01-01 20:14:12 +01:00
qwerty287
5517d87dd6
Fix step depends_on as string in schema (#3099) 2024-01-01 12:16:36 +01:00
Anbraten
6fbf98f1b9
Fix slice unmarshaling (#3097)
closes #3055
2024-01-01 11:03:31 +01:00
6543
b61013c7a5
happy 2024 🎉 to all woodpecker users
https://web.archive.org/web/20240101005609/https://cdn.discordapp.com/attachments/885866635196497950/1191164852010492018/Imagepipe_24.jpg
2024-01-01 01:56:56 +01:00
qwerty287
0c05c38ddd
Move cmd/common to shared (#3092) 2023-12-31 23:29:56 +01:00
6543
4b977ab488
make sure cross-compile-server does not run with other compile steps (#3089)
I noticed it as it crashed the agent on the main server at some point as
we did use almost all swap and had 100% ram usage

in total we used 16G of ram
2023-12-31 23:13:37 +01:00
qwerty287
ef1d286596
Allow PR secrets to be used on close (#3084)
closes https://github.com/woodpecker-ci/woodpecker/issues/3071

1. If a secret can be used on PRs, it can also be used on PR close.
2. If no events are set, disallow access to secret. This was different
before, secrets without any event set were allowed for all events.
3. Compare strings instead of patterns.

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-12-31 21:43:24 +01:00
6543
069fa60b20
Mark local backend as stable (#3088) 2023-12-31 18:36:23 +01:00
6543
8b47b3a978
make event in pipeline schema also a constraint_list (#3082) 2023-12-31 08:49:46 +01:00
6543
38cf248e41
use semver for version comparsion (#3042)
close  #3041
close #3043

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-30 23:28:43 +01:00
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
6543
2cb7669413
add just more dag tests (#3083) 2023-12-30 16:45:11 +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
6543
09e6e5cbfe
Update Owners 2024 (#3075)
close  #2903
2023-12-30 15:04:26 +01:00
qwerty287
ff00308cad
Add reviewdog golangci plugin (#3080) 2023-12-30 14:32:03 +01:00
qwerty287
ab1927fca1
Indicate if step is service (#3078)
closes https://github.com/woodpecker-ci/woodpecker/issues/269

Icons in step list:
![Screenshot 2023-12-30 at 12-05-48
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/5f682cc6-8dad-4edb-ab15-b8ae93078c7c)
![Screenshot 2023-12-30 at 12-06-06
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/67782571-438e-4937-a7c6-ab2b378aa0c7)
![Screenshot 2023-12-30 at 12-07-49
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/b3841e10-ac85-4c2b-a46b-663c2db8f59e)
2023-12-30 13:28:11 +02:00
Andy Han
f100a21cc7
Fix badge's repoUrl with rootpath (#3076)
Fix #3032 again.
2023-12-30 09:56:48 +01:00
renovate[bot]
41819daaeb
Update dependency @vitejs/plugin-vue to v5 (#3074) 2023-12-30 08:18:12 +01:00
qwerty287
72ae8828ca
Load changed files for closed PR (#3067) 2023-12-29 22:50:31 +01:00
6543
567e83350c
Fix make release-server-xgo in CI and localy (#3072)
fix regressions of:
-  #3010
-  #3065

and make `make release-server-xgo` work on a manual exec (not run by ci)
2023-12-29 22:31:34 +01:00
qwerty287
a37af3eeac
Add imports checks to linter (#3056)
supersedes https://github.com/woodpecker-ci/woodpecker/pull/874

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-29 21:19:42 +01:00
qwerty287
af513b5a30
Fix build output paths (#3065)
closes https://github.com/woodpecker-ci/woodpecker/issues/1766
2023-12-29 20:30:20 +01:00
qwerty287
7080d133a2
Use CI vars for plugin (#3061) 2023-12-29 13:19:46 +01:00
qwerty287
12db130b0b
Fix when and depends_on (#3063)
also close #3060 because it's no longer necessary then

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-29 14:02:29 +02:00
qwerty287
136f2db55b
Use yamllint (#3066)
To fix issues with yaml sequence merges.
2023-12-29 12:51:02 +01:00
Kamila Borowska
db45b9032c
Add Codeberg Pages Deploy plugin to plugins list (#3054) 2023-12-28 17:20:44 +01:00
Anbraten
c1a1f7c10b
Use dag in ci config (#3010)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-12-28 16:39:14 +01:00
qwerty287
7e2ea306c4
Remove workflow version again (#3052) 2023-12-28 14:34:13 +01:00
Kamila Borowska
4bc2fed550
Fix DAG cycle detection (#3049)
Previously a graph like this.

    a <- b
    ^    ^
    |    |
    c <- d

Was incorrectly recognized as having a cycle.

Fixes #3048.
2023-12-28 00:14:28 +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
8280655e0f
Fix duplicated icons (#3045)
on PRs


![image](https://github.com/woodpecker-ci/woodpecker/assets/80460567/75ebbcc3-4b12-4192-a2ad-5103331cb3e7)
2023-12-27 16:23:33 +01:00
woodpecker-bot
1844d30f91
🎉 Release 2.1.1 (#3036)
This PR was opened by the
[ready-release-go](https://github.com/woodpecker-ci/plugin-ready-release-go)
plugin. When you're ready to do a release, you can merge this
pull-request and a new release with version `2.1.1` will be created
automatically. If you're not ready to do a release yet, that's fine,
whenever you add more changes to `main` this pull-request will be
updated.

## Options

- [ ] Mark this version as a release candidate

##
[2.1.1](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.1.1)
- 2023-12-27

### 🐛 Bug Fixes

- trim v on version check
[[#3039](https://github.com/woodpecker-ci/woodpecker/pull/3039)]
- make backend step dag generation deterministic
[[#3037](https://github.com/woodpecker-ci/woodpecker/pull/3037)]
- Fix showing wrong badge url when root path is set
[[#3033](https://github.com/woodpecker-ci/woodpecker/pull/3033)]
- Fix docs label
[[#3028](https://github.com/woodpecker-ci/woodpecker/pull/3028)]

### 📚 Documentation

- Update go report card badge
[[#3029](https://github.com/woodpecker-ci/woodpecker/pull/3029)]

### Misc

- Add some tests
[[#3030](https://github.com/woodpecker-ci/woodpecker/pull/3030)]
2023-12-27 15:19:49 +01:00
6543
af3b35f06a
trim v on version check (#3039)
close #3034
2023-12-27 15:17:18 +01:00
6543
eefa64e2d4
Add build option to Makefile for removing static compile flags (#3026)
this make it possible to remove one patch file from
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/woodpecker
2023-12-27 14:01:56 +02:00
6543
840fca198e
make backend step dag generation deterministic (#3037)
the the generation for backend steps if a dag is used deterministic.

this also fix where the test randomly fail like in:
- https://ci.woodpecker-ci.org/repos/3780/pipeline/11057/30
- https://ci.woodpecker-ci.org/repos/3780/pipeline/11076/25
2023-12-27 12:38:33 +02:00
qwerty287
05f26bab00
Add another testcase (#3035)
Actually wanted to add this to #3030 but @6543 was too fast…
2023-12-27 10:51:39 +01:00
Andy Han
8c4480f281
Fix Wrong badgeUrl repo badge tab when rootPath is not empty (#3033)
Fix #3032
2023-12-27 10:38:27 +01:00
qwerty287
e575ffe72d
Add some tests (#3030) 2023-12-27 10:36:49 +01:00
qwerty287
5cb0ae053a
Fix go report badge (#3031)
mixed up the URLs…
2023-12-27 10:05:13 +01:00
qwerty287
6e298d726d
Update go report card badge (#3029) 2023-12-27 08:57:17 +01:00
qwerty287
c84d7ce1ac
Fix docs label (#3028)
`2.1` -> `2.1.x`
2023-12-27 08:55:22 +01:00
6543
fad31722c1
readme: update go reference badge (#3024) 2023-12-26 21:52:44 +01:00