* [meta] refactor kitchen tests This commit update kitchen tests to match important feature to test: - default: test a deployment with all default values - license: test a deployment with a license and default values - trial: test a deployment with security enabled and trial license - oss: test a deployment with oss version and default values (6.x only) - upgrade: test an upgrade from a previous version - oss-upgrade: test an upgrade with oss version (6.x only) - oss-to-default-upgrade: test an upgrade from previous oss to latest default version - custom_config: test a deployment with custom config files - security: test a deployment with security enabled * [meta] fix license test
32 lines
508 B
Makefile
32 lines
508 B
Makefile
default: build
|
|
|
|
SHELL:=/bin/bash -eux
|
|
export VERSION := 7.x
|
|
PATTERN := default-ubuntu-1804
|
|
|
|
.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
|