in a CI test, print less junk (#831)
This commit is contained in:
parent
83f8a23bd3
commit
479b83c0f0
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@ -24,6 +24,7 @@ jobs:
|
|||||||
# For now, change the quickstart values directly in the .env file
|
# For now, change the quickstart values directly in the .env file
|
||||||
# TODO: We should probably use env vars instead
|
# TODO: We should probably use env vars instead
|
||||||
sed -i 's/QUICKSTART_MAX_ZOOM=7/QUICKSTART_MAX_ZOOM=14/g' .env
|
sed -i 's/QUICKSTART_MAX_ZOOM=7/QUICKSTART_MAX_ZOOM=14/g' .env
|
||||||
|
export QUIET=1
|
||||||
./quickstart.sh $area
|
./quickstart.sh $area
|
||||||
|
|
||||||
- name: Save quickstart.log
|
- name: Save quickstart.log
|
||||||
|
|||||||
9
Makefile
9
Makefile
@ -10,6 +10,13 @@ else
|
|||||||
DOCKER_COMPOSE:= docker-compose --project-name $(DC_PROJECT)
|
DOCKER_COMPOSE:= docker-compose --project-name $(DC_PROJECT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Make some operations quieter (e.g. inside the test script)
|
||||||
|
ifeq ($(strip $(QUIET)),)
|
||||||
|
QUIET_FLAG:=
|
||||||
|
else
|
||||||
|
QUIET_FLAG:=--quiet
|
||||||
|
endif
|
||||||
|
|
||||||
# Use `xargs --no-run-if-empty` flag, if supported
|
# Use `xargs --no-run-if-empty` flag, if supported
|
||||||
XARGS:=xargs $(shell xargs --no-run-if-empty </dev/null 2>/dev/null && echo --no-run-if-empty)
|
XARGS:=xargs $(shell xargs --no-run-if-empty </dev/null 2>/dev/null && echo --no-run-if-empty)
|
||||||
|
|
||||||
@ -301,7 +308,7 @@ ifneq ($(strip $(NO_REFRESH)),)
|
|||||||
else
|
else
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "Refreshing docker images... Use NO_REFRESH=1 to skip."
|
@echo "Refreshing docker images... Use NO_REFRESH=1 to skip."
|
||||||
$(DOCKER_COMPOSE) pull --ignore-pull-failures
|
$(DOCKER_COMPOSE) pull --ignore-pull-failures $(QUIET_FLAG)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: remove-docker-images
|
.PHONY: remove-docker-images
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user