mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-11-23 21:06:28 +00:00
Clean minio before s3 tests
This commit is contained in:
parent
38a32c7ea9
commit
6d460b176f
16
Makefile
16
Makefile
@ -34,11 +34,11 @@ test-arm: build-arm
|
|||||||
test-all: test-amd64 test-arm
|
test-all: test-amd64 test-arm
|
||||||
|
|
||||||
.PHONY: test-s3-amd64
|
.PHONY: test-s3-amd64
|
||||||
test-s3-amd64: build-amd64
|
test-s3-amd64: build-amd64 clean-minio
|
||||||
cd tests && ./test-compose.sh s3 $(DOCKER_TAG):amd64
|
cd tests && ./test-compose.sh s3 $(DOCKER_TAG):amd64
|
||||||
|
|
||||||
.PHONY: test-s3-arm
|
.PHONY: test-s3-arm
|
||||||
test-s3-arm: build-arm
|
test-s3-arm: build-arm clean-minio
|
||||||
cd tests && ./test-compose.sh s3 $(DOCKER_TAG):arm
|
cd tests && ./test-compose.sh s3 $(DOCKER_TAG):arm
|
||||||
|
|
||||||
.PHONY: test-s3-all
|
.PHONY: test-s3-all
|
||||||
@ -55,6 +55,14 @@ shell-arm: build-arm
|
|||||||
.PHONY: shell
|
.PHONY: shell
|
||||||
shell: shell-amd64
|
shell: shell-amd64
|
||||||
|
|
||||||
|
# Installs pre-commit hooks
|
||||||
|
.PHONY: install-hooks
|
||||||
|
install-hooks:
|
||||||
|
pre-commit install --install-hooks
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean: clean-minio
|
||||||
docker-compose -f docker-compose-test-s3.yml down -v
|
|
||||||
|
.PHONY: clean-minio
|
||||||
|
clean-minio:
|
||||||
|
docker-compose -f tests/docker-compose-test-s3.yml down -v
|
||||||
|
Loading…
Reference in New Issue
Block a user