Skip to content

Commit

Permalink
remove k8s master from CI test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
coryodaniel committed Jul 29, 2019
1 parent 792c8e3 commit 331b5ed
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Makefile
@@ -1,4 +1,4 @@
.PHONY: help clean deps all test tdd cov test/all lint analyze get-and-test-master
.PHONY: help clean deps all test tdd cov test/all test/master lint analyze
.PHONY: mock.dupes mock.groups

help: ## Show this help
Expand Down Expand Up @@ -26,16 +26,15 @@ tdd: ## Run fast test on k8s last stable in a loop
cov: ## Generate coverage HTML
mix coveralls.html

test/all: ## Run full test suite against 1.10+ and master
test/all: test/1.10 test/1.11 test/1.12 test/1.13 test/1.14 test/1.15
test/all: get-and-test-master

MASTER_SWAGGER_PATH:=test/support/swagger/master.json
get-and-test-master:
test/master: ## Run test suite against master
@-rm -f ${MASTER_SWAGGER_PATH}
@curl -sSL https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json -o ${MASTER_SWAGGER_PATH}
K8S_SPEC=${MASTER_SWAGGER_PATH} mix test

test/all: ## Run full test suite against 1.10+
test/all: test/1.10 test/1.11 test/1.12 test/1.13 test/1.14 test/1.15

test/%: ## Run full test suite against a specific k8s version
K8S_SPEC=test/support/swagger/$*.json mix test

Expand Down

0 comments on commit 331b5ed

Please sign in to comment.