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:
@@ -104,7 +104,8 @@ endif
|
|||||||
# drop down the envs
|
# drop down the envs
|
||||||
devenv-down:
|
devenv-down:
|
||||||
@cd devenv; \
|
@cd devenv; \
|
||||||
docker-compose down;
|
test -f docker-compose.yaml && \
|
||||||
|
docker-compose down || exit 0;
|
||||||
|
|
||||||
# TODO recheck the rules and leave only necessary exclusions
|
# TODO recheck the rules and leave only necessary exclusions
|
||||||
gosec: scripts/go/bin/gosec
|
gosec: scripts/go/bin/gosec
|
||||||
|
|||||||
Reference in New Issue
Block a user