2023-11-07 16:35:27 +01:00
|
|
|
# https://woodpecker-ci.org/docs/administration/setup
|
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
woodpecker-server:
|
2023-11-12 21:53:11 +01:00
|
|
|
restart: always
|
2023-11-07 16:35:27 +01:00
|
|
|
container_name: woodpecker-server
|
chore(deps): update woodpeckerci/woodpecker-server docker tag to v2.3.0 (#707)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [woodpeckerci/woodpecker-server](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.2.2` -> `v2.3.0` |
---
### Release Notes
<details>
<summary>woodpecker-ci/woodpecker (woodpeckerci/woodpecker-server)</summary>
### [`v2.3.0`](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.3.0): 2.3.0
[Compare Source](https://github.com/woodpecker-ci/woodpecker/compare/v2.2.2...v2.3.0)
#### [2.3.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.3.0) - 2024-01-31
##### ❤️ Thanks to all contributors! ❤️
[@​anbraten](https://github.com/anbraten), [@​HerHde](https://github.com/HerHde), [@​qwerty287](https://github.com/qwerty287), [@​pat-s](https://github.com/pat-s), [@​renovate](https://github.com/renovate)\[bot], [@​lukashass](https://github.com/lukashass), [@​zc-devs](https://github.com/zc-devs), [@​Alonsohhl](https://github.com/Alonsohhl), [@​healdropper](https://github.com/healdropper), [@​eliasscosta](https://github.com/eliasscosta), [@​runephilosof-karnovgroup](https://github.com/runephilosof-karnovgroup)
##### ✨ Features
- Add release event \[[#​3226](https://github.com/woodpecker-ci/woodpecker/pull/3226)]
##### 📚 Documentation
- Add release types \[[#​3303](https://github.com/woodpecker-ci/woodpecker/pull/3303)]
- Add opencollective footer \[[#​3281](https://github.com/woodpecker-ci/woodpecker/pull/3281)]
- Use array syntax in docs \[[#​3242](https://github.com/woodpecker-ci/woodpecker/pull/3242)]
##### 🐛 Bug Fixes
- Fix Gitpod: Gitea auth token creation \[[#​3299](https://github.com/woodpecker-ci/woodpecker/pull/3299)]
- Fix agent updating \[[#​3287](https://github.com/woodpecker-ci/woodpecker/pull/3287)]
- Sanitize pod's step label \[[#​3275](https://github.com/woodpecker-ci/woodpecker/pull/3275)]
- Pipeline errors must be an array \[[#​3276](https://github.com/woodpecker-ci/woodpecker/pull/3276)]
- fix bitbucket SSO using UUID from bitbucket api response as ForgeRemoteID \[[#​3265](https://github.com/woodpecker-ci/woodpecker/pull/3265)]
- fix: bug pod service without label service \[[#​3256](https://github.com/woodpecker-ci/woodpecker/pull/3256)]
- Fix disabling PRs \[[#​3258](https://github.com/woodpecker-ci/woodpecker/pull/3258)]
- fix: bug annotations \[[#​3255](https://github.com/woodpecker-ci/woodpecker/pull/3255)]
##### 📈 Enhancement
- Update theme on system color mode change \[[#​3296](https://github.com/woodpecker-ci/woodpecker/pull/3296)]
- Improve secrets availability checks \[[#​3271](https://github.com/woodpecker-ci/woodpecker/pull/3271)]
- Load more pipeline log lines (500 => 5000) \[[#​3212](https://github.com/woodpecker-ci/woodpecker/pull/3212)]
- Clean up models \[[#​3228](https://github.com/woodpecker-ci/woodpecker/pull/3228)]
##### Misc
- chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.21.6 \[[#​3294](https://github.com/woodpecker-ci/woodpecker/pull/3294)]
- fix(deps): update docs npm deps non-major \[[#​3295](https://github.com/woodpecker-ci/woodpecker/pull/3295)]
- Remove deprecated `group` from config \[[#​3289](https://github.com/woodpecker-ci/woodpecker/pull/3289)]
- Add spellcheck config \[[#​3018](https://github.com/woodpecker-ci/woodpecker/pull/3018)]
- fix(deps): update golang (packages) \[[#​3284](https://github.com/woodpecker-ci/woodpecker/pull/3284)]
- chore(deps): lock file maintenance \[[#​3274](https://github.com/woodpecker-ci/woodpecker/pull/3274)]
- chore(deps): update web npm deps non-major \[[#​3273](https://github.com/woodpecker-ci/woodpecker/pull/3273)]
- Pin prettier version \[[#​3260](https://github.com/woodpecker-ci/woodpecker/pull/3260)]
- Fix prettier \[[#​3259](https://github.com/woodpecker-ci/woodpecker/pull/3259)]
- Update UI building in Makefile \[[#​3250](https://github.com/woodpecker-ci/woodpecker/pull/3250)]
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE2NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Reviewed-on: https://git.mgrote.net/mg/homeserver/pulls/707
Co-authored-by: Renovate Bot <renovate@mgrote.net>
Co-committed-by: Renovate Bot <renovate@mgrote.net>
2024-02-01 16:12:57 +01:00
|
|
|
image: "woodpeckerci/woodpecker-server:v2.3.0@sha256:50b4d16adae91a9be2d73efb093c8a5df43bde228e416efcd71620822478d4a1"
|
2023-11-07 16:35:27 +01:00
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
volumes:
|
|
|
|
- server-data:/var/lib/woodpecker/
|
|
|
|
environment:
|
|
|
|
WOODPECKER_OPEN: false
|
2023-11-08 13:20:55 +01:00
|
|
|
WOODPECKER_HOST: https://ci.mgrote.net
|
2023-11-25 19:08:24 +01:00
|
|
|
WOODPECKER_WEBHOOK_HOST: http://docker10.mgrote.net:8000
|
2023-11-07 16:35:27 +01:00
|
|
|
WOODPECKER_GITEA: true
|
|
|
|
WOODPECKER_GITEA_URL: https://git.mgrote.net
|
2024-01-26 22:37:25 +01:00
|
|
|
WOODPECKER_GITEA_CLIENT: "{{ lookup('keepass', 'woodpecker-oauth2-client-id', 'password') }}"
|
|
|
|
WOODPECKER_GITEA_SECRET: "{{ lookup('keepass', 'woodpecker-oauth2-client-secret', 'password') }}"
|
|
|
|
WOODPECKER_AGENT_SECRET: "{{ lookup('keepass', 'woodpecker-agent-secret', 'password') }}"
|
2023-11-07 16:35:27 +01:00
|
|
|
WOODPECKER_ADMIN: mg
|
|
|
|
WOODPECKER_LOG_LEVEL: info
|
|
|
|
WOODPECKER_DEBUG_PRETTY: true
|
2023-11-08 13:20:55 +01:00
|
|
|
networks:
|
|
|
|
- intern
|
|
|
|
- traefik
|
2023-11-07 16:35:27 +01:00
|
|
|
labels:
|
|
|
|
com.centurylinklabs.watchtower.enable: true
|
|
|
|
|
2023-11-08 13:20:55 +01:00
|
|
|
traefik.http.routers.woodpecker.rule: Host(`ci.mgrote.net`)
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.http.routers.woodpecker.tls: true
|
|
|
|
traefik.http.routers.woodpecker.tls.certresolver: resolver_letsencrypt
|
|
|
|
traefik.http.routers.woodpecker.entrypoints: entry_https
|
|
|
|
traefik.http.services.woodpecker.loadbalancer.server.port: 8000
|
|
|
|
|
2024-02-01 21:29:29 +01:00
|
|
|
traefik.http.routers.woodpecker.middlewares: woodpecker-ipallowlist
|
2023-11-08 13:20:55 +01:00
|
|
|
|
2024-02-01 21:29:29 +01:00
|
|
|
traefik.http.middlewares.woodpecker-ipallowlist.ipallowlist.sourcerange: "192.168.2.0/24,10.25.25.0/24"
|
|
|
|
traefik.http.middlewares.woodpecker-ipallowlist.ipallowlist.ipstrategy.depth: 0 # https://doc.traefik.io/traefik/middlewares/http/ipallowlist/#ipstrategydepth
|
2023-11-08 13:20:55 +01:00
|
|
|
|
|
|
|
|
2023-11-07 16:35:27 +01:00
|
|
|
woodpecker-agent:
|
|
|
|
container_name: woodpecker-agent
|
chore(deps): update woodpeckerci/woodpecker-agent docker tag to v2.3.0 (#706)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [woodpeckerci/woodpecker-agent](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.2.2` -> `v2.3.0` |
---
### Release Notes
<details>
<summary>woodpecker-ci/woodpecker (woodpeckerci/woodpecker-agent)</summary>
### [`v2.3.0`](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.3.0): 2.3.0
[Compare Source](https://github.com/woodpecker-ci/woodpecker/compare/v2.2.2...v2.3.0)
#### [2.3.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.3.0) - 2024-01-31
##### ❤️ Thanks to all contributors! ❤️
[@​anbraten](https://github.com/anbraten), [@​HerHde](https://github.com/HerHde), [@​qwerty287](https://github.com/qwerty287), [@​pat-s](https://github.com/pat-s), [@​renovate](https://github.com/renovate)\[bot], [@​lukashass](https://github.com/lukashass), [@​zc-devs](https://github.com/zc-devs), [@​Alonsohhl](https://github.com/Alonsohhl), [@​healdropper](https://github.com/healdropper), [@​eliasscosta](https://github.com/eliasscosta), [@​runephilosof-karnovgroup](https://github.com/runephilosof-karnovgroup)
##### ✨ Features
- Add release event \[[#​3226](https://github.com/woodpecker-ci/woodpecker/pull/3226)]
##### 📚 Documentation
- Add release types \[[#​3303](https://github.com/woodpecker-ci/woodpecker/pull/3303)]
- Add opencollective footer \[[#​3281](https://github.com/woodpecker-ci/woodpecker/pull/3281)]
- Use array syntax in docs \[[#​3242](https://github.com/woodpecker-ci/woodpecker/pull/3242)]
##### 🐛 Bug Fixes
- Fix Gitpod: Gitea auth token creation \[[#​3299](https://github.com/woodpecker-ci/woodpecker/pull/3299)]
- Fix agent updating \[[#​3287](https://github.com/woodpecker-ci/woodpecker/pull/3287)]
- Sanitize pod's step label \[[#​3275](https://github.com/woodpecker-ci/woodpecker/pull/3275)]
- Pipeline errors must be an array \[[#​3276](https://github.com/woodpecker-ci/woodpecker/pull/3276)]
- fix bitbucket SSO using UUID from bitbucket api response as ForgeRemoteID \[[#​3265](https://github.com/woodpecker-ci/woodpecker/pull/3265)]
- fix: bug pod service without label service \[[#​3256](https://github.com/woodpecker-ci/woodpecker/pull/3256)]
- Fix disabling PRs \[[#​3258](https://github.com/woodpecker-ci/woodpecker/pull/3258)]
- fix: bug annotations \[[#​3255](https://github.com/woodpecker-ci/woodpecker/pull/3255)]
##### 📈 Enhancement
- Update theme on system color mode change \[[#​3296](https://github.com/woodpecker-ci/woodpecker/pull/3296)]
- Improve secrets availability checks \[[#​3271](https://github.com/woodpecker-ci/woodpecker/pull/3271)]
- Load more pipeline log lines (500 => 5000) \[[#​3212](https://github.com/woodpecker-ci/woodpecker/pull/3212)]
- Clean up models \[[#​3228](https://github.com/woodpecker-ci/woodpecker/pull/3228)]
##### Misc
- chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.21.6 \[[#​3294](https://github.com/woodpecker-ci/woodpecker/pull/3294)]
- fix(deps): update docs npm deps non-major \[[#​3295](https://github.com/woodpecker-ci/woodpecker/pull/3295)]
- Remove deprecated `group` from config \[[#​3289](https://github.com/woodpecker-ci/woodpecker/pull/3289)]
- Add spellcheck config \[[#​3018](https://github.com/woodpecker-ci/woodpecker/pull/3018)]
- fix(deps): update golang (packages) \[[#​3284](https://github.com/woodpecker-ci/woodpecker/pull/3284)]
- chore(deps): lock file maintenance \[[#​3274](https://github.com/woodpecker-ci/woodpecker/pull/3274)]
- chore(deps): update web npm deps non-major \[[#​3273](https://github.com/woodpecker-ci/woodpecker/pull/3273)]
- Pin prettier version \[[#​3260](https://github.com/woodpecker-ci/woodpecker/pull/3260)]
- Fix prettier \[[#​3259](https://github.com/woodpecker-ci/woodpecker/pull/3259)]
- Update UI building in Makefile \[[#​3250](https://github.com/woodpecker-ci/woodpecker/pull/3250)]
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE2NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Reviewed-on: https://git.mgrote.net/mg/homeserver/pulls/706
Co-authored-by: Renovate Bot <renovate@mgrote.net>
Co-committed-by: Renovate Bot <renovate@mgrote.net>
2024-02-01 16:13:04 +01:00
|
|
|
image: "woodpeckerci/woodpecker-agent:v2.3.0@sha256:d64898cf9cfa5ae735e904dc421baf6fa1f36df24800793d8f4a455ba964e65f"
|
2023-11-07 16:35:27 +01:00
|
|
|
command: agent
|
|
|
|
restart: always
|
|
|
|
depends_on:
|
|
|
|
- woodpecker-server
|
|
|
|
ports:
|
|
|
|
- 3032:3000
|
|
|
|
volumes:
|
|
|
|
- agent-config:/etc/woodpecker
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
environment:
|
|
|
|
WOODPECKER_SERVER: woodpecker-server:9000
|
2024-01-26 22:37:25 +01:00
|
|
|
WOODPECKER_AGENT_SECRET: "{{ lookup('keepass', 'woodpecker-agent-secret', 'password') }}"
|
2024-01-26 23:22:12 +01:00
|
|
|
WOODPECKER_MAX_WORKFLOWS: 20
|
2023-11-07 16:35:27 +01:00
|
|
|
WOODPECKER_DEBUG_PRETTY: true
|
|
|
|
WOODPECKER_LOG_LEVEL: info
|
|
|
|
WOODPECKER_HEALTHCHECK: true
|
|
|
|
WOODPECKER_BACKEND: docker
|
|
|
|
labels:
|
|
|
|
com.centurylinklabs.watchtower.enable: true
|
2023-11-08 13:20:55 +01:00
|
|
|
networks:
|
|
|
|
- intern
|
|
|
|
|
2023-11-07 16:35:27 +01:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
server-data:
|
|
|
|
agent-config:
|
|
|
|
|
|
|
|
# git.mgrote.net -> Settings -> Applications -> woodpecker
|
2024-01-26 22:37:25 +01:00
|
|
|
# WOODPECKER_GITEA_CLIENT: "{{ lookup('keepass', 'woodpecker-oauth2-client-id', 'password') }}"
|
|
|
|
# WOODPECKER_GITEA_SECRET: "{{ lookup('keepass', 'woodpecker-oauth2-client-secret', 'password') }}"
|
2023-11-08 13:20:55 +01:00
|
|
|
# Redirect URL: https://ci.mgrote.net/authorize
|
|
|
|
|
|
|
|
######## Networks ########
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|
|
|
|
intern:
|
|
|
|
driver: bridge
|