
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [helm-unittest/helm-unittest](https://github.com/helm-unittest/helm-unittest) | minor | `v0.7.2` -> `v0.8.1` | --- ### Release Notes <details> <summary>helm-unittest/helm-unittest (helm-unittest/helm-unittest)</summary> ### [`v0.8.1`](https://github.com/helm-unittest/helm-unittest/releases/tag/v0.8.1) [Compare Source](https://github.com/helm-unittest/helm-unittest/compare/v0.8.0...v0.8.1) **Fixes** - Fix special characters in template filename (resolves [#​619](https://github.com/helm-unittest/helm-unittest/issues/619)) - Fix tests with conditional sub-charts fail to find templates since 0.8.0 (resolves [#​588](https://github.com/helm-unittest/helm-unittest/issues/588), credits [@​ivankatliarchuk](https://github.com/ivankatliarchuk)) - Fix skipEmptyTemplate fails when no matching templates are found (resolves [#​609](https://github.com/helm-unittest/helm-unittest/issues/609), credits [@​ivankatliarchuk](https://github.com/ivankatliarchuk)) **Improvements** - Improvement enable documentSelector for hasDocument asserts (resolves [#​590](https://github.com/helm-unittest/helm-unittest/issues/590))- - Improvement by supporting ppc64le (credits [@​Vaibhav-Nazare](https://github.com/Vaibhav-Nazare)) - Improvement refactoring configs for jobs and assertions (credits credits [@​ivankatliarchuk](https://github.com/ivankatliarchuk)) **Updates** - Update packages to latest patch versions - Update pipeline actions - Update documentation (credits [@​bogdan-deac](https://github.com/bogdan-deac)) ### [`v0.8.0`](https://github.com/helm-unittest/helm-unittest/releases/tag/v0.8.0) [Compare Source](https://github.com/helm-unittest/helm-unittest/compare/v0.7.2...v0.8.0) **Features** - Add flag to exclude certain templates from testing (resolves [#​169](https://github.com/helm-unittest/helm-unittest/issues/169), credits [@​snorwin](https://github.com/snorwin)) - Support for test packaged helmcharts (resolves [#​186](https://github.com/helm-unittest/helm-unittest/issues/186), resolves [#​250](https://github.com/helm-unittest/helm-unittest/issues/250)) - Support to allow skipping tests (resolves [#​504](https://github.com/helm-unittest/helm-unittest/issues/504), credits [@​ivankatliarchuk](https://github.com/ivankatliarchuk)) - Add helm post-renderer option (resolves [#​574](https://github.com/helm-unittest/helm-unittest/issues/574), credits [@​jcogilvie](https://github.com/jcogilvie)) **Fixes** - Resolve multiline errormessages (resolves [#​559](https://github.com/helm-unittest/helm-unittest/issues/559), credits [@​ivankatliarchuk](https://github.com/ivankatliarchuk)) **Updates** - Update packages to latest patch versions - Update pipeline actions - Update documentation </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC). 🚦 **Automerge**: Enabled. â™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzMuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzMy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJraW5kL2RlcGVuZGVuY3kiXX0=--> Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/851 Reviewed-by: pat-s <pat-s@noreply.gitea.com> Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
name: check-and-test
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
# renovate: datasource=github-releases depName=helm-unittest/helm-unittest
|
|
HELM_UNITTEST_VERSION: "v0.8.1"
|
|
|
|
jobs:
|
|
check-and-test:
|
|
runs-on: ubuntu-latest
|
|
container: alpine/helm:3.17.2
|
|
steps:
|
|
- name: install tools
|
|
run: |
|
|
apk update
|
|
apk add --update bash make nodejs npm yamllint ncurses
|
|
- uses: actions/checkout@v4
|
|
- name: install chart dependencies
|
|
run: helm dependency build
|
|
- name: lint
|
|
run: helm lint
|
|
- name: template
|
|
run: helm template --debug gitea-helm .
|
|
- name: prepare unit test environment
|
|
run: |
|
|
helm plugin install --version ${{ env.HELM_UNITTEST_VERSION }} https://github.com/helm-unittest/helm-unittest
|
|
git submodule update --init --recursive
|
|
- name: unit tests
|
|
env:
|
|
TERM: xterm
|
|
run: |
|
|
make unittests
|
|
- name: verify readme
|
|
run: |
|
|
make readme
|
|
git diff --exit-code --name-only README.md
|
|
- name: yaml lint
|
|
uses: https://github.com/ibiqlik/action-yamllint@v3
|