forked from traefik/traefik-helm-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
23 lines (17 loc) · 860 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: lint test
IMAGE_HELM_UNITTEST=docker.io/helmunittest/helm-unittest:3.12.3-0.3.5
IMAGE_CHART_TESTING=quay.io/helmpack/chart-testing:v3.9.0
traefik/tests/__snapshot__:
@mkdir traefik/tests/__snapshot__
test: traefik/tests/__snapshot__
docker run ${DOCKER_ARGS} --entrypoint /bin/sh --rm -v $(CURDIR):/charts -w /charts $(IMAGE_HELM_UNITTEST) /charts/hack/test.sh
lint:
docker run ${DOCKER_ARGS} --env GIT_SAFE_DIR="true" --entrypoint /bin/sh --rm -v $(CURDIR):/charts -w /charts $(IMAGE_CHART_TESTING) /charts/hack/lint.sh
docs:
docker run --rm -v "$(CURDIR):/helm-docs" jnorwood/helm-docs:latest
mv -f "$(CURDIR)/traefik/README.md" "$(CURDIR)/traefik/VALUES.md"
changelog:
@echo "== Updating Changelogs..."
@docker run -it --rm -v $(CURDIR):/data ghcr.io/mloiseleur/helm-changelog:v0.0.2
@./hack/changelog.sh
@echo "== Updating finished"