38 lines
No EOL
1.2 KiB
YAML
38 lines
No EOL
1.2 KiB
YAML
steps:
|
|
check_ports_labels:
|
|
image: python:3.13-slim
|
|
commands:
|
|
- pip3 install -r .ci/requirements.txt
|
|
- ./.ci/gen_output.sh
|
|
comment:
|
|
image: git.gnous.eu/enpls/gitea-comment-plugin:1.1
|
|
settings:
|
|
gitea_address: https://git.gnous.eu
|
|
gitea_token:
|
|
from_secret: gnous_cicd_token
|
|
comment_file: output.txt
|
|
when:
|
|
status: [failure, success]
|
|
event: [pull_request]
|
|
lint:
|
|
image: debian:stable
|
|
commands:
|
|
- rm -rf output.txt
|
|
- apt-get update
|
|
- apt-get install -y curl
|
|
- curl -SL https://github.com/docker/compose/releases/download/v2.33.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
|
|
- chmod +x /usr/local/bin/docker-compose
|
|
- bash .ci/lint_wrap.sh
|
|
comment_2:
|
|
image: git.gnous.eu/enpls/gitea-comment-plugin:1.1
|
|
settings:
|
|
gitea_address: https://git.gnous.eu
|
|
gitea_token:
|
|
from_secret: gnous_cicd_token
|
|
comment_file: output.txt
|
|
when:
|
|
status: [failure, success]
|
|
event: [pull_request]
|
|
when:
|
|
- event: [push, pull_request]
|
|
- evaluate: 'CI_COMMIT_AUTHOR in ["gnous-ci-bot", "mael", "ada"]' |