chore(deps): bump the actions group with 2 updates (#234)
Bumps the actions group with 2 updates: astral-sh/setup-uv and actions/setup-python.
Updates
astral-sh/setup-uvfrom 10.3.0 to 10.3.2Updates
actions/setup-pythonfrom 7.0.0 to 7.1.0
updated-dependencies:
- dependency-name: astral-sh/setup-uv dependency-version: 10.3.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions
- dependency-name: actions/setup-python dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
chart-testing Action
A GitHub Action for installing the helm/chart-testing CLI tool.
Usage
Pre-requisites
charts).github/workflowsdirectory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow fileInputs
For more information on inputs, see the API Documentation
version: The chart-testing version to install (default:3.15.0)yamllint_version: Theyamllintversion to install (default:1.33.0)yamale_version: Theyamaleversion to install (default:6.0.0)lint_config: Path to a custom yamllint config file. If set,ct lintuses it instead of the defaultlintconf.yaml(default: none)Example Workflow
Create a workflow (eg:
.github/workflows/lint-test.yaml):Note that Helm and Python must be installed. This can be achieved using actions as shown in the example below. Python is required because
ct lintruns Yamale and yamllint which require Python.This uses
helm/kind-actionGitHub Action to spin up a kind Kubernetes cluster, andhelm/chart-testingto lint and test your charts on every pull request.Testing charts that use CRDs
If your chart renders custom resources for CRDs that are not installed by the chart itself, install those CRDs after the kind cluster is created and before running
ct install. For example, if your repository stores the required CRD manifests in acrds/directory:The
helm/kind-actionstep configureskubectlfor the kind cluster, so later workflow steps can apply CRDs or other cluster prerequisites before chart installation.Upgrading from v1.x.x
v2.0.0 is a major release with breaking changes. The action no longer wraps the chart-testing tool but simply installs it. It is no longer run in a Docker container. All
ctoptions are now directly available without the additional abstraction layer.Code of conduct
Participation in the Helm community is governed by the Code of Conduct.