Makefile 875 B

12345678910111213141516171819202122
  1. all: test-e2e
  2. # We are updating the docker compose config via the host-admin service.
  3. # The host-admin service is running inside docker and has its own file-system layout.
  4. # We need to have both file-system layouts agree on the path for the docker compose project.
  5. # Notable the container labels com.docker.compose.project.working_dir and com.docker.compose.project.config_files need to match when creating containers from the docker host (how you started things) and from host-admin (how tests reconfigure the instance).
  6. export PWD = $(shell pwd)
  7. test-e2e:
  8. docker compose up --build --no-log-prefix --exit-code-from=e2e e2e
  9. test-e2e-open:
  10. docker compose up --build --no-log-prefix --exit-code-from=e2e-open e2e-open
  11. clean:
  12. docker compose down --volumes --timeout 0
  13. prefetch:
  14. docker compose pull e2e mongo redis
  15. docker compose build
  16. .PHONY: test-e2e test-e2e-open