checks: Do virli TP1 checks
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
nemunaire 2022-09-11 18:36:38 +02:00
parent 14b4bafa25
commit 07ea8e1f99
2 changed files with 11 additions and 0 deletions

1
checks-6.sh Symbolic link
View File

@ -0,0 +1 @@
checks-virli-tp1.sh

10
checks-virli-tp1.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
STATUS=0
echo -ne "§ 1\tdocker-compose.yml\t\t\t"
VCP=$(find -maxdepth 1 -name "docker-compose.yml" | head -1)
[ -f "$VCP" ] || { echo "NOT FOUND"; STATUS=1; }
[ -f "$VCP" ] && echo "found "
exit $STATUS