parent
c492de29d9
commit
b573b4cb85
1 changed files with 13 additions and 2 deletions
|
@ -1,14 +1,25 @@
|
|||
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
|
||||
repo: gnouseu/docker-services
|
||||
- event: push
|
||||
branch: main
|
||||
branch: main
|
Loading…
Add table
Reference in a new issue