From 37fadf7447e0597955c349596a96844994793354 Mon Sep 17 00:00:00 2001 From: Piotr Icikowski Date: Mon, 19 Dec 2022 00:00:23 +0100 Subject: [PATCH] feat(taskfile): add `dist:chart` task This task lints and builds GoosyMock's Helm chart. --- tasks/dist.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/dist.yaml b/tasks/dist.yaml index 24305b5..a899e5f 100644 --- a/tasks/dist.yaml +++ b/tasks/dist.yaml @@ -17,3 +17,10 @@ tasks: --build-arg buildTime={{ .BUILD_TIME }} \ --label org.opencontainers.image.version={{ .GIT_TAG }} \ --label org.opencontainers.image.created={{ .BUILD_TIME }} + chart: + desc: Build a Helm chart + dir: chart + cmds: + - helm lint goosymock + - helm package goosymock --app-version "{{ .GIT_TAG }}" --version "{{ .GIT_TAG }}" + - mv goosymock-{{ .GIT_TAG }}.tgz ../../target