This commit is contained in:
Mael G. 2025-01-06 21:18:01 +01:00
parent c492de29d9
commit b573b4cb85

View file

@ -1,11 +1,22 @@
steps:
check_ports_labels:
image: python:3.12-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
- chmod +x /usr/local/bin/docker-compose
- sh .ci/lint.sh
when:
- event: pull_request