Build: ignore absence of docker-compose (#17331)

If devenv/docker-compose.yaml file is missing, `devenv-down`
and subsequently `devenv` is not going to work
This commit is contained in:
Oleg Gaidarenko 2019-05-28 20:08:27 +03:00 committed by GitHub
parent 9ff44b5037
commit a1a498f96c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,8 @@ endif
# drop down the envs
devenv-down:
@cd devenv; \
docker-compose down;
test -f docker-compose.yaml && \
docker-compose down || exit 0;
# TODO recheck the rules and leave only necessary exclusions
gosec: scripts/go/bin/gosec