Skip to content

Commit

Permalink
use pre-built image
Browse files Browse the repository at this point in the history
  • Loading branch information
jm96441n authored and jmurret committed Sep 19, 2024
1 parent a3cad83 commit 3150728
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ generate-external-crds: ## Generate CRDs for externally defined CRDs and copy th
@cd ./control-plane/config/crd/external; \
kustomize build | yq --split-exp '.metadata.name + ".yaml"' --no-doc

.PHONY: build-helm-docker
build-helm-docker:
@docker build -t consul-helm-test:local -f $(CURDIR)/charts/consul/test/docker/Test.dockerfile .

.PHONY: bats-tests
bats-tests: build-helm-docker ## Run Helm chart bats tests.
docker run -it -v $(CURDIR):/consul-k8s consul-helm-test:local bats --jobs 4 /consul-k8s/charts/consul/test/unit -f "$(TEST_NAME)"
bats-tests: ## Run Helm chart bats tests.
docker run -it -v $(CURDIR):/consul-k8s hashicorpdev/consul-helm-test:latest bats --jobs 4 /consul-k8s/charts/consul/test/unit -f "$(TEST_NAME)"

##@ Control Plane Targets

Expand Down

0 comments on commit 3150728

Please sign in to comment.