ansible-role-elasticsearch/Makefile
Julien Mailleret f06ed12bff
[meta] export VERSION variable to make subshell
This fix an issue where VERSION was exported to kitchen tests only if it was set as environment variable in the shell calling make
2020-03-20 16:19:13 +01:00

32 lines
506 B
Makefile

default: build
SHELL:=/bin/bash -eux
export VERSION := 7.x
PATTERN := xpack-ubuntu-1604
.PHONY: converge verify test login destroy list
setup:
bundle install
docker ps
converge:
bundle exec kitchen converge $(PATTERN)
verify:
bundle exec kitchen verify $(PATTERN)
test:
bundle exec kitchen test $(PATTERN) --destroy=always
login:
bundle exec kitchen login $(PATTERN)
destroy:
bundle exec kitchen destroy $(PATTERN)
destroy-all:
bundle exec kitchen destroy
list:
bundle exec kitchen list