diff --git a/.gitea/workflows/generate-readme.yaml b/.gitea/workflows/generate-readme.yaml index 054248a..c47a6a5 100644 --- a/.gitea/workflows/generate-readme.yaml +++ b/.gitea/workflows/generate-readme.yaml @@ -5,7 +5,7 @@ on: paths: [ "README.md", "values.yaml" ] types: [ "opened", "reopened", "synchronize" ] push: - # paths: [ "README.md", "values.yaml" ] + paths: [ "README.md", "values.yaml" ] workflow_dispatch: {} jobs: diff --git a/.gitea/workflows/helm.yaml b/.gitea/workflows/helm.yaml new file mode 100644 index 0000000..0d8e97f --- /dev/null +++ b/.gitea/workflows/helm.yaml @@ -0,0 +1,40 @@ +name: Helm + +on: + pull_request: + paths: [ "templates/prometheus-postgres-exporter/*.yaml" ] + types: [ "opened", "reopened", "synchronize" ] + push: + # paths: [ "templates/prometheus-postgres-exporter/*.yaml" ] + workflow_dispatch: {} + +jobs: + helm-lint: + container: + image: docker.io/volkerraschek/helm:3.16.1 + runs-on: + - ubuntu-latest + steps: + - name: Install tooling + run: | + apk update + apk add git + - uses: actions/checkout@v4.2.2 + - name: Lint helm files + run: | + helm lint --values values.yaml . + + helm-unittest: + container: + image: docker.io/volkerraschek/helm:3.16.1 + runs-on: + - ubuntu-latest + steps: + - name: Install tooling + run: | + apk update + apk add git + - uses: actions/checkout@v4.2.2 + - name: Unittest + run: | + helm unittest --strict --file 'unittests/**/*.yaml' ./ \ No newline at end of file diff --git a/.gitea/workflows/markdown-linters.yaml b/.gitea/workflows/markdown-linters.yaml index 86a1d1c..c259df2 100644 --- a/.gitea/workflows/markdown-linters.yaml +++ b/.gitea/workflows/markdown-linters.yaml @@ -5,7 +5,7 @@ on: paths: [ "**/*.md" ] types: [ "opened", "reopened", "synchronize" ] push: - # paths: [ "**/*.md" ] + paths: [ "**/*.md" ] workflow_dispatch: {} jobs: