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
woodpecker-bot
49764f6eba
🎉 Release 2.1.0 ( #2868 )
...
## [2.1.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.1.0 )
- 2023-12-26
### ✨ Features
- Add pull request closed event
[[#2684 ](https://github.com/woodpecker-ci/woodpecker/pull/2684 )]
- Add depends_on support for steps
[[#2771 ](https://github.com/woodpecker-ci/woodpecker/pull/2771 )]
- gitlab: support nested repos
[[#2981 ](https://github.com/woodpecker-ci/woodpecker/pull/2981 )]
- Support go plugins for forges and agent backends
[[#2751 ](https://github.com/woodpecker-ci/woodpecker/pull/2751 )]
### 📈 Enhancement
- Show default branch on top
[[#3019 ](https://github.com/woodpecker-ci/woodpecker/pull/3019 )]
- Support more addon types
[[#2984 ](https://github.com/woodpecker-ci/woodpecker/pull/2984 )]
- Hide PR tab if PRs are disabled
[[#3004 ](https://github.com/woodpecker-ci/woodpecker/pull/3004 )]
- Switch to ULID
[[#2986 ](https://github.com/woodpecker-ci/woodpecker/pull/2986 )]
- Ignore pipelines without config
[[#2949 ](https://github.com/woodpecker-ci/woodpecker/pull/2949 )]
- Link labels to input and select
[[#2974 ](https://github.com/woodpecker-ci/woodpecker/pull/2974 )]
- Register Agent with hostname
[[#2936 ](https://github.com/woodpecker-ci/woodpecker/pull/2936 )]
- Update slogan & logo
[[#2962 ](https://github.com/woodpecker-ci/woodpecker/pull/2962 )]
- Improve error handling when activating a repository
[[#2965 ](https://github.com/woodpecker-ci/woodpecker/pull/2965 )]
- Add check for storage where repo/org name is empty
[[#2968 ](https://github.com/woodpecker-ci/woodpecker/pull/2968 )]
- Update pipeline icons
[[#2783 ](https://github.com/woodpecker-ci/woodpecker/pull/2783 )]
- Kubernetes refactor
[[#2794 ](https://github.com/woodpecker-ci/woodpecker/pull/2794 )]
- Export changed files via builtin environment variables
[[#2935 ](https://github.com/woodpecker-ci/woodpecker/pull/2935 )]
- Show secrets from org and global level
[[#2873 ](https://github.com/woodpecker-ci/woodpecker/pull/2873 )]
- Only update pipelineStatus in one place
[[#2952 ](https://github.com/woodpecker-ci/woodpecker/pull/2952 )]
- Rename `engine` to `backend`
[[#2950 ](https://github.com/woodpecker-ci/woodpecker/pull/2950 )]
- Add linting for `log.Fatal()`
[[#2946 ](https://github.com/woodpecker-ci/woodpecker/pull/2946 )]
- Remove separate root path config
[[#2943 ](https://github.com/woodpecker-ci/woodpecker/pull/2943 )]
- init CI_COMMIT_TAG if commit ref is a tag
[[#2934 ](https://github.com/woodpecker-ci/woodpecker/pull/2934 )]
- Update go module path for major version 2
[[#2905 ](https://github.com/woodpecker-ci/woodpecker/pull/2905 )]
- Unify date/time dependencies
[[#2891 ](https://github.com/woodpecker-ci/woodpecker/pull/2891 )]
- Add linting for `any`
[[#2893 ](https://github.com/woodpecker-ci/woodpecker/pull/2893 )]
- Fix vite deprecations
[[#2885 ](https://github.com/woodpecker-ci/woodpecker/pull/2885 )]
- Migrate to Xormigrate
[[#2711 ](https://github.com/woodpecker-ci/woodpecker/pull/2711 )]
- Simple security context options (Kubernetes)
[[#2550 ](https://github.com/woodpecker-ci/woodpecker/pull/2550 )]
- Changes PullRequest Index to ForgeRemoteID type
[[#2823 ](https://github.com/woodpecker-ci/woodpecker/pull/2823 )]
### 🐛 Bug Fixes
- Hide queue visualization if nothing to show
[[#3003 ](https://github.com/woodpecker-ci/woodpecker/pull/3003 )]
- fix and lint swagger file
[[#3007 ](https://github.com/woodpecker-ci/woodpecker/pull/3007 )]
- Fix IPv6 host aliases for kubernetes
[[#2992 ](https://github.com/woodpecker-ci/woodpecker/pull/2992 )]
- Fix cli lint throwing error on warnings
[[#2995 ](https://github.com/woodpecker-ci/woodpecker/pull/2995 )]
- Fix static file caching
[[#2975 ](https://github.com/woodpecker-ci/woodpecker/pull/2975 )]
- Gitea driver: ignore GetOrg error if we get a valid user.
[[#2967 ](https://github.com/woodpecker-ci/woodpecker/pull/2967 )]
- feat(k8s): Add a port name to service definition
[[#2933 ](https://github.com/woodpecker-ci/woodpecker/pull/2933 )]
- Fix error container overflow
[[#2957 ](https://github.com/woodpecker-ci/woodpecker/pull/2957 )]
- ignore some errors on repairAllRepos
[[#2792 ](https://github.com/woodpecker-ci/woodpecker/pull/2792 )]
- Allow to restart pipelines that has warnings
[[#2939 ](https://github.com/woodpecker-ci/woodpecker/pull/2939 )]
- Fix skipped pipelines model
[[#2923 ](https://github.com/woodpecker-ci/woodpecker/pull/2923 )]
- fix: Add `backend_options` to service linter entry
[[#2930 ](https://github.com/woodpecker-ci/woodpecker/pull/2930 )]
- Fix flags added multiple times
[[#2914 ](https://github.com/woodpecker-ci/woodpecker/pull/2914 )]
- Fix schema validation with array syntax for clone and services
[[#2920 ](https://github.com/woodpecker-ci/woodpecker/pull/2920 )]
- Fix prometheus docs
[[#2919 ](https://github.com/woodpecker-ci/woodpecker/pull/2919 )]
- Fix podman agent container in v2
[[#2897 ](https://github.com/woodpecker-ci/woodpecker/pull/2897 )]
- Fix bitbucket org fetching
[[#2874 ](https://github.com/woodpecker-ci/woodpecker/pull/2874 )]
- Only deploy docs on `main`
[[#2892 ](https://github.com/woodpecker-ci/woodpecker/pull/2892 )]
- Fix pipeline-related environment
[[#2876 ](https://github.com/woodpecker-ci/woodpecker/pull/2876 )]
- Fix version check partially
[[#2871 ](https://github.com/woodpecker-ci/woodpecker/pull/2871 )]
- Fix unregistering agents when using agent tokens
[[#2870 ](https://github.com/woodpecker-ci/woodpecker/pull/2870 )]
### 📚 Documentation
- [Awesome Woodpecker] added yet another autoscaler
[[#3011 ](https://github.com/woodpecker-ci/woodpecker/pull/3011 )]
- Add cookbook blog and improve docs
[[#3002 ](https://github.com/woodpecker-ci/woodpecker/pull/3002 )]
- Replace multi-pipelines with workflows on docs frontpage
[[#2990 ](https://github.com/woodpecker-ci/woodpecker/pull/2990 )]
- Update README badges
[[#2956 ](https://github.com/woodpecker-ci/woodpecker/pull/2956 )]
- Update 20-kubernetes.md
[[#2927 ](https://github.com/woodpecker-ci/woodpecker/pull/2927 )]
- Add release documentation to CONTRIBUTING
[[#2917 ](https://github.com/woodpecker-ci/woodpecker/pull/2917 )]
- Add nix-attic plugin to the index
[[#2889 ](https://github.com/woodpecker-ci/woodpecker/pull/2889 )]
- Add usage with Tunnelmole to docs
[[#2881 ](https://github.com/woodpecker-ci/woodpecker/pull/2881 )]
- Improve code blocks in docs
[[#2879 ](https://github.com/woodpecker-ci/woodpecker/pull/2879 )]
- Add a blog post
[[#2877 ](https://github.com/woodpecker-ci/woodpecker/pull/2877 )]
- Add documentation on Kubernetes securityContext
[[#2822 ](https://github.com/woodpecker-ci/woodpecker/pull/2822 )]
- Add default page to categories
[[#2869 ](https://github.com/woodpecker-ci/woodpecker/pull/2869 )]
- Use same format for Github docs as used for the other forges
[[#2866 ](https://github.com/woodpecker-ci/woodpecker/pull/2866 )]
### Misc
- chore(deps): update dependency isomorphic-dompurify to v2
[[#3001 ](https://github.com/woodpecker-ci/woodpecker/pull/3001 )]
- fix(deps): update dependency @intlify/unplugin-vue-i18n to v2
[[#2998 ](https://github.com/woodpecker-ci/woodpecker/pull/2998 )]
- Fix go in gitpod
[[#2973 ](https://github.com/woodpecker-ci/woodpecker/pull/2973 )]
- fix(deps): update module google.golang.org/grpc to v1.60.1
[[#2969 ](https://github.com/woodpecker-ci/woodpecker/pull/2969 )]
- chore(deps): update docker.io/alpine docker tag to v3.19
[[#2970 ](https://github.com/woodpecker-ci/woodpecker/pull/2970 )]
- Fix broken gated repos
[[#2959 ](https://github.com/woodpecker-ci/woodpecker/pull/2959 )]
- fix(deps): update golang (packages)
[[#2958 ](https://github.com/woodpecker-ci/woodpecker/pull/2958 )]
- Update docker.io/techknowlogick/xgo Docker tag to go-1.21.5
[[#2926 ](https://github.com/woodpecker-ci/woodpecker/pull/2926 )]
- Update docker.io/golang Docker tag to v1.21.5
[[#2925 ](https://github.com/woodpecker-ci/woodpecker/pull/2925 )]
- Lock file maintenance
[[#2910 ](https://github.com/woodpecker-ci/woodpecker/pull/2910 )]
- Update web npm deps non-major
[[#2909 ](https://github.com/woodpecker-ci/woodpecker/pull/2909 )]
- Update docs npm deps non-major
[[#2908 ](https://github.com/woodpecker-ci/woodpecker/pull/2908 )]
- Update golang (packages)
[[#2904 ](https://github.com/woodpecker-ci/woodpecker/pull/2904 )]
- Update module github.com/google/go-github/v56 to v57
[[#2899 ](https://github.com/woodpecker-ci/woodpecker/pull/2899 )]
- Update dependency marked to v11
[[#2898 ](https://github.com/woodpecker-ci/woodpecker/pull/2898 )]
- Update dependency vite-svg-loader to v5
[[#2837 ](https://github.com/woodpecker-ci/woodpecker/pull/2837 )]
- Update golang (packages)
[[#2894 ](https://github.com/woodpecker-ci/woodpecker/pull/2894 )]
- Update web npm deps non-major
[[#2895 ](https://github.com/woodpecker-ci/woodpecker/pull/2895 )]
- Update web npm deps non-major
[[#2884 ](https://github.com/woodpecker-ci/woodpecker/pull/2884 )]
- Update docker.io/woodpeckerci/plugin-docker-buildx Docker tag to
v2.2.1 [[#2883 ](https://github.com/woodpecker-ci/woodpecker/pull/2883 )]
2023-12-26 19:55:39 +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
devlux
5671956a31
Correct http cache headers for firefox ( #3017 )
...
Co-authored-by: Luca Marinucci <luca.marinucci@devlux.ch>
Co-authored-by: Anbraten <anton@ju60.de>
2023-12-26 08:37:13 +01:00
Lukas
28bd6cc690
Show default branch on top ( #3019 )
2023-12-26 07:37:14 +01:00
qwerty287
d82e151440
Hide queue visualization if nothing to show ( #3003 )
2023-12-25 13:38:58 +01:00
Weblate
acec955943
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (362 of 362 strings)
Co-authored-by: Linerly <linerly@proton.me>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2023-12-24 16:18:11 +00:00
6543
3f1f563180
fix and lint swagger file ( #3007 )
...
Co-authored-by: qwerty287 <ndev@web.de>
2023-12-24 15:50:01 +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