test: cover DOKKU_LIB_HOST_ROOT storage mounts in bats
Add a Dokku-in-Docker bats suite that writes under DOKKU_LIB_HOST_ROOT and checks storage:exec, set those env vars in the docker CI container, and add unit bats for the bare-metal (unset) and rewritten docker-args paths.
This commit is contained in:
4 files changed
+176
-1
No files matched your search
@@ -336,7 +336,11 @@ tests-ci-retry-failed:
|
||||
tar xzf /tmp/bats-retry.tgz -C /usr/local/bin
|
||||
bats-retry --execute test-results/bats
|
||||
|
||||
test-ci-docker: setup-docker-deploy-tests deploy-test-checks-root deploy-test-config deploy-test-multi deploy-test-go-fail-predeploy deploy-test-go-fail-postdeploy test-ci-binaries
|
||||
deploy-test-storage-lib-host-root:
|
||||
@echo deploy-test-storage-lib-host-root
|
||||
cd tests/docker && bats storage.bats
|
||||
|
||||
test-ci-docker: setup-docker-deploy-tests deploy-test-checks-root deploy-test-config deploy-test-multi deploy-test-go-fail-predeploy deploy-test-go-fail-postdeploy deploy-test-storage-lib-host-root test-ci-binaries
|
||||
|
||||
generate-ssl-tars: generate-ssl-tar generate-ssl-sans-tar generate-ssl-wildcard-tar
|
||||
|
||||
|
||||
Reference in new issue
Block a user