From 963b1fbbf9ddaec79684c42454c92c0de1b9f6d0 Mon Sep 17 00:00:00 2001 From: Hugo Shaka Date: Tue, 9 Apr 2024 15:57:32 -0400 Subject: [PATCH] add tests and version update --- Makefile | 4 ++++ version.mk | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6be5526804489..b05c3c89ec497 100644 --- a/Makefile +++ b/Makefile @@ -703,12 +703,16 @@ test-helm: helmunit/installed helm unittest -3 --with-subchart=false examples/chart/teleport-cluster helm unittest -3 examples/chart/teleport-kube-agent helm unittest -3 examples/chart/teleport-cluster/charts/teleport-operator + helm unittest -3 examples/chart/access/* + helm unittest -3 examples/chart/event-handler .PHONY: test-helm-update-snapshots test-helm-update-snapshots: helmunit/installed helm unittest -3 -u --with-subchart=false examples/chart/teleport-cluster helm unittest -3 -u examples/chart/teleport-kube-agent helm unittest -3 -u examples/chart/teleport-cluster/charts/teleport-operator + helm unittest -3 -u examples/chart/access/* + helm unittest -3 -u examples/chart/event-handler # # Runs all Go tests except integration, called by CI/CD. diff --git a/version.mk b/version.mk index 1073a4308f8e1..45670bbbeb155 100644 --- a/version.mk +++ b/version.mk @@ -28,7 +28,7 @@ setver: validate-semver helm-version tsh-version # The weird -i usage is to make the sed commands work the same on both Linux and Mac. Test on both platforms if you change it. .PHONY:helm-version helm-version: - for CHART in teleport-cluster teleport-kube-agent teleport-cluster/charts/teleport-operator; do \ + for CHART in teleport-cluster teleport-kube-agent teleport-cluster/charts/teleport-operator event-handler access/discord access/email access/jira access/mattermost access/msteams access/pagerduty access/slack; do \ sed -i'.bak' -e "s_^\\.version:\ .*_.version: \\&version \"$${VERSION}\"_g" examples/chart/$${CHART}/Chart.yaml || exit 1; \ rm -f examples/chart/$${CHART}/Chart.yaml.bak; \ done