Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

add a buncha variables #3

add a buncha variables

add a buncha variables #3

Workflow file for this run

# This is a GitHub workflow defining a set of jobs with a set of steps.
# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
#
name: Test chart
on:
pull_request:
paths:
- "charts/**"
workflow_dispatch:
permissions:
contents: read
jobs:
lint-templates:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: charts/cozy-stack
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies (yamllint)
run: pip install yamllint
- run: helm dependency update
- name: helm lint
run: |
helm lint .
- name: helm template
run: |
helm template . --output-dir rendered-templates
- name: yamllint (only on templates we manage)
run: |
rm -rf rendered-templates/cozy-stack/charts
yamllint rendered-templates \
--config-data "{rules: {indentation: {spaces: 2}, line-length: disable}}"