parent
c492de29d9
commit
b573b4cb85
1 changed files with 13 additions and 2 deletions
|
@ -1,11 +1,22 @@
|
||||||
steps:
|
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:
|
lint:
|
||||||
image: debian:stable-slim
|
image: debian:stable-slim
|
||||||
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: pull_request
|
- event: pull_request
|
||||||
|
|
Loading…
Add table
Reference in a new issue