Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Makefile: add ct-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Feb 13, 2024
1 parent aecf745 commit 420cbc5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CHART_TESTING_VERSION:=3.10.1

.PHONY: build
build:
dune build bin/main.exe
Expand Down Expand Up @@ -28,3 +30,13 @@ setup-mahout:
sleep 3
kubectl apply -f config/test-pod.yaml || true
kubectl logs deploy/mastodon-operator -f

.PHONY: ct-lint
ct-lint:
docker run \
--rm \
--user $(shell id -u $(USER)) \
--workdir=/data \
--volume $(shell pwd):/data \
quay.io/helmpack/chart-testing:v$(CHART_TESTING_VERSION) \
ct lint --all --validate-maintainers=false

0 comments on commit 420cbc5

Please sign in to comment.