Commit graph

5952 commits

Author SHA1 Message Date
qwerty287
99037b2d97
Add blog post (#3410) 2024-02-18 20:31:56 +01:00
qwerty287
ecfb94d057
Extend core ideas documentation (#3405)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-02-18 11:45:05 +01:00
Elias
bffc9c8ff8
fix: can't run multiple services on k8s (#3395)
Fix Issue: https://github.com/woodpecker-ci/woodpecker/issues/3288

The way the pod service starts up makes it impossible to run two or more
pipelines at the same time when we have a service section.

The idea is to set the name of the service in the same way we did for
the pod name.

Pipeline: 

```yaml

services:
  mydb:
    image: mysql
    environment:
      - MYSQL_DATABASE=test
      - MYSQL_ROOT_PASSWORD=example
    ports:
      - 3306/tcp
steps:
  get-version:
    image: ubuntu
    commands:
      - ( apt update && apt dist-upgrade -y && apt install -y mysql-client 2>&1 )> /dev/null
      - sleep 30s # need to wait for mysql-server init
      - echo 'SHOW VARIABLES LIKE "version"' | mysql -uroot -hmydb test -pexample
```

Running more than one pipeline result:


![image](https://github.com/woodpecker-ci/woodpecker/assets/22245125/e512309f-0d1e-4125-bab9-2357a710fedd)

---------

Co-authored-by: elias.souza <elias.souza@quintoandar.com.br>
2024-02-17 12:30:06 +01:00
qwerty287
b7891b93ff
Apply documentation/ui label to corresponding renovate updates (#3400) 2024-02-17 10:35:23 +01:00
Anbraten
f86c2b7d0f
Fix pipeline restart (#3402)
closes #3399
2024-02-17 10:19:28 +01:00
renovate[bot]
c664d86566
chore(deps): update dependency eslint-plugin-simple-import-sort to v12 (#3396) 2024-02-17 09:37:42 +01:00
renovate[bot]
63f6e21430
chore(deps): update typescript-eslint monorepo to v7 (major) (#3397) 2024-02-17 09:12:18 +01:00
renovate[bot]
4e44dd0e76
fix(deps): update module github.com/google/go-github/v58 to v59 (#3398) 2024-02-17 09:04:33 +01:00
renovate[bot]
2a580781bb
chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.22.0 (#3392)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.io/techknowlogick/xgo | minor | `go-1.21.6` -> `go-1.22.0` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 17:32:41 +01:00
renovate[bot]
e1e1e8b137
chore(deps): update docker.io/golang docker tag (#3391)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker.io/golang |  | minor | `1.21.6` -> `1.22.0` |
| docker.io/golang | final | minor | `1.21` -> `1.22` |
| docker.io/golang | stage | minor | `1.21-alpine3.18` ->
`1.22-alpine3.18` |
| docker.io/golang | stage | minor | `1.21` -> `1.22` |

---

### 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.

👻 **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 16:40:46 +01:00
renovate[bot]
1257d8cf46
fix(deps): update golang (packages) (#3393)
[![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/docker/cli](https://togithub.com/docker/cli) |
`v24.0.8+incompatible` -> `v24.0.9+incompatible` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fdocker%2fcli/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fdocker%2fcli/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fdocker%2fcli/v24.0.8+incompatible/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fdocker%2fcli/v24.0.8+incompatible/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [github.com/docker/docker](https://togithub.com/docker/docker) |
`v24.0.8+incompatible` -> `v24.0.9+incompatible` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fdocker%2fdocker/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fdocker%2fdocker/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fdocker%2fdocker/v24.0.8+incompatible/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fdocker%2fdocker/v24.0.8+incompatible/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [github.com/mattn/go-sqlite3](https://togithub.com/mattn/go-sqlite3) |
`v1.14.20` -> `v1.14.22` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmattn%2fgo-sqlite3/v1.14.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fmattn%2fgo-sqlite3/v1.14.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fmattn%2fgo-sqlite3/v1.14.20/v1.14.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmattn%2fgo-sqlite3/v1.14.20/v1.14.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/mitchellh/mapstructure](https://togithub.com/mitchellh/mapstructure)
| `v1.4.2` -> `v1.5.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmitchellh%2fmapstructure/v1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fmitchellh%2fmapstructure/v1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fmitchellh%2fmapstructure/v1.4.2/v1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmitchellh%2fmapstructure/v1.4.2/v1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [github.com/rs/zerolog](https://togithub.com/rs/zerolog) | `v1.31.0`
-> `v1.32.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2frs%2fzerolog/v1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2frs%2fzerolog/v1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2frs%2fzerolog/v1.31.0/v1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2frs%2fzerolog/v1.31.0/v1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [github.com/swaggo/swag](https://togithub.com/swaggo/swag) | `v1.16.2`
-> `v1.16.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fswaggo%2fswag/v1.16.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fswaggo%2fswag/v1.16.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fswaggo%2fswag/v1.16.2/v1.16.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fswaggo%2fswag/v1.16.2/v1.16.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [github.com/xanzy/go-gitlab](https://togithub.com/xanzy/go-gitlab) |
`v0.96.0` -> `v0.97.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fxanzy%2fgo-gitlab/v0.97.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.97.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.96.0/v0.97.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.96.0/v0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/crypto | `v0.18.0` -> `v0.19.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fcrypto/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fcrypto/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fcrypto/v0.18.0/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fcrypto/v0.18.0/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/net | `v0.20.0` -> `v0.21.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.20.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.20.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/oauth2 | `v0.16.0` -> `v0.17.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2foauth2/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2foauth2/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2foauth2/v0.16.0/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2foauth2/v0.16.0/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/term | `v0.16.0` -> `v0.17.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fterm/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fterm/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fterm/v0.16.0/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fterm/v0.16.0/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) |
`v1.61.0` -> `v1.61.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.61.0/v1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.61.0/v1.61.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [k8s.io/api](https://togithub.com/kubernetes/api) | `v0.29.1` ->
`v0.29.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fapi/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fapi/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fapi/v0.29.1/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fapi/v0.29.1/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [k8s.io/apimachinery](https://togithub.com/kubernetes/apimachinery) |
`v0.29.1` -> `v0.29.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fapimachinery/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fapimachinery/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fapimachinery/v0.29.1/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fapimachinery/v0.29.1/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [k8s.io/client-go](https://togithub.com/kubernetes/client-go) |
`v0.29.1` -> `v0.29.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fclient-go/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fclient-go/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fclient-go/v0.29.1/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fclient-go/v0.29.1/v0.29.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| xorm.io/xorm | `v1.3.7` -> `v1.3.8` |
[![age](https://developer.mend.io/api/mc/badges/age/go/xorm.io%2fxorm/v1.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/xorm.io%2fxorm/v1.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/xorm.io%2fxorm/v1.3.7/v1.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/xorm.io%2fxorm/v1.3.7/v1.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>docker/cli (github.com/docker/cli)</summary>

###
[`v24.0.9+incompatible`](https://togithub.com/docker/cli/compare/v24.0.8...v24.0.9)

[Compare
Source](https://togithub.com/docker/cli/compare/v24.0.8...v24.0.9)

</details>

<details>
<summary>docker/docker (github.com/docker/docker)</summary>

###
[`v24.0.9+incompatible`](https://togithub.com/docker/docker/compare/v24.0.8...v24.0.9)

[Compare
Source](https://togithub.com/docker/docker/compare/v24.0.8...v24.0.9)

</details>

<details>
<summary>mattn/go-sqlite3 (github.com/mattn/go-sqlite3)</summary>

###
[`v1.14.22`](https://togithub.com/mattn/go-sqlite3/compare/v1.14.21...v1.14.22)

[Compare
Source](https://togithub.com/mattn/go-sqlite3/compare/v1.14.21...v1.14.22)

###
[`v1.14.21`](https://togithub.com/mattn/go-sqlite3/compare/v1.14.20...v1.14.21)

[Compare
Source](https://togithub.com/mattn/go-sqlite3/compare/v1.14.20...v1.14.21)

</details>

<details>
<summary>mitchellh/mapstructure
(github.com/mitchellh/mapstructure)</summary>

###
[`v1.5.0`](https://togithub.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0)

[Compare
Source](https://togithub.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0)

###
[`v1.4.3`](https://togithub.com/mitchellh/mapstructure/compare/v1.4.2...v1.4.3)

[Compare
Source](https://togithub.com/mitchellh/mapstructure/compare/v1.4.2...v1.4.3)

</details>

<details>
<summary>rs/zerolog (github.com/rs/zerolog)</summary>

###
[`v1.32.0`](https://togithub.com/rs/zerolog/compare/v1.31.0...v1.32.0)

[Compare
Source](https://togithub.com/rs/zerolog/compare/v1.31.0...v1.32.0)

</details>

<details>
<summary>swaggo/swag (github.com/swaggo/swag)</summary>

### [`v1.16.3`](https://togithub.com/swaggo/swag/releases/tag/v1.16.3)

[Compare
Source](https://togithub.com/swaggo/swag/compare/v1.16.2...v1.16.3)

#### Changelog

-
[`7147984`](7147984036)
Feat: Support generic with map params
([#&#8203;1746](https://togithub.com/swaggo/swag/issues/1746))
-
[`ae7e404`](ae7e40458a)
Fix: Trim tab spaces from [@&#8203;scope](https://togithub.com/scope)
annotations
([#&#8203;1744](https://togithub.com/swaggo/swag/issues/1744))
-
[`d4218f2`](d4218f274f)
Feat: Struct fields supported for header and path param types
([#&#8203;1740](https://togithub.com/swaggo/swag/issues/1740))
-
[`76695ca`](76695ca805)
Fix: TrimRight `[]` on an array filed json name to compatible with ts
codegen ([#&#8203;1706](https://togithub.com/swaggo/swag/issues/1706))
-
[`7603121`](7603121623)
Feat: Add flag state to generate operations with different state into
different docs
([#&#8203;1629](https://togithub.com/swaggo/swag/issues/1629))
-
[`0fb6820`](0fb6820cd5)
Feat: Deprecate some parts of routers in an operation
([#&#8203;1735](https://togithub.com/swaggo/swag/issues/1735))
-
[`744a58e`](744a58e926)
Drop support for go v1.17.x
([#&#8203;1723](https://togithub.com/swaggo/swag/issues/1723))
-
[`6cdaaf5`](6cdaaf5c77)
Fix: Find definitions from external packages first
([#&#8203;1666](https://togithub.com/swaggo/swag/issues/1666))
-
[`0ade78c`](0ade78c785)
Enhancement: Improve docker container usage
([#&#8203;1704](https://togithub.com/swaggo/swag/issues/1704))
-
[`2da9651`](2da9651010)
Fix: nil supported in combined response
object([#&#8203;1667](https://togithub.com/swaggo/swag/issues/1667))

</details>

<details>
<summary>xanzy/go-gitlab (github.com/xanzy/go-gitlab)</summary>

###
[`v0.97.0`](https://togithub.com/xanzy/go-gitlab/compare/v0.96.0...v0.97.0)

[Compare
Source](https://togithub.com/xanzy/go-gitlab/compare/v0.96.0...v0.97.0)

</details>

<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>

### [`v1.61.1`](https://togithub.com/grpc/grpc-go/releases/tag/v1.61.1):
Release 1.61.1

[Compare
Source](https://togithub.com/grpc/grpc-go/compare/v1.61.0...v1.61.1)

### Bug Fixes

- server: wait to close connection until incoming socket is drained
(with timeout) to prevent data loss on client-side
([#&#8203;6977](https://togithub.com/grpc/grpc-go/issues/6977))
- Special Thanks:
[@&#8203;s-matyukevich](https://togithub.com/s-matyukevich) for
discovering the root cause

</details>

<details>
<summary>kubernetes/api (k8s.io/api)</summary>

###
[`v0.29.2`](https://togithub.com/kubernetes/api/compare/v0.29.1...v0.29.2)

[Compare
Source](https://togithub.com/kubernetes/api/compare/v0.29.1...v0.29.2)

</details>

<details>
<summary>kubernetes/apimachinery (k8s.io/apimachinery)</summary>

###
[`v0.29.2`](https://togithub.com/kubernetes/apimachinery/compare/v0.29.1...v0.29.2)

[Compare
Source](https://togithub.com/kubernetes/apimachinery/compare/v0.29.1...v0.29.2)

</details>

<details>
<summary>kubernetes/client-go (k8s.io/client-go)</summary>

###
[`v0.29.2`](https://togithub.com/kubernetes/client-go/compare/v0.29.1...v0.29.2)

[Compare
Source](https://togithub.com/kubernetes/client-go/compare/v0.29.1...v0.29.2)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 13:32:30 +01:00
Anbraten
0e0d0188a0
Fix agent polling (#3378) 2024-02-16 10:04:13 +01:00
renovate[bot]
bfff8dbc6f
chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx docker tag to v3.1.0 (#3394)
[![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)) |
minor | `3.0.1` -> `3.1.0` |

---

### Release Notes

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

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

[Compare
Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v3.0.1...v3.1.0)

##### Features

- Improve support for `cache_to` and `cache_from` & add `cache_images`
([#&#8203;129](https://togithub.com/woodpecker-plugins/docker-buildx/issues/129))

##### Dependencies

-   chore(deps): update docker docker tag to v25.0.2

</details>

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 07:18:03 +01:00
Robert Kaussow
6abeff0165
Remove empty strings from slice before parsing agent config (#3387)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/3385
2024-02-14 23:22:31 +01:00
Michael
5e0ec973ba Translated using Weblate (French)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2024-02-13 16:57:29 +00:00
qwerty287
451af535d3
Replace http types on forge interface (#3374) 2024-02-13 16:19:02 +01:00
Anbraten
65d88be523
Prevent agent deletion when it's still running tasks (#3377)
It wont solve the underlying issues like
https://github.com/woodpecker-ci/autoscaler/issues/50 completely, but
should be a first step in the correct direction.
2024-02-12 19:23:56 +01:00
qwerty287
5d3a503f98
Add link checking (#3371)
Closes https://github.com/woodpecker-ci/woodpecker/issues/3332
2024-02-12 15:00:33 +01:00
Anbraten
82e1ce937c
Refactor internal services (#915) 2024-02-11 18:42:33 +01:00
qwerty287
e1521ef460
Set correct link for commit (#3368)
Closes https://github.com/woodpecker-ci/woodpecker/issues/2657
Closes https://github.com/woodpecker-ci/woodpecker/issues/906
2024-02-11 10:44:50 +01:00
qwerty287
894ab51215
Fix schema links (#3369)
Closes https://github.com/woodpecker-ci/woodpecker/issues/2063
2024-02-11 09:53:02 +01:00
qwerty287
f369d2c543
Lint for event filter and deprecate exclude (#3222)
Closes https://github.com/woodpecker-ci/woodpecker/discussions/2174

- return bad habit error if no event filter is set
- If this is applied, it's useless to allow `exclude`s on events.
Therefore, deprecate it together with `include`s which should be
replaced by `base.StringOrSlice` later.
2024-02-10 17:33:05 +01:00
qwerty287
8700d2b300 Translated using Weblate (German)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-02-10 07:57:29 +00:00
Kasper Juul Hermansen
479fec806a
docs: fix contributions link (#3363)
make sure the contributions link actually points at a file

Signed-off-by: kjuulh <contact@kjuulh.io>
2024-02-10 07:51:13 +01:00
Anbraten
9e96c9c25e
Fix correctly handle gitlab pr closed events (#3362)
closes #3355
2024-02-09 16:49:04 +01:00
qwerty287
caa95bd762
Apply dependencies label to all PRs (#3358)
Wait for https://github.com/woodpecker-ci/renovate-config/pull/5
2024-02-09 11:54:17 +01:00
qwerty287
7def93e783
Update/fix some docs (#3359) 2024-02-09 11:20:12 +01:00
sinlov
134fb7900c
fix: update schema event_enum to remove error warning when.event (#3357)
change test case to check

fix #3356
2024-02-09 08:05:21 +01:00
Lukas
147137c7bb
Allow editing all environment variables in pipeline popups (#3314) 2024-02-09 00:46:08 +01:00
Anbraten
6785806873
Fix backend detection (#3353)
closes #3352
2024-02-09 00:04:43 +01:00
Anbraten
0b91317cde
Fix linter (#3354) 2024-02-08 22:49:07 +01:00
renovate[bot]
832f49a164
chore(deps): lock file maintenance (#3350)
[![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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-02-08 20:23:49 +01:00
qwerty287
6892a9ca57
Parse backend options in backend (#3227)
Currently, backend options are parsed in the yaml parser.
This has some issues:
- backend specific code should be in the backend folders
- it is not possible to add backend options for backends added via
addons
2024-02-08 18:39:32 +01:00
pre-commit-ci[bot]
d3b57ff0e6
[pre-commit.ci] pre-commit autoupdate (#3329)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-02-08 17:19:01 +01:00
qwerty287
f92f8b17a3
Make agent usable for external backends (#3270) 2024-02-08 16:33:22 +01:00
Marcin Puc
e64d596436 Translated using Weblate (Polish)
Currently translated at 90.1% (328 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/pl/
2024-02-07 15:57:28 +00:00
Lukas
c746857830
Fix version check on next (#3340)
Closes #3318
2024-02-07 02:10:36 +01:00
Lukas
5cedc956e9
Ignore gitlab merge request events without code changes (#3338)
Closes #3320 

From the gitlab docs at:
https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#merge-request-events

> The field object_attributes.oldrev is only available when there are
actual code changes
2024-02-07 01:45:00 +01:00
Lukas
baf2e645bc
Ignore gitlab push events without commits (#3339)
Example of the resulting buggy pipeline:


![image](https://github.com/woodpecker-ci/woodpecker/assets/32853499/1e4bedc6-465b-466e-8d89-a7348e374c7f)
2024-02-07 02:24:08 +02:00
Lukas
db4a50951c
Consider gitlab inherited permissions (#3308)
The gitlab projects endpoint does not include information about
permissions granted by namespace memberships. To get this information a
separate query to
https://docs.gitlab.com/ee/api/members.html#get-a-member-of-a-group-or-project-including-inherited-and-invited-members
is necessary.
2024-02-06 00:10:23 +01:00
Fernando Barbosa
c7467b9828
fix: agent panic when node is terminated during step execution (#3331)
Fixes https://github.com/woodpecker-ci/woodpecker/issues/3330

This adds error handling on the agent's WaitStep function, on two
sections where it could encounter a `panic: runtime error: invalid
memory address or nil pointer dereference` in case it could no longer
access complete information about a specific pod.

This error was found to happen if the node in which the pod was running
was terminated during the step's execution.
spite active pipelines being executed on the node.

Now instead of a panic on the agent's logs and undefined behavior on the
UI it will display a more helpful error message on the UI.

### Additional context

We observed the bug first on v2.1.1, but tested the fix internally on
top of 2.3.0.


![image](https://github.com/woodpecker-ci/woodpecker/assets/7269710/dfbcf089-85f7-4b5d-8102-f21af95c5cda)
2024-02-05 22:46:14 +01:00
renovate[bot]
e324d18a74
chore(deps): update dependency marked to v12 (#3325) 2024-02-05 06:59:07 +01:00
renovate[bot]
6ffb3b1bd6
fix(deps): update module github.com/moby/moby to v24.0.9+incompatible [security] (#3323)
[![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/moby/moby](https://togithub.com/moby/moby) |
`v24.0.8+incompatible` -> `v24.0.9+incompatible` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmoby%2fmoby/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fmoby%2fmoby/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fmoby%2fmoby/v24.0.8+incompatible/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmoby%2fmoby/v24.0.8+incompatible/v24.0.9+incompatible?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2024-24557](https://togithub.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjc)

The classic builder cache system is prone to cache poisoning if the
image is built `FROM scratch`.
Also, changes to some instructions (most important being `HEALTHCHECK`
and `ONBUILD`) would not cause a cache miss.

An attacker with the knowledge of the Dockerfile someone is using could
poison their cache by making them pull a specially crafted image that
would be considered as a valid cache candidate for some build steps.

For example, an attacker could create an image that is considered as a
valid cache candidate for:
```
FROM scratch
MAINTAINER Pawel
```

when in fact the malicious image used as a cache would be an image built
from a different Dockerfile.

In the second case, the attacker could for example substitute a
different `HEALTCHECK` command.

### Impact

23.0+ users are only affected if they explicitly opted out of Buildkit
(`DOCKER_BUILDKIT=0` environment variable) or are using the `/build` API
endpoint (which uses the classic builder by default).

All users on versions older than 23.0 could be impacted. An example
could be a CI with a shared cache, or just a regular Docker user pulling
a malicious image due to misspelling/typosquatting.

Image build API endpoint (`/build`) and `ImageBuild` function from
`github.com/docker/docker/client` is also affected as it the uses
classic builder by default.

### Patches

Patches are included in Moby releases:

- v25.0.2
- v24.0.9

### Workarounds

- Use `--no-cache` or use Buildkit if possible (`DOCKER_BUILDKIT=1`,
it's default on 23.0+ assuming that the buildx plugin is installed).
- Use `Version = types.BuilderBuildKit` or `NoCache = true` in
`ImageBuildOptions` for `ImageBuild` call.

---

### Release Notes

<details>
<summary>moby/moby (github.com/moby/moby)</summary>

###
[`v24.0.9+incompatible`](https://togithub.com/moby/moby/compare/v24.0.8...v24.0.9)

[Compare
Source](https://togithub.com/moby/moby/compare/v24.0.8...v24.0.9)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-02-04 07:53:53 +01:00
renovate[bot]
7ff0d8e148
chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx docker tag to v3.0.1 (#3324)
[![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)) |
patch | `3.0.0` -> `3.0.1` |

---

### Release Notes

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

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

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

-   fix(deps): update module github.com/aws/aws-sdk-go to v1.50.5
-   chore(deps): update docker docker tag to v25.0.1

</details>

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-04 07:30:43 +01:00
Michael
4456da99c5 Translated using Weblate (French)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2024-02-02 18:57:28 +00:00
qwerty287
5ccdfa76e0 Translated using Weblate (German)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-02-02 18:57:27 +00:00
Lukas
dd465add43
Add no branches text (#3312) 2024-02-01 16:31:04 +02:00
Lukas
a801f8cbc3
Add loading spinner to repo list (#3310) 2024-02-01 08:40:01 +01:00
Marcin Puc
450a437cb6 Translated using Weblate (Polish)
Currently translated at 90.1% (328 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/pl/
2024-02-01 03:45:23 +00:00
Patrick Schratz
1ed9d58a69
Add 2.3 docs (#3306) 2024-01-31 19:47:52 +01:00