Archived
1
0

ci: Remove helm validation action in favour of helm kubeval directly

This commit is contained in:
Anmol Sethi 2020-11-13 18:34:11 -05:00
parent 9af3671c05
commit f4d48bc880
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
3 changed files with 7 additions and 14 deletions

View File

@ -1,14 +0,0 @@
name: Helm Validation
on: [pull_request, issues]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Kubeval Helm Chart
uses: junior/kubeval-helm-chart-action@0.2.0-alpha.0
env:
INPUT_KUBERNETES_VERSION: 1.19

View File

@ -8,6 +8,7 @@ main() {
stylelint $(git ls-files "*.css") stylelint $(git ls-files "*.css")
tsc --noEmit tsc --noEmit
shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh") shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh")
helm kubeval ci/helm-chart
} }
main "$@" main "$@"

View File

@ -45,4 +45,10 @@ ENV GO111MODULE=on
RUN go get mvdan.cc/sh/v3/cmd/shfmt RUN go get mvdan.cc/sh/v3/cmd/shfmt
RUN go get github.com/goreleaser/nfpm/cmd/nfpm RUN go get github.com/goreleaser/nfpm/cmd/nfpm
RUN VERSION="$(curl -fsSL https://storage.googleapis.com/kubernetes-release/release/stable.txt)" && \
curl -fsSL "https://storage.googleapis.com/kubernetes-release/release/$VERSION/bin/linux/amd64/kubectl" > /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl
RUN curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
RUN helm plugin install https://github.com/instrumenta/helm-kubeval
RUN curl -fsSL https://get.docker.com | sh RUN curl -fsSL https://get.docker.com | sh