File tree 3 files changed +26
-3
lines changed
3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change
1
+ # In this repository there are two folder with charts that need to be released. One can think that it would be easier to simply at to this file
2
+ # a chart-dirs clause pointing to both of the folders at the same time:
3
+
4
+ # ```yaml
5
+ # chart-dirs:
6
+ # - library
7
+ # - charts
8
+ # ```
9
+
10
+ # In that case `ct install` is going to try to install the library chart and is going to fail. That is the reason there are two `ct.yaml` files, one
11
+ # for the step that lint that includes all the folders at the same time and other of the installation step that test installability
12
+
13
+ chart-dirs :
14
+ # - library # I leave this commented for clarity's sake
15
+ - charts
16
+
17
+ chart-repos :
18
+ - kube-state-metrics=https://kubernetes.github.io/kube-state-metrics
19
+ - pixie-operator=https://pixie-operator-charts.storage.googleapis.com
Original file line number Diff line number Diff line change 13
13
chart-dirs :
14
14
- library
15
15
- charts
16
+
17
+ chart-repos :
18
+ - kube-state-metrics=https://kubernetes.github.io/kube-state-metrics
19
+ - pixie-operator=https://pixie-operator-charts.storage.googleapis.com
Original file line number Diff line number Diff line change 50
50
- name : Check for changed installable charts
51
51
id : list-changed
52
52
run : |
53
- changed=$(ct list-changed)
53
+ changed=$(ct list-changed --config .github/ct-install.yaml )
54
54
if [[ -n "$changed" ]]; then
55
55
echo "::set-output name=changed::true"
56
56
fi
63
63
run : kubectl create ns ct
64
64
65
65
- name : Test install charts
66
- run : ct install --namespace ct
66
+ run : ct install --namespace ct --config .github/ct-install.yaml
67
67
- name : Test upgrade charts
68
- run : ct install --namespace ct --upgrade
68
+ run : ct install --namespace ct --config .github/ct-install.yaml -- upgrade
You can’t perform that action at this time.
0 commit comments