Skip to content

Commit

Permalink
chore(helm-checks): add simple-data-backend (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy authored Apr 4, 2024
1 parent 4b43875 commit dc7e56d
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/helm-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ jobs:
with:
fetch-depth: 0

- name: Kubernetes KinD Cluster
uses: container-tools/kind-action@v2
with:
# upgrade version, default (v0.17.0) uses node image v1.21.1 and doesn't work with more recent node image versions
version: v0.20.0
# default value for event_name != workflow_dispatch
node_image: ${{ github.event.inputs.node_image || 'kindest/node:v1.27.3' }}

- name: Build simple data backend
id: build-simple-data-backend
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
context: simple-data-backend/
push: true
tags: kind-registry:5000/simple-data-backend:testing

- name: Set up Helm
uses: azure/setup-helm@v3
with:
Expand All @@ -109,13 +125,10 @@ jobs:
shell: bash
run: hack/helm-dependencies.bash

- name: Kubernetes KinD Cluster
uses: helm/[email protected]
with:
# default value for event_name != workflow_dispatch
node_image: ${{ github.event.inputs.node_image || 'kindest/node:v1.27.3' }}
- name: Install chart and run tests (simple-data-backend)
run: ct install --charts charts/simple-data-backend --target-branch ${{ github.event.repository.default_branch }} --helm-extra-set-args "--set image.repository=kind-registry:5000/simple-data-backend --set image.tag=testing"

- name: Install chart and run tests
- name: Install chart and run tests (umbrella)
run: ct install --charts charts/umbrella --target-branch ${{ github.event.repository.default_branch }}


Expand Down

0 comments on commit dc7e56d

Please sign in to comment.