Skip to content

Commit

Permalink
chore(helm-docs): Add CI job which checks if the helm-docs needs to b…
Browse files Browse the repository at this point in the history
…e created
  • Loading branch information
mjasion committed Jul 14, 2023
1 parent 13cab9b commit da3ac5a
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.12.0
version: v3.12.2

- uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -58,3 +58,34 @@ jobs:
run: |
ct lint-and-install --target-branch ${{ github.event.repository.default_branch }} --upgrade --debug \
--helm-extra-set-args '--set ci=true --set global.blobvault.persistentVolume.storageClassName="standard" --set imagePullSecrets[0].name=iterativeai --set dockerUsername=${{ secrets.ITERATIVE_DOCKER_REGISTRY_USER }} --set dockerPassword=${{ secrets.ITERATIVE_DOCKER_REGISTRY_PASSWORD }} --set dockerServer=docker.iterative.ai'
helm-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.12.2

- name: Setup Golang caches
uses: actions/cache@v3
with:
key: go-k8s
path: |
~/go
- name: Install Kubesec
run: |
GO111MODULE=on go get github.com/norwoodj/helm-docs/cmd/helm-docs
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Run helm-docs
working-directory: charts/studio/
run: |
helm-docs
git diff --exit-code

0 comments on commit da3ac5a

Please sign in to comment.