docker-services/.woodpecker/lint.yml

24 lines
799 B
YAML

steps:
check_ports_labels:
image: python:3.12
commands:
- pip3 install -r .ci/requirements.txt
- python3 .ci/port_attribution_watcher.py | tee output.txt
- python3 .ci/traefik_label_watcher.py | tee output.txt
comment:
image: tsakidev/giteacomment:latest
settings:
gitea_base_url: https://git.gnous.eu
gitea_token:
from_secret: gnous_cicd_token
comment_from_file: output.txt
lint:
image: debian:stable
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: [push, pull_request]