Increase readiness and liveness probe timeouts, introduce an initial delay #235
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: Helm Lint | |
on: | |
# `ct lint` does not work well with tag references on releases. | |
# OTOH, Helm linting on tags is not necessary so long as it | |
# happens on push to branches. | |
push: | |
branches: | |
- '**' | |
paths: | |
- 'charts/**' | |
pull_request: | |
branches-ignore: | |
- 'release-**/bundle-update' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: v3.7.2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Run chart-testing (lint) | |
run: | | |
# is there a better way to get the right name for branch? | |
# for ref.: https://github.com/helm/chart-testing/issues/186#issuecomment-585595379 | |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then | |
ct lint --target-branch ${{ github.head_ref }} --config ./charts/ct.yaml | |
else | |
ct lint --target-branch ${{ github.ref_name }} --config ./charts/ct.yaml | |
fi |