Compare commits
2 commits
4e87890108
...
21b17cc34c
Author | SHA1 | Date | |
---|---|---|---|
21b17cc34c | |||
b56eff6412 |
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue