This commit is contained in:
Mael G. 2025-01-06 21:32:33 +01:00
parent 4dd9498811
commit 315f961731

View file

@ -1,19 +1,17 @@
steps: steps:
check_ports_labels: check_ports_labels:
image: python:3.12-slim image: python:3.12
commands: commands:
- pip3 install -r .ci/requirements.txt - pip3 install -r .ci/requirements.txt
- python3 .ci/port_attribution_watcher.py - python3 .ci/port_attribution_watcher.py
- python3 .ci/traefik_labels_watcher.py - python3 .ci/traefik_label_watcher.py
when:
- event: [push, pull_request]
lint: lint:
image: debian:stable-slim image: debian:stable
commands: commands:
- apt-get update - apt-get update
- apt-get install -y curl - 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 - 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 - sh .ci/lint.sh
when: when:
- event: [push, pull_request] - event: [push, pull_request]