[tests-only][full-ci] Update local test docker-compose setup to allow unicode preview tests (#6940)

* update local test docker-compose setup to allow unicode preview tests

* update docs
This commit is contained in:
Sawjan Gurung
2023-08-02 17:14:30 +05:45
committed by GitHub
parent 7915d725ac
commit 5e4b9baa1c
3 changed files with 29 additions and 1 deletions
+9 -1
View File
@@ -175,7 +175,7 @@ $(targets):
$(MAKE) --no-print-directory testSuite
.PHONY: testSuite
testSuite: $(OCIS_WRAPPER) build-dev-image clean-docker-container
testSuite: $(OCIS_WRAPPER) build-dev-image clean-docker-container ../../../vendor-bin/behat/composer.lock ../../../composer.lock
@if [ -n "${START_CEPH}" ]; then \
COMPOSE_PROJECT_NAME=$(COMPOSE_PROJECT_NAME) \
COMPOSE_FILE=src/ceph.yml \
@@ -257,3 +257,11 @@ clean-files:
.PHONY: clean
clean: clean-docker-container clean-docker-volumes clean-dev-docker-image clean-files ## clean all
../../../vendor-bin/behat/composer.lock: ../../../vendor-bin/behat/composer.json
@echo behat composer.lock is not up to date.
@composer update --no-progress -d ../../../vendor-bin/behat
../../../composer.lock: ../../../composer.json
@echo composer.lock is not up to date.
@composer update --no-progress -d ../../../
@@ -42,6 +42,9 @@ services:
# postprocessing step
POSTPROCESSING_STEPS: $POSTPROCESSING_STEPS
# fonts map for txt thumbnails (including unicode support)
THUMBNAILS_TXT_FONTMAP_FILE: "/drone/src/tests/config/drone/fontsMap.json"
volumes:
- ../../../config:/drone/src/tests/config
- ../../../ociswrapper/bin/ociswrapper:/usr/bin/ociswrapper