Skip to content

Commit

Permalink
Merge pull request #2 from dirsigler/dev
Browse files Browse the repository at this point in the history
Add proper Chart linting and installing
  • Loading branch information
Dennis Irsigler authored Oct 21, 2021
2 parents 4925354 + 425dad6 commit 907cb3d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .github/ct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# See https://github.com/helm/chart-testing#configuration
remote: origin
chart-dirs:
- charts
chart-repos:
- uptime-kuma=https://dirsigler.github.io/uptime-kuma-helm
debug: true
9 changes: 6 additions & 3 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Lint and Test Charts

on: pull_request
on:
push:
branches:
- dev

jobs:
lint-test:
Expand Down Expand Up @@ -32,11 +35,11 @@ jobs:
fi
- name: Run chart-testing (lint)
run: ct lint --target-branch main
run: ct lint --config .github/ct.yaml --target-branch main

- name: Create kind cluster
uses: helm/[email protected]
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install)
run: ct install --target-branch main
run: ct install --config .github/ct.yaml --target-branch main
2 changes: 1 addition & 1 deletion charts/uptime-kuma/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.3
version: 0.3.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down

0 comments on commit 907cb3d

Please sign in to comment.