Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
6f3d456
chart tests
jessegoodier Aug 26, 2025
868d8b4
add tests
jessegoodier Aug 26, 2025
8801327
Potential fix for code scanning alert no. 1: Workflow does not contai…
jessegoodier Aug 26, 2025
d850603
remove markdown
jessegoodier Aug 26, 2025
17e38f1
remove yamllint
jessegoodier Aug 26, 2025
1a56b2a
v1
jessegoodier Aug 26, 2025
a502337
change versions
jessegoodier Aug 26, 2025
329d755
formatting
jessegoodier Aug 26, 2025
143e69d
rename
jessegoodier Aug 26, 2025
a7b5685
2.7
jessegoodier Aug 26, 2025
17e48db
2.7.1
jessegoodier Aug 26, 2025
d778578
2.7.0
jessegoodier Aug 26, 2025
5dece71
formatting (testing)
jessegoodier Aug 26, 2025
a751862
formatting
jessegoodier Aug 26, 2025
375bf5a
remove unsupported image.debug
jessegoodier Aug 26, 2025
a164b6b
kind test cluster
jessegoodier Aug 26, 2025
69fdc37
unused file
jessegoodier Aug 26, 2025
d13a8b1
add extraObjects
jessegoodier Aug 26, 2025
3f92d4f
fix env var
jessegoodier Aug 26, 2025
76bdd67
formatting
jessegoodier Aug 26, 2025
54abdb6
fix path
jessegoodier Aug 26, 2025
27b0cda
cancel-in-progress
jessegoodier Aug 26, 2025
6da354c
rename job
jessegoodier Aug 26, 2025
640c7a8
fix path
jessegoodier Aug 26, 2025
0c038d8
Merge branch 'main' into add-tests
jessegoodier Aug 26, 2025
1ecf376
Merge branch 'main' into add-tests
jessegoodier Oct 29, 2025
bb6fb86
formatting
jessegoodier Oct 29, 2025
084b817
ct config for helm validation
jessegoodier Oct 29, 2025
e70bf7a
helm validation workflow
jessegoodier Oct 29, 2025
d6c7a1d
pin python to 3.13
jessegoodier Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/linters/markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# Default state for all rules
default: true

# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 120
# Allow long code blocks
code_blocks: false
# Allow long tables
tables: false

# MD024/no-duplicate-heading - Multiple headings with the same content
MD024:
# Allow different nesting levels to use same heading text
allow_different_nesting: true

# MD033/no-inline-html - Inline HTML
MD033:
# Allow specific HTML elements
allowed_elements:
- br
- img

# MD041/first-line-heading - First line in a file should be a top-level heading
MD041:
# Exclude files that are likely to be included in other files
exclude:
- _*.md

# Made with Bob
39 changes: 39 additions & 0 deletions .github/linters/yamllint-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
extends: default

rules:
# 80 chars should be enough, but don't fail if a line is longer
line-length:
max: 120
level: warning

# Accept both Unix-style and Windows-style line endings
new-line-at-end-of-file: enable

# Enforce document start with ---
document-start:
present: true

# Spaces, not tabs
indentation:
spaces: 2
indent-sequences: consistent

# No trailing spaces
trailing-spaces: enable

# Ensure consistent empty lines
empty-lines:
max: 2
max-start: 0
max-end: 0

# Enforce key ordering
key-ordering: disable

# Quotes are not required for all strings in YAML
quoted-strings:
quote-type: any
required: only-when-needed

# Made with Bob
95 changes: 95 additions & 0 deletions .github/workflows/pr-validation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
name: PR Validation

on:
pull_request

jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v4.3.1
with:
version: "" # latest version

- uses: actions/setup-python@v5
with:
python-version: '3.x'
check-latest: true

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.7.0

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi

- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}

- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@v1.12.0

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}

markdown-lint:
Comment thread Fixed
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Lint Markdown files
uses: DavidAnson/markdownlint-cli2-action@v13
with:
globs: '**/*.md'
config: '.github/linters/markdownlint.yaml'

whitespace-check:
Comment thread Fixed
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install yamllint
run: pip install yamllint

- name: Check YAML files with yamllint
run: |
yamllint -d "{extends: default, rules: {trailing-spaces: {}, document-end: {present: true}}}" charts/

- name: Check for trailing whitespace in MD and TPL files
run: |
if grep -r --include="*.md" --include="*.tpl" "[[:blank:]]$" charts/; then
echo "Error: Found trailing whitespace in .md or .tpl files"
exit 1
fi

- name: Check for missing newlines in MD and TPL files
run: |
exit_code=0
for file in $(find charts/ -type f -name "*.md" -o -name "*.tpl"); do
if [ -s "$file" ] && [ "$(tail -c 1 "$file" | wc -l)" -eq 0 ]; then
echo "Error: $file does not end with a newline"
exit_code=1
fi
done
exit $exit_code
Comment thread Fixed
Loading