CI/Tests: Add "dep-acceptance" target to Makefile

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-07-23 11:40:39 +02:00
parent f14752f08c
commit 2a169ec8a7

View file

@ -168,6 +168,9 @@ dep-tensorflow:
scripts/download-facenet.sh scripts/download-facenet.sh
scripts/download-nasnet.sh scripts/download-nasnet.sh
scripts/download-nsfw.sh scripts/download-nsfw.sh
dep-acceptance: storage/acceptance
storage/acceptance:
(cd storage && rm -rf acceptance && wget -c https://dl.photoprism.app/qa/acceptance.tar.gz -O - | tar -xz)
zip-facenet: zip-facenet:
(cd assets && zip -r facenet.zip facenet -x "*/.*" -x "*/version.txt") (cd assets && zip -r facenet.zip facenet -x "*/.*" -x "*/version.txt")
zip-nasnet: zip-nasnet:
@ -487,7 +490,7 @@ tidy:
.PHONY: all build dev dep-npm dep dep-go dep-js dep-list dep-tensorflow dep-upgrade dep-upgrade-js test test-js test-go \ .PHONY: all build dev dep-npm dep dep-go dep-js dep-list dep-tensorflow dep-upgrade dep-upgrade-js test test-js test-go \
install generate fmt fmt-go fmt-js upgrade start stop terminal root-terminal packer-digitalocean acceptance clean tidy \ install generate fmt fmt-go fmt-js upgrade start stop terminal root-terminal packer-digitalocean acceptance clean tidy \
docker-develop docker-preview docker-preview-all docker-preview-arm docker-release docker-release-all docker-release-arm \ docker-develop docker-preview docker-preview-all docker-preview-arm docker-release docker-release-all docker-release-arm \
install-go install-darktable install-tensorflow devtools tar.gz fix-permissions rootshell help \ install-go install-darktable install-tensorflow devtools tar.gz fix-permissions rootshell help dep-acceptance \
docker-local docker-local-all docker-local-bookworm docker-local-bullseye docker-local-buster docker-local-impish \ docker-local docker-local-all docker-local-bookworm docker-local-bullseye docker-local-buster docker-local-impish \
docker-local-develop docker-local-develop-all docker-local-develop-bookworm docker-local-develop-bullseye \ docker-local-develop docker-local-develop-all docker-local-develop-bookworm docker-local-develop-bullseye \
docker-local-develop-buster docker-local-develop-impish test-mariadb reset-acceptance run-test-mariadb; docker-local-develop-buster docker-local-develop-impish test-mariadb reset-acceptance run-test-mariadb;