Skip to content

Commit aca81f0

Browse files
authored
Merge pull request #4 from dminnear-rh/update-super-linter
update super linter to v8
2 parents c468358 + ba977a4 commit aca81f0

File tree

9 files changed

+60
-75
lines changed

9 files changed

+60
-75
lines changed

.github/linters/.jscpd.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"ignore": [
3-
"templates/plumbing/applications.yaml",
4-
"templates/imperative/_helpers.tpl",
5-
"templates/core/subscriptions.yaml",
6-
"templates/core/namespaces.yaml",
7-
"templates/core/nodes.yaml",
8-
"templates/_helpers.tpl"
9-
]
2+
"ignore": [
3+
"templates/plumbing/applications.yaml",
4+
"templates/imperative/_helpers.tpl",
5+
"templates/core/subscriptions.yaml",
6+
"templates/core/namespaces.yaml",
7+
"templates/core/nodes.yaml",
8+
"templates/_helpers.tpl"
9+
]
1010
}

.github/workflows/helm-lint.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
22
name: Helm lint
33

4-
#
5-
# Documentation:
6-
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
7-
#
4+
on:
5+
push:
6+
branches: ["main"]
7+
tags: ["v*.*.*"]
8+
pull_request:
9+
branches: ["main"]
810

9-
permissions: read-all
10-
11-
on: [push, pull_request]
11+
permissions:
12+
contents: read
1213

1314
jobs:
1415
build:
@@ -18,11 +19,13 @@ jobs:
1819
steps:
1920
- name: Checkout Code
2021
uses: actions/checkout@v5
22+
with:
23+
persist-credentials: false
2124

2225
- name: Setup helm
23-
uses: azure/setup-helm@v4
26+
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
2427
with:
25-
version: 'v3.14.0'
28+
version: "v3.14.0"
2629

2730
- name: Run make helmlint
2831
run: |

.github/workflows/helm-unittest.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
---
22
name: Helm Unit Test
33

4-
#
5-
# Documentation:
6-
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
7-
#
4+
on:
5+
push:
6+
branches: ["main"]
7+
tags: ["v*.*.*"]
8+
pull_request:
9+
branches: ["main"]
810

9-
permissions: read-all
10-
11-
on: [push, pull_request]
11+
permissions:
12+
contents: read
1213

1314
jobs:
1415
build:
1516
name: Run helm lint over the chart
16-
# It has to be 24.04 because -latest has a podman version that is too old
17-
runs-on: ubuntu-24.04
17+
runs-on: ubuntu-latest
1818

1919
steps:
2020
- name: Checkout Code
2121
uses: actions/checkout@v5
22+
with:
23+
persist-credentials: false
2224

2325
- name: Run make helmlint
2426
run: |

.github/workflows/superlinter.yml

Lines changed: 11 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,16 @@
11
---
22
name: Super linter
33

4-
on: [push, pull_request]
5-
permissions: read-all
4+
on:
5+
pull_request:
6+
branches: [main]
67

7-
jobs:
8-
build:
9-
# Name the Job
10-
name: Super linter
11-
# Set the agent to run on
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- name: Checkout Code
16-
uses: actions/checkout@v5
17-
with:
18-
# Full git history is needed to get a proper list of changed files within `super-linter`
19-
fetch-depth: 0
8+
permissions:
9+
contents: read
2010

21-
################################
22-
# Run Linter against code base #
23-
################################
24-
- name: Lint Code Base
25-
uses: super-linter/super-linter/slim@v7
26-
env:
27-
VALIDATE_ALL_CODEBASE: true
28-
DEFAULT_BRANCH: main
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
# These are the validation we disable atm
31-
# Temporarily
32-
VALIDATE_CHECKOV: false
33-
VALIDATE_JSON_PRETTIER: false
34-
VALIDATE_KUBERNETES_KUBECONFORM: false
35-
VALIDATE_MARKDOWN: false
36-
VALIDATE_MARKDOWN_PRETTIER: false
37-
VALIDATE_YAML: false
38-
VALIDATE_YAML_PRETTIER: false
11+
jobs:
12+
lint:
13+
uses: validatedpatterns/github-actions-library/.github/workflows/superlinter.yml@v1
14+
with:
15+
sl_env: |
16+
VALIDATE_BIOME_FORMAT=false

.github/workflows/update-helm-repo.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,25 @@
1212
#
1313

1414
name: vp-patterns/update-helm-repo
15+
1516
on:
1617
push:
1718
tags:
18-
- 'v[0-9]+.[0-9]+.[0-9]+'
19+
- "v[0-9]+.[0-9]+.[0-9]+"
20+
21+
permissions:
22+
contents: read
1923

2024
jobs:
2125
helmlint:
22-
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@workflow-stable
26+
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@69fd10ef9199eecd093fca715ae9765c78750efc # October 6, 2025
2327
permissions:
2428
contents: read
2529

2630
update-helm-repo:
2731
needs: [helmlint]
28-
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@workflow-stable
29-
permissions: read-all
30-
secrets: inherit
32+
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@69fd10ef9199eecd093fca715ae9765c78750efc # October 6, 2025
33+
permissions:
34+
contents: read
35+
secrets:
36+
CHARTS_REPOS_TOKEN: ${{ secrets.CHARTS_REPOS_TOKEN }}

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
description: A Helm chart to serve as the Validated Patterns Template
33
keywords:
4-
- pattern
4+
- pattern
55
name: vp-template
66
version: 0.0.1

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@ test: helm-lint helm-unittest ## Runs helm lint and unit tests
3737
super-linter: ## Runs super linter locally
3838
rm -rf .mypy_cache
3939
podman run -e RUN_LOCAL=true -e USE_FIND_ALGORITHM=true \
40-
-e VALIDATE_JSON_PRETTIER=false \
41-
-e VALIDATE_KUBERNETES_KUBECONFORM=false \
42-
-e VALIDATE_MARKDOWN=false \
43-
-e VALIDATE_MARKDOWN_PRETTIER=false \
44-
-e VALIDATE_YAML_PRETTIER=false \
45-
-e VALIDATE_YAML=false \
40+
-e VALIDATE_BIOME_FORMAT=false \
4641
-v $(PWD):/tmp/lint:rw,z \
4742
-w /tmp/lint \
48-
ghcr.io/super-linter/super-linter:slim-v7
43+
ghcr.io/super-linter/super-linter:slim-v8

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ A Helm chart to serve as the Validated Patterns Template
66

77
This chart is used to serve as the template for Validated Patterns Charts
88

9-
### Notable changes
9+
## Notable changes
10+
11+
---
1012

11-
----------------------------------------------
1213
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

README.md.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
This chart is used to serve as the template for Validated Patterns Charts
99

10-
### Notable changes
10+
## Notable changes
1111

1212
{{ template "chart.homepageLine" . }}
1313

0 commit comments

Comments
 (0)