A minimalist VM runner for Kubernetes using Helm.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # This Makefile is used during development and can usually be ignored
  2. # by most people.
  3. default:
  4. @echo Useful valid targets are test-validate, test-install, test-uninstall
  5. all: test-validate test-install test-uninstall
  6. test-validate:
  7. @echo ===========================================================================
  8. python validate.py examples/*
  9. @echo ===========================================================================
  10. test-install: build
  11. @echo
  12. -helm delete --purge berth
  13. @echo
  14. helm install --name=berth --debug ./berth
  15. helm upgrade --debug berth ./berth \
  16. --values examples/cirros-test.yaml \
  17. --values examples/demo-ub14-apache.yaml \
  18. --values examples/ub16-smp-test.yaml
  19. @sleep 5 # give k8s a chance to see the IP
  20. @echo
  21. kubectl get pods -o wide
  22. test-uninstall:
  23. helm delete --purge berth
  24. build:
  25. @echo
  26. helm lint berth
  27. clean:
  28. rm -f *~ */*~ */*/*~ berth-0.1.0.tgz
  29. rm -rf doc/build
  30. .PHONY: docs
  31. docs: clean build_docs
  32. .PHONY: build_docs
  33. build_docs:
  34. tox -e docs
  35. .PHONY:
  36. all default build clean test-validate test-install test-uninstall