WIP: Initial work on woodpecker ci. #152

Draft
valberg wants to merge 3 commits from woodpeckerci into main
2 changed files with 3 additions and 4 deletions
Showing only changes of commit ae52815876 - Show all commits

View file

@ -167,8 +167,7 @@ services:
file: woodpecker.yml
domain: "ci.{{ base_domain }}"
volume_folder: "{{ volume_root_folder }}/woodpecker"
server_version: v0.15
agent_version: v0.15
version: v0.15
mailu:
file: mailu.yml

View file

@ -8,7 +8,7 @@
version: "3.8"
services:
server:
image: "woodpeckerci/woodpecker-server:{{ services.woodpecker.server_version }}"
image: "woodpeckerci/woodpecker-server:{{ services.woodpecker.version }}"
restart: always
networks:
- default
samsapti marked this conversation as resolved
Review

Unless you add purge_networks: yes the default network is implicitly added (IMHO an annoying default). I think we should either add purge_networks: yes or leave out default.

Unless you add `purge_networks: yes` the `default` network is implicitly added (IMHO an annoying default). I think we should either add `purge_networks: yes` or leave out `default`.
Review

default is needed for server to be able to communicate with the other Compose services. (Why is it an annoying default?)

`default` is needed for `server` to be able to communicate with the other Compose services. (Why is it an annoying default?)
@ -28,7 +28,7 @@
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
agent:
image: "woodpeckerci/woodpecker-agent:{{ services.woodpecker.agent_version }}"
image: "woodpeckerci/woodpecker-agent:{{ services.woodpecker.version }}"
restart: always
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"