New ๐ŸŒŠ wave for @helm

Commit 4e55f9eb

4e55f9eb46a0Merged

Dmitriy Zhilyaev <[email protected]> ยท 5 years ago ยท 3 files ยท ~3 modified

Description

Merge pull request #157 from r-mironov/release-0.13.0

fix tests

Details

Commit
4e55f9eb46a0
Parent
d468e4e7ad79
Merge parent
44599314295f

pkg/action/build_test.gomodifiedView file

@@ -20,9 +20,14 @@
2020 func TestBuildManifest(t *testing.T) {
2121 defer clean()
2222
23+ y := &Yml{
24+ tests.Root + "01_helmwave.yml.tpl",
25+ tests.Root + "02_helmwave.yml",
26+ }
27+
2328 s := &Build{
2429 plandir: tests.Root + plan.Dir,
25- ymlFile: tests.Root + "02_helmwave.yml",
30+ yml: y,
2631 tags: cli.StringSlice{},
2732 matchAll: true,
2833 }
@@ -56,9 +61,14 @@
5661 func TestBuildRepositories(t *testing.T) {
5762 defer clean()
5863
64+ y := &Yml{
65+ tests.Root + "01_helmwave.yml.tpl",
66+ tests.Root + "02_helmwave.yml",
67+ }
68+
5969 s := &Build{
6070 plandir: tests.Root + plan.Dir,
61- ymlFile: tests.Root + "02_helmwave.yml",
71+ yml: y,
6272 tags: cli.StringSlice{},
6373 matchAll: true,
6474 }
@@ -79,9 +89,14 @@
7989 func TestBuildReleasesMatchGroup(t *testing.T) {
8090 defer clean()
8191
92+ y := &Yml{
93+ tests.Root + "01_helmwave.yml.tpl",
94+ tests.Root + "03_helmwave.yml",
95+ }
96+
8297 s := &Build{
8398 plandir: tests.Root + plan.Dir,
84- ymlFile: tests.Root + "03_helmwave.yml",
99+ yml: y,
85100 tags: *cli.NewStringSlice("b"),
86101 matchAll: true,
87102 }
@@ -101,9 +116,14 @@
101116 func TestBuildReleasesMatchGroups(t *testing.T) {
102117 defer clean()
103118
119+ y := &Yml{
120+ tests.Root + "01_helmwave.yml.tpl",
121+ tests.Root + "03_helmwave.yml",
122+ }
123+
104124 s := &Build{
105125 plandir: tests.Root + plan.Dir,
106- ymlFile: tests.Root + "03_helmwave.yml",
126+ yml: y,
107127 tags: *cli.NewStringSlice("b", "redis"),
108128 matchAll: true,
109129 }