This repository has been archived on 2024-03-28. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
atsebay.t-worker/checks-virli-tp1.sh
Pierre-Olivier Mercier 07ea8e1f99
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
checks: Do virli TP1 checks
2022-09-11 18:36:38 +02:00

10 lines
218 B
Bash

#!/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