Commit graph

5578 commits

Author SHA1 Message Date
qwerty287
188d6ed16c
Use array syntax in docs (#3242) 2024-01-22 08:18:50 +01:00
runephilosof-karnovgroup
05f24a5706
Load more pipeline log lines (500 => 5000) (#3212)
Co-authored-by: 6543 <6543@obermui.de>
2024-01-22 08:13:22 +01:00
qwerty287
fc1c4d9b11
Update UI building in Makefile (#3250) 2024-01-22 09:10:28 +02:00
qwerty287
5e2f7d81b3
Clean up models (#3228) 2024-01-22 07:56:18 +01:00
woodpecker-bot
a19c488a99
🎉 Release 2.2.2 (#3247)
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.2.2` 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.2.2](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.2.2)
- 2024-01-21

### Misc

- build: fix nfpm path for server binary
[[#3246](https://github.com/woodpecker-ci/woodpecker/pull/3246)]
2024-01-21 23:11:12 +01:00
6543
aacdea0c22
build: fix nfpm path for server binary (#3246)
last build script refactoring did change the path
2024-01-21 23:08:53 +01:00
6543
0afdf38f53
ci: binaries do not code-gen 2024-01-21 22:41:13 +01:00
woodpecker-bot
c64a815157
🎉 Release 2.2.1 (#3245)
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.2.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.2.1](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.2.1)
- 2024-01-21

### 🐛 Bug Fixes

- Add gitea/forgejo driver check, to handle ErrUnknownVersion error
[[#3243](https://github.com/woodpecker-ci/woodpecker/pull/3243)]

### Misc

- Build tarball for distribution packages
[[#3244](https://github.com/woodpecker-ci/woodpecker/pull/3244)]
2024-01-21 22:31:30 +01:00
6543
9e862ae44b
Build tarball for distribution packages (#3244)
close  #3219

and also make sure the `binaries` & `docker` workflow will run on tag
events, see https://ci.woodpecker-ci.org/repos/3780/pipeline/12358
2024-01-21 22:18:20 +01:00
6543
8ca51971be
Add gitea/forgejo driver check, to handle ErrUnknownVersion error (#3243)
close  #3240
2024-01-21 23:07:37 +02:00
woodpecker-bot
b24970f358
🎉 Release 2.2.0 (#3046)
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.2.0` 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.2.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.2.0)
- 2024-01-21

### 🔒 Security

- Update web dependencies
[[#3234](https://github.com/woodpecker-ci/woodpecker/pull/3234)]

###  Features

- Support custom steps entrypoint
[[#2985](https://github.com/woodpecker-ci/woodpecker/pull/2985)]

### 📚 Documentation

- Add 2.2 docs
[[#3237](https://github.com/woodpecker-ci/woodpecker/pull/3237)]
- Fix/improve issue templates
[[#3232](https://github.com/woodpecker-ci/woodpecker/pull/3232)]
- Delete `FUNDING.yaml`
[[#3193](https://github.com/woodpecker-ci/woodpecker/pull/3193)]
- Remove contributing/security to use globally defined
[[#3192](https://github.com/woodpecker-ci/woodpecker/pull/3192)]
- Add "Kaniko" Plugin
[[#3183](https://github.com/woodpecker-ci/woodpecker/pull/3183)]
- Document core development ideas
[[#3184](https://github.com/woodpecker-ci/woodpecker/pull/3184)]
- Add continous deployment cookbook
[[#3098](https://github.com/woodpecker-ci/woodpecker/pull/3098)]
- Make k8s backend configuration docs in the same format as others
[[#3081](https://github.com/woodpecker-ci/woodpecker/pull/3081)]
- Hide backend config options from TOC
[[#3126](https://github.com/woodpecker-ci/woodpecker/pull/3126)]
- Add X/Twitter account
[[#3127](https://github.com/woodpecker-ci/woodpecker/pull/3127)]
- Add ansible plugin
[[#3115](https://github.com/woodpecker-ci/woodpecker/pull/3115)]
- Format depends_on example
[[#3118](https://github.com/woodpecker-ci/woodpecker/pull/3118)]
- Use WOODPECKER_AGENT_SECRET instead of deprecated alternative
[[#3103](https://github.com/woodpecker-ci/woodpecker/pull/3103)]
- Add Reviewdog ESLint plugin
[[#3102](https://github.com/woodpecker-ci/woodpecker/pull/3102)]
- Mark local backend as stable
[[#3088](https://github.com/woodpecker-ci/woodpecker/pull/3088)]
- Update Owners 2024
[[#3075](https://github.com/woodpecker-ci/woodpecker/pull/3075)]
- Add reviewdog golangci plugin
[[#3080](https://github.com/woodpecker-ci/woodpecker/pull/3080)]
- Add Codeberg Pages Deploy plugin to plugins list
[[#3054](https://github.com/woodpecker-ci/woodpecker/pull/3054)]

### 🐛 Bug Fixes

- Fixed Pods creation of WP services
[[#3236](https://github.com/woodpecker-ci/woodpecker/pull/3236)]
- Fix Bitbucket get pull requests that ignores pagination
[[#3235](https://github.com/woodpecker-ci/woodpecker/pull/3235)]
- Make PipelineConfig unique again
[[#3215](https://github.com/woodpecker-ci/woodpecker/pull/3215)]
- Fix feed sorting
[[#3155](https://github.com/woodpecker-ci/woodpecker/pull/3155)]
- Step status update dont set to running again once it got stoped
[[#3151](https://github.com/woodpecker-ci/woodpecker/pull/3151)]
- Use step uuid instead of name in GRPC status calls
[[#3143](https://github.com/woodpecker-ci/woodpecker/pull/3143)]
- Use UUID instead of step name where possible
[[#3136](https://github.com/woodpecker-ci/woodpecker/pull/3136)]
- Use step type to detect services in Kubernetes backend
[[#3141](https://github.com/woodpecker-ci/woodpecker/pull/3141)]
- Fix config base64 parsing to utf-8
[[#3110](https://github.com/woodpecker-ci/woodpecker/pull/3110)]
- Pin Gitea version
[[#3104](https://github.com/woodpecker-ci/woodpecker/pull/3104)]
- Fix step `depends_on` as string in schema
[[#3099](https://github.com/woodpecker-ci/woodpecker/pull/3099)]
- Fix slice unmarshaling
[[#3097](https://github.com/woodpecker-ci/woodpecker/pull/3097)]
- Allow PR secrets to be used on close
[[#3084](https://github.com/woodpecker-ci/woodpecker/pull/3084)]
- make event in pipeline schema also a constraint_list
[[#3082](https://github.com/woodpecker-ci/woodpecker/pull/3082)]
- Fix badge's repoUrl with rootpath
[[#3076](https://github.com/woodpecker-ci/woodpecker/pull/3076)]
- Load changed files for closed PR
[[#3067](https://github.com/woodpecker-ci/woodpecker/pull/3067)]
- Fix build output paths
[[#3065](https://github.com/woodpecker-ci/woodpecker/pull/3065)]
- Fix `when` and `depends_on`
[[#3063](https://github.com/woodpecker-ci/woodpecker/pull/3063)]
- Fix DAG cycle detection
[[#3049](https://github.com/woodpecker-ci/woodpecker/pull/3049)]
- Fix duplicated icons
[[#3045](https://github.com/woodpecker-ci/woodpecker/pull/3045)]

### 📈 Enhancement

- Retrieve all user repo perms with a single API call
[[#3211](https://github.com/woodpecker-ci/woodpecker/pull/3211)]
- Secured kubernetes backend configuration
[[#3204](https://github.com/woodpecker-ci/woodpecker/pull/3204)]
- Use `assert` for tests
[[#3201](https://github.com/woodpecker-ci/woodpecker/pull/3201)]
- Replace `goimports` with `gci`
[[#3202](https://github.com/woodpecker-ci/woodpecker/pull/3202)]
- Remove multipart logger
[[#3200](https://github.com/woodpecker-ci/woodpecker/pull/3200)]
- Added protocol in port configuration
[[#2993](https://github.com/woodpecker-ci/woodpecker/pull/2993)]
- Kubernetes AppArmor and seccomp
[[#3123](https://github.com/woodpecker-ci/woodpecker/pull/3123)]
- `cli exec`: let override existing environment values but print a
warning [[#3140](https://github.com/woodpecker-ci/woodpecker/pull/3140)]
- Enable golangci linter forcetypeassert
[[#3168](https://github.com/woodpecker-ci/woodpecker/pull/3168)]
- Enable golangci linter contextcheck
[[#3170](https://github.com/woodpecker-ci/woodpecker/pull/3170)]
- Remove panic recovering
[[#3162](https://github.com/woodpecker-ci/woodpecker/pull/3162)]
- More docker backend test remove more undocumented
[[#3156](https://github.com/woodpecker-ci/woodpecker/pull/3156)]
- Lowercase all log strings
[[#3173](https://github.com/woodpecker-ci/woodpecker/pull/3173)]
- Cleanups + prefer .yaml
[[#3069](https://github.com/woodpecker-ci/woodpecker/pull/3069)]
- Use UUID as podName and cleanup arguments for Kubernetes backend
[[#3135](https://github.com/woodpecker-ci/woodpecker/pull/3135)]
- Enable golangci linter stylecheck
[[#3167](https://github.com/woodpecker-ci/woodpecker/pull/3167)]
- Clean up logging
[[#3161](https://github.com/woodpecker-ci/woodpecker/pull/3161)]
- Enable `gocritic` and don't ignore globally
[[#3159](https://github.com/woodpecker-ci/woodpecker/pull/3159)]
- Remove steps for publishing release branches
[[#3125](https://github.com/woodpecker-ci/woodpecker/pull/3125)]
- Enable `nolintlint`
[[#3158](https://github.com/woodpecker-ci/woodpecker/pull/3158)]
- Enable some linters
[[#3129](https://github.com/woodpecker-ci/woodpecker/pull/3129)]
- Use name in backend types instead of alias
[[#3142](https://github.com/woodpecker-ci/woodpecker/pull/3142)]
- Make service icon rotate
[[#3149](https://github.com/woodpecker-ci/woodpecker/pull/3149)]
- Add step name as label to docker containers
[[#3137](https://github.com/woodpecker-ci/woodpecker/pull/3137)]
- Use js-base64 on pipeline log page
[[#3146](https://github.com/woodpecker-ci/woodpecker/pull/3146)]
- Flexible image pull secret reference
[[#3016](https://github.com/woodpecker-ci/woodpecker/pull/3016)]
- Always show pipeline step list
[[#3114](https://github.com/woodpecker-ci/woodpecker/pull/3114)]
- Add loading spinner and no pull request text
[[#3113](https://github.com/woodpecker-ci/woodpecker/pull/3113)]
- Fix timeout settings contrast
[[#3112](https://github.com/woodpecker-ci/woodpecker/pull/3112)]
- Unfold workflow when opening via URL
[[#3106](https://github.com/woodpecker-ci/woodpecker/pull/3106)]
- Remove env argument of addons
[[#3100](https://github.com/woodpecker-ci/woodpecker/pull/3100)]
- Move `cmd/common` to `shared`
[[#3092](https://github.com/woodpecker-ci/woodpecker/pull/3092)]
- use semver for version comparsion
[[#3042](https://github.com/woodpecker-ci/woodpecker/pull/3042)]
- Extend create plugin docs
[[#3062](https://github.com/woodpecker-ci/woodpecker/pull/3062)]
- Remove old files
[[#3077](https://github.com/woodpecker-ci/woodpecker/pull/3077)]
- Indicate if step is service
[[#3078](https://github.com/woodpecker-ci/woodpecker/pull/3078)]
- Add imports checks to linter
[[#3056](https://github.com/woodpecker-ci/woodpecker/pull/3056)]
- Remove workflow version again
[[#3052](https://github.com/woodpecker-ci/woodpecker/pull/3052)]
- Add option to disable version check in admin web UI
[[#3040](https://github.com/woodpecker-ci/woodpecker/pull/3040)]

### Misc

- chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx docker
tag to v3
[[#3229](https://github.com/woodpecker-ci/woodpecker/pull/3229)]
- Docs: Fix expression syntax docs url
[[#3208](https://github.com/woodpecker-ci/woodpecker/pull/3208)]
- Add schema test for depends_on
[[#3205](https://github.com/woodpecker-ci/woodpecker/pull/3205)]
- chore(deps): lock file maintenance
[[#3190](https://github.com/woodpecker-ci/woodpecker/pull/3190)]
- Do not run prettier with pre-commit
[[#3196](https://github.com/woodpecker-ci/woodpecker/pull/3196)]
- fix(deps): update module github.com/google/go-github/v57 to v58
[[#3187](https://github.com/woodpecker-ci/woodpecker/pull/3187)]
- chore(deps): update docker.io/golang docker tag to v1.21.6
[[#3189](https://github.com/woodpecker-ci/woodpecker/pull/3189)]
- chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx
[[#3186](https://github.com/woodpecker-ci/woodpecker/pull/3186)]
- fix(deps): update golang (packages)
[[#3185](https://github.com/woodpecker-ci/woodpecker/pull/3185)]
- declare different when statements once and reuse them
[[#3176](https://github.com/woodpecker-ci/woodpecker/pull/3176)]
- Add `make clean-all`
[[#3152](https://github.com/woodpecker-ci/woodpecker/pull/3152)]
- Fix `version.json` updates
[[#3057](https://github.com/woodpecker-ci/woodpecker/pull/3057)]
- [pre-commit.ci] pre-commit autoupdate
[[#3101](https://github.com/woodpecker-ci/woodpecker/pull/3101)]
- Update dependency @vitejs/plugin-vue to v5
[[#3074](https://github.com/woodpecker-ci/woodpecker/pull/3074)]
- Use CI vars for plugin
[[#3061](https://github.com/woodpecker-ci/woodpecker/pull/3061)]
- Use `yamllint`
[[#3066](https://github.com/woodpecker-ci/woodpecker/pull/3066)]
- Use dag in ci config
[[#3010](https://github.com/woodpecker-ci/woodpecker/pull/3010)]
2024-01-21 20:28:07 +01:00
qwerty287
646f2c5c7a
Add 2.2 docs (#3237)
to finally release 2.2

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-21 13:22:05 +02:00
Thomas Anderson
072fa29f4a
Fixed Pods creation of WP services (#3236)
Closes #3178
2024-01-21 03:56:37 +01:00
renovate[bot]
dc73471236
chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx docker tag to v3 (#3229)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/woodpeckerci/plugin-docker-buildx](https://codeberg.org/woodpecker-plugins/docker-buildx)
([source](https://codeberg.org/woodpecker-plugins/docker-buildx.git)) |
major | `2.3.0` -> `3.0.0` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/docker-buildx
(docker.io/woodpeckerci/plugin-docker-buildx)</summary>

###
[`v3.0.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v3.0.0)

[Compare
Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v2.3.0...v3.0.0)

##### Breaking

- Update to docker engine v25 ([release
notes](https://docs.docker.com/engine/release-notes/25.0/))

##### Features

- Add option to set individual mirrors for all logins
([#&#8203;122](https://togithub.com/woodpecker-plugins/docker-buildx/issues/122))
- Add option to enable buildkit debug output
([#&#8203;119](https://togithub.com/woodpecker-plugins/docker-buildx/issues/119))

##### Dependencies

- fix(deps): update module github.com/aws/aws-sdk-go to v1.49.21
([#&#8203;125](https://togithub.com/woodpecker-plugins/docker-buildx/issues/125))
- chore(deps): update docker/buildx-bin docker tag to v0.12.1
([#&#8203;124](https://togithub.com/woodpecker-plugins/docker-buildx/issues/124))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).

🚦 **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-20 23:06:08 +01:00
Michalis Zampetakis
39c1beffc5
Fix Bitbucket get pull requests that ignores pagination (#3235)
Fixes #3180
2024-01-20 22:41:54 +01:00
qwerty287
3193a12671
Fix/improve issue templates (#3232) 2024-01-20 18:29:19 +01:00
qwerty287
aae5d8449f
Update web dependencies (#3234) 2024-01-20 18:27:36 +01:00
qwerty287
b82790d54c
Remove some interfaces (#3220) 2024-01-19 16:20:35 +01:00
qwerty287
d1d2e9723d
Support custom steps entrypoint (#2985)
Closes https://github.com/woodpecker-ci/woodpecker/issues/278

---------

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-19 05:34:02 +01:00
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