docker-services/.woodpecker/lint.yml

25 lines
No EOL
758 B
YAML

steps:
check_ports_labels:
image: python:3.13-slim
commands:
- pip3 install -r .ci/requirements.txt
- python3 .ci/port_attribution_watcher.py
- python3 .ci/traefik_labels_watcher.py
when:
- event: pull_request
repo: gnouseu/docker-services
- event: push
branch: main
lint:
image: debian:stable-slim
commands:
- apt-get update
- apt-get install -y curl
- curl -SL https://github.com/docker/compose/releases/download/v2.20.3/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- sh .ci/lint.sh
when:
- event: pull_request
repo: gnouseu/docker-services
- event: push
branch: main