-
Notifications
You must be signed in to change notification settings - Fork 18
61 lines (56 loc) · 1.79 KB
/
helm-test.yaml
File metadata and controls
61 lines (56 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: helm-test
permissions: {}
on:
pull_request:
branches:
- main
- release*
paths:
- charts/**
- .github/workflows/helm-test.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
helm-test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup build env
uses: ./.github/actions/setup-build-env
timeout-minutes: 10
- name: Setup python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: 3.13.1
- name: Set-up chat testing
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0
- name: Add Helm repos and build dependencies
run: |
helm repo add openreports https://openreports.github.io/reports-api
helm repo update
- name: Run chart-testing (lint)
run: |
if [[ $(ct list-changed --target-branch=main) ]];
then
ct lint --target-branch=main --check-version-increment=false --validate-maintainers=false
fi
- name: Setup test env
uses: ./.github/actions/setup-test-env
- name: Helm test
run: make helm-test
- name: Debug failure
if: failure()
uses: ./.github/actions/kyverno-notation-aws-logs
linter-artifacthub:
runs-on: ubuntu-latest
container:
image: artifacthub/ah
options: --user root
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run ah lint
working-directory: ./charts
run: ah lint