Skip to content

feat!: Add support for global configuration #4740

feat!: Add support for global configuration

feat!: Add support for global configuration #4740

Workflow file for this run

# SPDX-FileCopyrightText: Copyright DB Netz AG and the capella-collab-manager contributors
# SPDX-License-Identifier: CC0-1.0
name: lint
on:
push:
branches: ["**"]
tags: ["v*.*.*"]
pull_request:
branches: [ main ]
jobs:
helm-chart:
runs-on: ubuntu-latest
name: Validate helm chart with linter and kubernetes yaml schemas
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install helm
uses: azure/setup-helm@v3
- name: Install go
uses: actions/setup-go@v3
- name: Install kubeconform
run: |
go install github.com/yannh/kubeconform/cmd/kubeconform@latest
echo "$HOME/go/bin" >> $GITHUB_PATH
- name: Run helm dependency update
run: |
helm dependency update ./helm
- name: Run helm lint
run: |
helm lint --strict ./helm
- name: Validate chart with kubernetes schema
run: |
helm template ./helm | kubeconform -strict
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
cache: pip
cache-dependency-path: ./backend/pyproject.toml
python-version: "3.11"
- name: Install pre-commit
run: |-
python -m pip install pre-commit
- name: Install pylint
run: |-
python -m pip install pylint
- name: Run pre-commit
run: |-
pre-commit run --all-files