Implement docker-compose config linter

This commit is contained in:
Joey Hafner 2022-02-26 03:52:22 +00:00
parent 0179cb0e61
commit 0befa64b35

View File

@ -22,7 +22,10 @@ docker-compose-test:
- server/config/minecraft/
when: manual
script:
- ls
- find ~+ -type f -name docker-compose.yml > composes.txt
- find ~+/server/config/minecraft/ -type f -name *.yml >> composes.txt
- for file in `cat composes.txt`; do docker-compose -f $file config; done
- rm composes.txt
server-deploy: