renovate[bot]
9f215ab932
fix(deps): update golang (packages) ( #3218 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/xanzy/go-gitlab](https://togithub.com/xanzy/go-gitlab ) |
`v0.95.2` -> `v0.96.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fxanzy%2fgo-gitlab/v0.96.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fxanzy%2fgo-gitlab/v0.96.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fxanzy%2fgo-gitlab/v0.95.2/v0.96.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fxanzy%2fgo-gitlab/v0.95.2/v0.96.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [k8s.io/api](https://togithub.com/kubernetes/api ) | `v0.29.0` ->
`v0.29.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fapi/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fapi/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fapi/v0.29.0/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fapi/v0.29.0/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [k8s.io/apimachinery](https://togithub.com/kubernetes/apimachinery ) |
`v0.29.0` -> `v0.29.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fapimachinery/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fapimachinery/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fapimachinery/v0.29.0/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fapimachinery/v0.29.0/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [k8s.io/client-go](https://togithub.com/kubernetes/client-go ) |
`v0.29.0` -> `v0.29.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fclient-go/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fclient-go/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fclient-go/v0.29.0/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fclient-go/v0.29.0/v0.29.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>xanzy/go-gitlab (github.com/xanzy/go-gitlab)</summary>
###
[`v0.96.0`](https://togithub.com/xanzy/go-gitlab/compare/v0.95.2...v0.96.0 )
[Compare
Source](https://togithub.com/xanzy/go-gitlab/compare/v0.95.2...v0.96.0 )
</details>
<details>
<summary>kubernetes/api (k8s.io/api)</summary>
###
[`v0.29.1`](https://togithub.com/kubernetes/api/compare/v0.29.0...v0.29.1 )
[Compare
Source](https://togithub.com/kubernetes/api/compare/v0.29.0...v0.29.1 )
</details>
<details>
<summary>kubernetes/apimachinery (k8s.io/apimachinery)</summary>
###
[`v0.29.1`](https://togithub.com/kubernetes/apimachinery/compare/v0.29.0...v0.29.1 )
[Compare
Source](https://togithub.com/kubernetes/apimachinery/compare/v0.29.0...v0.29.1 )
</details>
<details>
<summary>kubernetes/client-go (k8s.io/client-go)</summary>
###
[`v0.29.1`](https://togithub.com/kubernetes/client-go/compare/v0.29.0...v0.29.1 )
[Compare
Source](https://togithub.com/kubernetes/client-go/compare/v0.29.0...v0.29.1 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge -
"before 4am" (UTC).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-19 04:17:09 +01:00
Alconety
07479dd645
Retrieve all user repo perms with a single API call ( #3211 )
...
This pull request addresses the issue https://github.com/woodpecker-ci/woodpecker/issues/3210 .
Ideally, the Bitbucket API should include repository permissions when
utilizing the 'get all repositories' endpoint. However, as it currently
does not provide this information, a viable solution is to fetch all
permissions for every repository and then employ a dictionary to
associate each repository with its respective permissions.
Without implementing this fix, logging in becomes problematic for users
with access to a substantial number of repositories (300+), as the
process takes over 2 minutes to complete.
---------
Co-authored-by: Alberto Alcón <albertoalcon@bit2me.com>
2024-01-19 04:15:47 +01:00
6543
7b29d1da49
Make PipelineConfig unique again ( #3215 )
...
fix https://github.com/woodpecker-ci/woodpecker/issues/3093
reverts https://github.com/woodpecker-ci/woodpecker/pull/3128
2024-01-18 23:50:29 +02:00
Micash
b3754bc5b7
Docs: Fix expression syntax docs url ( #3208 )
2024-01-16 18:23:12 +01:00
6543
90a48efb69
docs: update dependencies ( #3207 )
2024-01-15 16:18:30 +01:00
6543
6a6cb094fb
Add schema test for depends_on ( #3205 )
2024-01-15 08:54:27 +01:00
renovate[bot]
7eff20d1b7
chore(deps): lock file maintenance ( #3190 )
...
[![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**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-15 08:32:17 +01:00
Thomas Anderson
10f2e209d6
Secured kubernetes backend configuration ( #3204 )
...
Follow up of #3165
2024-01-15 03:59:08 +01:00
qwerty287
59d824ebf8
Do not run prettier with pre-commit ( #3196 )
...
To fix issues with https://github.com/woodpecker-ci/woodpecker/pull/3190
Prettier still runs at woodpecker.
Also fix the duplication in our CI.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-14 21:14:00 +01:00
qwerty287
001b5639a6
Use assert
for test ( #3201 )
...
instead of `if`s
2024-01-14 19:33:58 +01:00
qwerty287
b9f6f3f9fb
Replace goimports
with gci
( #3202 )
...
`gci` seems to be much more strict.
2024-01-14 18:22:06 +01:00
qwerty287
1b67c25fd1
Fix missing linebreak ( #3203 )
2024-01-14 11:38:34 +01:00
qwerty287
45bf8600ef
Remove multipart logger ( #3200 )
2024-01-14 10:54:02 +01:00
Robert Kaussow
685907ddf6
Fix spelling in test description ( #3198 )
2024-01-13 15:24:13 +01:00
qwerty287
b9c2c28b09
Delete FUNDING.yaml
( #3193 )
2024-01-13 09:37:50 +01:00
qwerty287
6ef3fd139b
Remove contributing/security to use globally defined ( #3192 )
...
Remove `CONTRIBUTING.md` and `SECURITY.md` to use those defined in
https://github.com/woodpecker-ci/.github
2024-01-13 08:15:18 +01:00
renovate[bot]
57dd88f94a
fix(deps): update module github.com/google/go-github/v57 to v58 ( #3187 )
2024-01-13 08:13:22 +01:00
6543
b56f4a19a7
Add "Kaniko" Plugin ( #3183 )
2024-01-13 07:46:16 +01:00
renovate[bot]
a6ef41ad77
chore(deps): update docker.io/golang docker tag to v1.21.6 ( #3189 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| docker.io/golang | patch | `1.21.5` -> `1.21.6` |
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-13 07:36:04 +01:00
6543
f4311a8618
chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx ( #3186 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-13 01:14:40 +01:00
6543
9756d8a528
Document core development ideas ( #3184 )
2024-01-13 00:41:59 +01:00
6543
78a815ec96
fix(deps): update golang (packages) ( #3185 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-13 00:33:41 +01:00
Thomas Anderson
0611fa9b32
Added protocol in port configuration ( #2993 )
...
Closes #2727
2024-01-12 23:57:24 +01:00
Thomas Anderson
9bbc446009
Kubernetes AppArmor and seccomp ( #3123 )
...
Closes #2545
seccomp
https://kubernetes.io/docs/tutorials/security/seccomp/
https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/135-seccomp/README.md
AppArmor
https://kubernetes.io/docs/tutorials/security/apparmor/
fddcbb9cbf/keps/sig-node/24-apparmor/README.md
Went ahead and implemented API from KEP-24 above.
2024-01-12 23:32:24 +01:00
6543
a5fa810bcc
cli exec
: let override existing environment values but print a warning (#3140 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2024-01-12 15:24:30 +01:00
6543
8aed3a375d
ci: fix docker workflow dep not being triggered
2024-01-12 11:00:35 +01:00
6543
2816cc49c3
ci: fix yaml string
2024-01-12 10:53:34 +01:00
6543
58379a1d10
let docker workflow run on workflow config changes
2024-01-12 10:52:09 +01:00
6543
a53fe5c0ab
declare different when statements once and reuse them ( #3176 )
2024-01-12 10:48:41 +01:00
Robert Kaussow
9bbba4441d
Enable golangci linter forcetypeassert ( #3168 )
...
Split out from https://github.com/woodpecker-ci/woodpecker/pull/2960
2024-01-12 02:01:02 +01:00
Robert Kaussow
f813badcf9
Enable golangci linter contextcheck ( #3170 )
...
Split out from https://github.com/woodpecker-ci/woodpecker/pull/2960
2024-01-11 22:15:15 +01:00
qwerty287
d0380e31b5
Remove panic recovering ( #3162 )
2024-01-11 19:37:47 +01:00
6543
f8fb28e651
More docker backend test remove more undocumented ( #3156 )
...
remove Sysctls and IpcMode
2024-01-11 19:30:13 +01:00
qwerty287
b0a2b1cf2d
Lowercase all log strings ( #3173 )
...
from #3161
---------
Co-authored-by: 6543 <6543@obermui.de>
2024-01-11 19:17:07 +01:00
qwerty287
f56f9cb1c0
Cleanups + prefer .yaml ( #3069 )
...
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-01-11 18:43:54 +01:00
Robert Kaussow
489be65805
Remove duplicate golangci linter ( #3172 )
...
`whitespace` is listed twice
2024-01-11 18:01:24 +01:00
6543
d1fe86b7be
Use UUID as podName and cleanup arguments for Kubernetes backend ( #3135 )
...
to much args are just horrible to maintain. And we already have it nice
structured stored as step.
2024-01-11 16:32:37 +01:00
Robert Kaussow
7756c60a33
Enable golangci linter stylecheck ( #3167 )
...
This PR only fixes error string formatting, log message strings are
still mixed upper/lowercase (see
https://github.com/woodpecker-ci/woodpecker/pull/3161#issuecomment-1885140649 )
and I'm not aware of a linter to enforce it.
2024-01-10 22:56:42 +01:00
qwerty287
00df53e941
Clean up logging ( #3161 )
...
- use `Err` method instead of format strings
- use `Msg` if no format string is used
2024-01-10 20:57:12 +01:00
qwerty287
12c40eb957
Enable gocritic
and don't ignore globally ( #3159 )
...
Use `nolint` directives instead.
From #2960
2024-01-10 15:34:44 +01:00
qwerty287
aef3f8f3ef
Remove steps for publishing release branches ( #3125 )
2024-01-10 15:10:56 +01:00
qwerty287
f3420716ab
Fix startup panic ( #3160 )
...
introduced by #3129
2024-01-10 13:50:49 +01:00
qwerty287
1b380ff4b4
Enable nolintlint
( #3158 )
2024-01-10 12:11:18 +01:00
qwerty287
768fd71841
Enable some linters ( #3129 )
...
Mostly those that did not require much work.
From #2960
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-09 21:35:37 +01:00
qwerty287
631b7c2fed
Fix feed sorting ( #3155 )
...
Closes #2915
2024-01-09 20:01:18 +01:00
qwerty287
7786028b4a
Add continous deployment cookbook ( #3098 )
...
Supersedes https://github.com/woodpecker-ci/woodpecker/pull/2019
---------
Co-authored-by: lonix1 <40320097+lonix1@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-09 19:47:25 +01:00
qwerty287
d6b98cf95e
Remove prefix from services ( #3079 )
...
supersedes https://github.com/woodpecker-ci/woodpecker/pull/1960
~~Blocked by https://github.com/woodpecker-ci/woodpecker/pull/3143~~
Co-authored-by: 6543 <6543@obermui.de>
2024-01-09 18:56:24 +01:00
6543
a63135363b
Step status update dont set to running again once it got stoped ( #3151 )
...
Because of the check `if step.Stopped == 0`
without the check there are edgecases where could be the case a stoped
steped can be markt as running again, witch is wrong.
I do remember we have "running" steps indefinetly in cancled pipelines.
This could be the fix, i just did not test that specific.
Anyway the func hat a good testcoverage ... so just look at the tests
_Source:
https://github.com/woodpecker-ci/woodpecker/pull/3143#discussion_r1446138088_
2024-01-09 18:34:55 +01:00
6543
c91c6fbe9e
TestToConfigSmall ignore sort order of env vars ( #3154 )
...
so this https://ci.woodpecker-ci.org/repos/3780/pipeline/11803/30 can
not randomly happen
2024-01-09 18:34:11 +01:00
6543
2e26a526b1
Add make clean-all
( #3152 )
...
Add make target, witch delete all generated stuff too
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-01-09 17:53:56 +01:00