CI: Update "docker-pull" target in Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
204c0e2c2f
commit
95a90499f1
1 changed files with 10 additions and 3 deletions
13
Makefile
13
Makefile
|
@ -37,6 +37,7 @@ endif
|
||||||
all: dep build-js
|
all: dep build-js
|
||||||
dep: dep-tensorflow dep-npm dep-js dep-go
|
dep: dep-tensorflow dep-npm dep-js dep-go
|
||||||
build: build-go
|
build: build-go
|
||||||
|
pull: docker-pull
|
||||||
test: test-js test-go
|
test: test-js test-go
|
||||||
test-go: reset-sqlite run-test-go
|
test-go: reset-sqlite run-test-go
|
||||||
test-pkg: reset-sqlite run-test-pkg
|
test-pkg: reset-sqlite run-test-pkg
|
||||||
|
@ -281,6 +282,13 @@ test-coverage:
|
||||||
$(info Running all Go tests with code coverage report...)
|
$(info Running all Go tests with code coverage report...)
|
||||||
go test -parallel 1 -count 1 -cpu 1 -failfast -tags slow -timeout 30m -coverprofile coverage.txt -covermode atomic ./pkg/... ./internal/...
|
go test -parallel 1 -count 1 -cpu 1 -failfast -tags slow -timeout 30m -coverprofile coverage.txt -covermode atomic ./pkg/... ./internal/...
|
||||||
go tool cover -html=coverage.txt -o coverage.html
|
go tool cover -html=coverage.txt -o coverage.html
|
||||||
|
docker-pull:
|
||||||
|
docker pull mariadb:10.8
|
||||||
|
docker pull photoprism/traefik:latest
|
||||||
|
docker pull photoprism/develop:bookworm
|
||||||
|
docker pull photoprism/develop:bookworm-slim
|
||||||
|
docker pull photoprism/photoprism:preview
|
||||||
|
docker pull photoprism/photoprism:latest
|
||||||
docker-develop: docker-develop-latest
|
docker-develop: docker-develop-latest
|
||||||
docker-develop-all: docker-develop-latest docker-develop-other
|
docker-develop-all: docker-develop-latest docker-develop-other
|
||||||
docker-develop-latest: docker-develop-debian docker-develop-armv7
|
docker-develop-latest: docker-develop-debian docker-develop-armv7
|
||||||
|
@ -448,8 +456,6 @@ docker-local-develop-buster:
|
||||||
docker-local-develop-impish:
|
docker-local-develop-impish:
|
||||||
docker pull ubuntu:impish
|
docker pull ubuntu:impish
|
||||||
scripts/docker/build.sh develop impish /impish
|
scripts/docker/build.sh develop impish /impish
|
||||||
docker-pull:
|
|
||||||
docker pull photoprism/photoprism:preview photoprism/photoprism:latest
|
|
||||||
docker-ddns:
|
docker-ddns:
|
||||||
docker pull golang:alpine
|
docker pull golang:alpine
|
||||||
scripts/docker/buildx-multi.sh ddns linux/amd64,linux/arm64 $(BUILD_DATE)
|
scripts/docker/buildx-multi.sh ddns linux/amd64,linux/arm64 $(BUILD_DATE)
|
||||||
|
@ -500,4 +506,5 @@ tidy:
|
||||||
install-go install-darktable install-tensorflow devtools tar.gz fix-permissions rootshell help dep-acceptance \
|
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 testcafe;
|
docker-local-develop-buster docker-local-develop-impish test-mariadb reset-acceptance run-test-mariadb testcafe \
|
||||||
|
pull docker-pull;
|
||||||
|
|
Loading…
Reference in a new issue