Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .PHONY: build test
  2. .DEFAULT_GOAL := pika
  3. build:
  4. docker-compose build
  5. build_master_v1:
  6. docker-compose -f docker-compose.yml -f masterV1.yml build
  7. build_replica_v1:
  8. docker-compose -f docker-compose.yml -f replicaV1.yml build
  9. pika: build
  10. @echo "Run PIKA integration tests..."
  11. docker-compose run master
  12. @echo "Stopping running containers..."
  13. docker-compose down --remove-orphans
  14. @echo "Done!"
  15. kombu: build
  16. @echo "Run KOMBU integration tests..."
  17. docker-compose -f docker-compose.yml -f kombu.yml run master
  18. @echo "Stopping running containers..."
  19. docker-compose -f docker-compose.yml -f kombu.yml down --remove-orphans
  20. @echo "Done!"
  21. master_v1: build_master_v1
  22. @echo "Run regression tests Master v1.3.1..."
  23. docker-compose -f docker-compose.yml -f masterV1.yml run master
  24. @echo "Stopping running containers..."
  25. docker-compose -f docker-compose.yml -f masterV1.yml down --remove-orphans
  26. @echo "Done!"
  27. replica_v1: build_replica_v1
  28. @echo "Run regression tests Replica v1.3.1..."
  29. docker-compose -f docker-compose.yml -f replicaV1.yml run master
  30. @echo "Stopping running containers..."
  31. docker-compose -f docker-compose.yml -f replicaV1.yml down --remove-orphans
  32. @echo "Done!"
  33. all: pika kombu master_v1 replica_v1