diff --git a/build.assets/Dockerfile b/build.assets/Dockerfile index b0a4bdbd43d1e..368919094e658 100644 --- a/build.assets/Dockerfile +++ b/build.assets/Dockerfile @@ -177,6 +177,14 @@ RUN go install github.com/daixiang0/gci@v0.8.2 RUN (mkdir -p helm-tarball && curl -L https://get.helm.sh/helm-v3.5.2-$(go env GOOS)-$(go env GOARCH).tar.gz | tar -C helm-tarball -xz && \ cp helm-tarball/$(go env GOOS)-$(go env GOARCH)/helm /bin/ && \ rm -r helm-tarball*) + +# TODO(hugoShaka): remove this backward compatible hack with teleportv13 buildbox +RUN helm plugin install https://github.com/quintush/helm-unittest && \ + mkdir -p /home/ci/.local/share/helm && \ + cp -r /root/.local/share/helm/plugins /home/ci/.local/share/helm/plugins-new && \ + chown -R ci /home/ci/.local/share/helm && \ + helm plugin uninstall unittest && \ + HELM_PLUGINS=/home/ci/.local/share/helm/plugins-new helm plugin list RUN helm plugin install https://github.com/vbehar/helm3-unittest && \ mkdir -p /home/ci/.local/share/helm && \ cp -r /root/.local/share/helm/plugins /home/ci/.local/share/helm && \