File tree 9 files changed +82
-9
lines changed
cluster-api-provider-kairos
9 files changed +82
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint and Test Charts
2
+
3
+ on : pull_request
4
+
5
+ jobs :
6
+ lint-test :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@v2
11
+ with :
12
+ fetch-depth : 0
13
+
14
+ - name : Set up Helm
15
+ uses : azure/setup-helm@v3
16
+ with :
17
+ version : v3.10.0
18
+
19
+ - uses : actions/setup-python@v4
20
+ with :
21
+ python-version : ' 3.9'
22
+ check-latest : true
23
+
24
+ - name : Set up chart-testing
25
+
26
+
27
+ - name : Run chart-testing (list-changed)
28
+ id : list-changed
29
+ run : |
30
+ changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
31
+ if [[ -n "$changed" ]]; then
32
+ echo "::set-output name=changed::true"
33
+ fi
34
+ - name : Run chart-testing (lint)
35
+ run : ct lint --lint-conf=lintconf.yaml --validate-maintainers=false --target-branch ${{ github.event.repository.default_branch }}
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ maintainers:
9
9
10
10
11
11
version : 0.0.1
12
- appVersion : " v0.0.1"
12
+ appVersion : " v0.0.1"
Original file line number Diff line number Diff line change 1
-
2
1
# Settings for the chart.
3
2
4
3
# nameOverride Replaces the release name of the chart in Chart.yaml file when
@@ -42,4 +41,4 @@ resources:
42
41
memory : 50Mi
43
42
requests :
44
43
cpu : 250m
45
- memory : 50Mi
44
+ memory : 50Mi
Original file line number Diff line number Diff line change 1
-
2
1
# Settings for entangle.
3
2
4
3
# nameOverride Replaces the release name of the chart in Chart.yaml file when
@@ -47,4 +46,4 @@ resources:
47
46
memory : 50Mi
48
47
requests :
49
48
cpu : 250m
50
- memory : 50Mi
49
+ memory : 50Mi
Original file line number Diff line number Diff line change 1
-
2
1
# Settings for entangle.
3
2
4
3
# nameOverride Replaces the release name of the chart in Chart.yaml file when
Original file line number Diff line number Diff line change 1
-
2
1
# Settings for the chart.
3
2
4
3
# nameOverride Replaces the release name of the chart in Chart.yaml file when
@@ -58,4 +57,4 @@ resources:
58
57
memory : 50Mi
59
58
requests :
60
59
cpu : 250m
61
- memory : 50Mi
60
+ memory : 50Mi
Original file line number Diff line number Diff line change 1
-
2
1
# Settings for the chart.
3
2
4
3
# nameOverride Replaces the release name of the chart in Chart.yaml file when
Original file line number Diff line number Diff line change
1
+ validate-maintainers : false
Original file line number Diff line number Diff line change
1
+ ---
2
+ rules :
3
+ braces :
4
+ min-spaces-inside : 0
5
+ max-spaces-inside : 0
6
+ min-spaces-inside-empty : -1
7
+ max-spaces-inside-empty : -1
8
+ brackets :
9
+ min-spaces-inside : 0
10
+ max-spaces-inside : 0
11
+ min-spaces-inside-empty : -1
12
+ max-spaces-inside-empty : -1
13
+ colons :
14
+ max-spaces-before : 0
15
+ max-spaces-after : 1
16
+ commas :
17
+ max-spaces-before : 0
18
+ min-spaces-after : 1
19
+ max-spaces-after : 1
20
+ comments :
21
+ require-starting-space : true
22
+ min-spaces-from-content : 2
23
+ document-end : disable
24
+ document-start : disable # No --- to start a file
25
+ empty-lines :
26
+ max : 2
27
+ max-start : 0
28
+ max-end : 0
29
+ hyphens :
30
+ max-spaces-after : 1
31
+ indentation :
32
+ spaces : consistent
33
+ indent-sequences : whatever # - list indentation will handle both indentation and without
34
+ check-multi-line-strings : false
35
+ key-duplicates : enable
36
+ line-length : disable # Lines can be any length
37
+ new-line-at-end-of-file : enable
38
+ new-lines :
39
+ type : unix
40
+ trailing-spaces : disable
41
+ truthy :
42
+ level : warning
You can’t perform that action at this time.
0 commit comments