WIP: Add testing Makefile and matrix definitions
This commit is contained in:
parent
6d82cf3142
commit
c1b83a892f
5 changed files with 117 additions and 32 deletions
32
Makefile
Normal file
32
Makefile
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
default: build
|
||||
|
||||
SHELL:=/bin/bash -eux
|
||||
VERSION := 6.x
|
||||
PATTERN := xpack-standard-ubuntu-1604
|
||||
|
||||
.PHONY: converge cerify 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue