File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 10
10
- name : Set up Go 1.x
11
11
uses : actions/setup-go@v2
12
12
with :
13
- go-version : ^1.13
13
+ go-version : ^1.15
14
14
id : go
15
15
- name : Check out code into the Go module directory
16
16
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 12
12
- name : Set up Go 1.x
13
13
uses : actions/setup-go@v2
14
14
with :
15
- go-version : ^1.13
15
+ go-version : ^1.15
16
16
id : go
17
17
18
18
- name : Check out code into the Go module directory
Original file line number Diff line number Diff line change 6
6
build :
7
7
strategy :
8
8
matrix :
9
- go-versions : [1.13 .x]
9
+ go-versions : [1.15 .x]
10
10
platform : [windows-latest]
11
11
runs-on : ${{ matrix.platform }}
12
12
steps :
Original file line number Diff line number Diff line change @@ -78,3 +78,23 @@ validate_image "${expected_node_driver_registrar}" "${node_driver_registrar}"
78
78
validate_image " ${expected_blob_image} " " ${blob_image} "
79
79
80
80
echo " Images in deploy/ matches those in the latest helm chart."
81
+
82
+ # verify whether latest chart config has changed
83
+ for dir in charts/*
84
+ do
85
+ if [ -d $dir ]; then
86
+ if [ -f $dir /* .tgz ]; then
87
+ tar -xvf $dir /* .tgz -C $dir /
88
+ fi
89
+ fi
90
+ done
91
+
92
+ diff=` git diff`
93
+ if [[ -n " ${diff} " ]]; then
94
+ echo " ${diff} "
95
+ echo
96
+ echo " latest chart config has changed, pls run \" helm package charts/latest/blob-csi-driver -d charts/latest/\" to update tgz file"
97
+ exit 1
98
+ fi
99
+
100
+ echo " latest chart tgz file verified."
You can’t perform that action at this time.
0 commit comments