Compare commits

...

2 commits

Author SHA1 Message Date
21b17cc34c update lint 2025-01-06 22:55:30 +01:00
b56eff6412 use code block 2025-01-06 22:36:55 +01:00
2 changed files with 5 additions and 2 deletions
.ci
.woodpecker

View file

@ -1,5 +1,5 @@
set -x -e
echo "" > output.txt
echo "```" > output.txt
process_output() {
if [ $? -eq 0 ]; then
@ -25,4 +25,5 @@ python3 .ci/traefik_label_watcher.py | tee output_tmp.txt
process_output
echo "-- END Traefik label watcher --" | tee -a output.txt
echo "```" >> output.txt # Close the code block

View file

@ -21,7 +21,9 @@ steps:
- 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
- sh .ci/lint.sh | tee output.txt
- sh .ci/lint.sh 2>&1 | tee output_tmp.txt
- echo "\`\`\`" > output.txt
- grep 'msg=' output.txt | awk -F'msg="' '{print $2}' | sed 's/"$//' | sed 's/\\"/"/g' && echo "\`\`\`" >> output.txt
comment_lint:
image: git.gnous.eu/enpls/gitea-comment-plugin:stable
settings: