adjust logging level of any package #309
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test Charts | |
on: | |
pull_request: | |
paths: | |
- 'valeriano-manassero/**' | |
jobs: | |
lint-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.5.0 | |
with: | |
fetch-depth: 0 | |
- name: Run helm-docs | |
run: .github/helm-docs.sh | |
install-chart: | |
name: install-chart | |
runs-on: ubuntu-latest | |
needs: | |
- lint-docs | |
strategy: | |
matrix: | |
k8s: | |
- v1.25.11 | |
- v1.26.6 | |
- v1.27.3 | |
- v1.28.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.5.0 | |
with: | |
fetch-depth: 0 | |
- name: Create kind ${{ matrix.k8s }} cluster | |
uses: helm/kind-action@v1.5.0 | |
with: | |
node_image: kindest/node:${{ matrix.k8s }} | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2.6.1 | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --chart-dirs valeriano-manassero --target-branch main) | |
if [[ -n "$changed" ]]; then | |
echo "changed=true" >> "$GITHUB_OUTPUT" | |
echo "changed_charts=\"${changed//$'\n'/,}\"" >> "$GITHUB_OUTPUT" | |
fi | |
- name: Run chart-testing (lint and install) | |
run: ct lint-and-install --chart-dirs valeriano-manassero --target-branch main --helm-extra-args "--timeout=15m" --charts=${{steps.list-changed.outputs.changed_charts}} --debug true | |
if: steps.list-changed.outputs.changed == 'true' |