fix tests

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2025-02-03 19:12:31 +08:00 committed by yxxhero
parent b01af88aa6
commit 44d79a9f14
6 changed files with 0 additions and 438 deletions

View File

@ -1,34 +1,5 @@
processing file "helmfile.yaml" in directory "." processing file "helmfile.yaml" in directory "."
changing working directory to "/path/to" changing working directory to "/path/to"
first-pass rendering starting for "helmfile.yaml.part.0": inherited=&{default map[] map[]}, overrode=<nil>
first-pass uses: &{default map[] map[]}
first-pass rendering output of "helmfile.yaml.part.0":
0:
1: releases:
2: - name: a
3: chart: incubator/raw
4: namespace: default
5: - name: b
6: chart: incubator/raw
7: namespace: default
8:
first-pass produced: &{default map[] map[]}
first-pass rendering result of "helmfile.yaml.part.0": {default map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile.yaml.part.0":
0:
1: releases:
2: - name: a
3: chart: incubator/raw
4: namespace: default
5: - name: b
6: chart: incubator/raw
7: namespace: default
8:
merged environment: &{default map[] map[]} merged environment: &{default map[] map[]}
1 release(s) matching name=a found in helmfile.yaml 1 release(s) matching name=a found in helmfile.yaml

View File

@ -1,36 +1,5 @@
processing file "helmfile.yaml" in directory "." processing file "helmfile.yaml" in directory "."
changing working directory to "/path/to" changing working directory to "/path/to"
first-pass rendering starting for "helmfile.yaml.part.0": inherited=&{default map[] map[]}, overrode=<nil>
first-pass uses: &{default map[] map[]}
first-pass rendering output of "helmfile.yaml.part.0":
0:
1: releases:
2: - name: a
3: chart: incubator/raw
4: installed: false
5: namespace: default
6: - name: b
7: chart: incubator/raw
8: namespace: default
9:
first-pass produced: &{default map[] map[]}
first-pass rendering result of "helmfile.yaml.part.0": {default map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile.yaml.part.0":
0:
1: releases:
2: - name: a
3: chart: incubator/raw
4: installed: false
5: namespace: default
6: - name: b
7: chart: incubator/raw
8: namespace: default
9:
merged environment: &{default map[] map[]} merged environment: &{default map[] map[]}
1 release(s) matching name=a found in helmfile.yaml 1 release(s) matching name=a found in helmfile.yaml

View File

@ -1,74 +1,13 @@
found 3 helmfile state files in helmfile.d: /path/to/helmfile.d/helmfile_1.yaml, /path/to/helmfile.d/helmfile_2.yaml, /path/to/helmfile.d/helmfile_3.yaml found 3 helmfile state files in helmfile.d: /path/to/helmfile.d/helmfile_1.yaml, /path/to/helmfile.d/helmfile_2.yaml, /path/to/helmfile.d/helmfile_3.yaml
processing file "helmfile_1.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_1.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_1.yaml.part.0": inherited=&{staging map[] map[]}, overrode=<nil>
first-pass uses: &{staging map[] map[]}
first-pass rendering output of "helmfile_1.yaml.part.0":
0:
1: environments:
2: development: {}
3: shared: {}
first-pass produced: &{staging map[] map[]}
first-pass rendering result of "helmfile_1.yaml.part.0": {staging map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_1.yaml.part.0":
0:
1: environments:
2: development: {}
3: shared: {}
merged environment: &{staging map[] map[]} merged environment: &{staging map[] map[]}
changing working directory back to "/path/to" changing working directory back to "/path/to"
processing file "helmfile_2.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_2.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_2.yaml.part.0": inherited=&{staging map[] map[]}, overrode=<nil>
first-pass uses: &{staging map[] map[]}
first-pass rendering output of "helmfile_2.yaml.part.0":
0:
1: environments:
2: test: {}
3: shared: {}
first-pass produced: &{staging map[] map[]}
first-pass rendering result of "helmfile_2.yaml.part.0": {staging map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_2.yaml.part.0":
0:
1: environments:
2: test: {}
3: shared: {}
merged environment: &{staging map[] map[]} merged environment: &{staging map[] map[]}
changing working directory back to "/path/to" changing working directory back to "/path/to"
processing file "helmfile_3.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_3.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_3.yaml.part.0": inherited=&{staging map[] map[]}, overrode=<nil>
first-pass uses: &{staging map[] map[]}
first-pass rendering output of "helmfile_3.yaml.part.0":
0:
1: releases:
2: - name: global
3: chart: incubator/raw
4: namespace: kube-system
5:
first-pass produced: &{staging map[] map[]}
first-pass rendering result of "helmfile_3.yaml.part.0": {staging map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_3.yaml.part.0":
0:
1: releases:
2: - name: global
3: chart: incubator/raw
4: namespace: kube-system
5:
merged environment: &{staging map[] map[]} merged environment: &{staging map[] map[]}
changing working directory back to "/path/to" changing working directory back to "/path/to"

View File

@ -1,120 +1,14 @@
found 3 helmfile state files in helmfile.d: /path/to/helmfile.d/helmfile_1.yaml, /path/to/helmfile.d/helmfile_2.yaml, /path/to/helmfile.d/helmfile_3.yaml found 3 helmfile state files in helmfile.d: /path/to/helmfile.d/helmfile_1.yaml, /path/to/helmfile.d/helmfile_2.yaml, /path/to/helmfile.d/helmfile_3.yaml
processing file "helmfile_1.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_1.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_1.yaml.part.0": inherited=&{test map[] map[]}, overrode=<nil>
first-pass uses: &{test map[] map[]}
first-pass rendering output of "helmfile_1.yaml.part.0":
0:
1: environments:
2: development: {}
3: shared: {}
first-pass produced: &{test map[] map[]}
first-pass rendering result of "helmfile_1.yaml.part.0": {test map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_1.yaml.part.0":
0:
1: environments:
2: development: {}
3: shared: {}
merged environment: &{test map[] map[]} merged environment: &{test map[] map[]}
changing working directory back to "/path/to" changing working directory back to "/path/to"
processing file "helmfile_2.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_2.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_2.yaml.part.0": inherited=&{test map[] map[]}, overrode=<nil>
first-pass uses: &{test map[] map[]}
first-pass rendering output of "helmfile_2.yaml.part.0":
0:
1: environments:
2: test: {}
3: shared: {}
first-pass produced: &{test map[] map[]}
first-pass rendering result of "helmfile_2.yaml.part.0": {test map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_2.yaml.part.0":
0:
1: environments:
2: test: {}
3: shared: {}
merged environment: &{test map[] map[]} merged environment: &{test map[] map[]}
first-pass rendering starting for "helmfile_2.yaml.part.1": inherited=&{test map[] map[]}, overrode=<nil>
first-pass uses: &{test map[] map[]}
first-pass rendering output of "helmfile_2.yaml.part.1":
0: repositories:
1: - name: bitnami
2: url: https://charts.bitnami.com/bitnami
3:
4: releases:
5: - name: cache
6: namespace: my-app
7: chart: bitnami/redis
8: version: 17.0.7
9: labels:
10: app: test
11:
12: - name: database
13: namespace: my-app
14: chart: bitnami/postgres
15: version: 11.6.22
16:
first-pass produced: &{test map[] map[]}
first-pass rendering result of "helmfile_2.yaml.part.1": {test map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_2.yaml.part.1":
0: repositories:
1: - name: bitnami
2: url: https://charts.bitnami.com/bitnami
3:
4: releases:
5: - name: cache
6: namespace: my-app
7: chart: bitnami/redis
8: version: 17.0.7
9: labels:
10: app: test
11:
12: - name: database
13: namespace: my-app
14: chart: bitnami/postgres
15: version: 11.6.22
16:
merged environment: &{test map[] map[]} merged environment: &{test map[] map[]}
changing working directory back to "/path/to" changing working directory back to "/path/to"
processing file "helmfile_3.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_3.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_3.yaml.part.0": inherited=&{test map[] map[]}, overrode=<nil>
first-pass uses: &{test map[] map[]}
first-pass rendering output of "helmfile_3.yaml.part.0":
0:
1: releases:
2: - name: global
3: chart: incubator/raw
4: namespace: kube-system
5:
first-pass produced: &{test map[] map[]}
first-pass rendering result of "helmfile_3.yaml.part.0": {test map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_3.yaml.part.0":
0:
1: releases:
2: - name: global
3: chart: incubator/raw
4: namespace: kube-system
5:
merged environment: &{test map[] map[]} merged environment: &{test map[] map[]}
changing working directory back to "/path/to" changing working directory back to "/path/to"

View File

@ -1,175 +1,15 @@
found 3 helmfile state files in helmfile.d: /path/to/helmfile.d/helmfile_1.yaml, /path/to/helmfile.d/helmfile_2.yaml, /path/to/helmfile.d/helmfile_3.yaml found 3 helmfile state files in helmfile.d: /path/to/helmfile.d/helmfile_1.yaml, /path/to/helmfile.d/helmfile_2.yaml, /path/to/helmfile.d/helmfile_3.yaml
processing file "helmfile_1.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_1.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_1.yaml.part.0": inherited=&{development map[] map[]}, overrode=<nil>
first-pass uses: &{development map[] map[]}
first-pass rendering output of "helmfile_1.yaml.part.0":
0:
1: environments:
2: development: {}
3: shared: {}
first-pass produced: &{development map[] map[]}
first-pass rendering result of "helmfile_1.yaml.part.0": {development map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_1.yaml.part.0":
0:
1: environments:
2: development: {}
3: shared: {}
merged environment: &{development map[] map[]} merged environment: &{development map[] map[]}
first-pass rendering starting for "helmfile_1.yaml.part.1": inherited=&{development map[] map[]}, overrode=<nil>
first-pass uses: &{development map[] map[]}
first-pass rendering output of "helmfile_1.yaml.part.1":
0: releases:
1: - name: logging
2: chart: incubator/raw
3: namespace: kube-system
4:
5: - name: kubernetes-external-secrets
6: chart: incubator/raw
7: namespace: kube-system
8: needs:
9: - kube-system/logging
10:
11: - name: external-secrets
12: chart: incubator/raw
13: namespace: default
14: labels:
15: app: test
16: needs:
17: - kube-system/kubernetes-external-secrets
18:
19: - name: my-release
20: chart: incubator/raw
21: namespace: default
22: labels:
23: app: test
24: needs:
25: - default/external-secrets
26:
27:
28: # Disabled releases are treated as missing
29: - name: disabled
30: chart: incubator/raw
31: namespace: kube-system
32: installed: false
33:
34: - name: test2
35: chart: incubator/raw
36: needs:
37: - kube-system/disabled
38:
39: - name: test3
40: chart: incubator/raw
41: needs:
42: - test2
43:
first-pass produced: &{development map[] map[]}
first-pass rendering result of "helmfile_1.yaml.part.1": {development map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_1.yaml.part.1":
0: releases:
1: - name: logging
2: chart: incubator/raw
3: namespace: kube-system
4:
5: - name: kubernetes-external-secrets
6: chart: incubator/raw
7: namespace: kube-system
8: needs:
9: - kube-system/logging
10:
11: - name: external-secrets
12: chart: incubator/raw
13: namespace: default
14: labels:
15: app: test
16: needs:
17: - kube-system/kubernetes-external-secrets
18:
19: - name: my-release
20: chart: incubator/raw
21: namespace: default
22: labels:
23: app: test
24: needs:
25: - default/external-secrets
26:
27:
28: # Disabled releases are treated as missing
29: - name: disabled
30: chart: incubator/raw
31: namespace: kube-system
32: installed: false
33:
34: - name: test2
35: chart: incubator/raw
36: needs:
37: - kube-system/disabled
38:
39: - name: test3
40: chart: incubator/raw
41: needs:
42: - test2
43:
merged environment: &{development map[] map[]} merged environment: &{development map[] map[]}
WARNING: release test2 needs disabled, but disabled is not installed due to installed: false. Either mark disabled as installed or remove disabled from test2's needs WARNING: release test2 needs disabled, but disabled is not installed due to installed: false. Either mark disabled as installed or remove disabled from test2's needs
changing working directory back to "/path/to" changing working directory back to "/path/to"
processing file "helmfile_2.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_2.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_2.yaml.part.0": inherited=&{development map[] map[]}, overrode=<nil>
first-pass uses: &{development map[] map[]}
first-pass rendering output of "helmfile_2.yaml.part.0":
0:
1: environments:
2: test: {}
3: shared: {}
first-pass produced: &{development map[] map[]}
first-pass rendering result of "helmfile_2.yaml.part.0": {development map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_2.yaml.part.0":
0:
1: environments:
2: test: {}
3: shared: {}
merged environment: &{development map[] map[]} merged environment: &{development map[] map[]}
changing working directory back to "/path/to" changing working directory back to "/path/to"
processing file "helmfile_3.yaml" in directory "/path/to/helmfile.d" processing file "helmfile_3.yaml" in directory "/path/to/helmfile.d"
changing working directory to "/path/to/helmfile.d" changing working directory to "/path/to/helmfile.d"
first-pass rendering starting for "helmfile_3.yaml.part.0": inherited=&{development map[] map[]}, overrode=<nil>
first-pass uses: &{development map[] map[]}
first-pass rendering output of "helmfile_3.yaml.part.0":
0:
1: releases:
2: - name: global
3: chart: incubator/raw
4: namespace: kube-system
5:
first-pass produced: &{development map[] map[]}
first-pass rendering result of "helmfile_3.yaml.part.0": {development map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile_3.yaml.part.0":
0:
1: releases:
2: - name: global
3: chart: incubator/raw
4: namespace: kube-system
5:
merged environment: &{development map[] map[]} merged environment: &{development map[] map[]}
changing working directory back to "/path/to" changing working directory back to "/path/to"

View File

@ -1,56 +1,5 @@
processing file "helmfile.yaml" in directory "." processing file "helmfile.yaml" in directory "."
changing working directory to "/path/to" changing working directory to "/path/to"
first-pass rendering starting for "helmfile.yaml.part.0": inherited=&{default map[] map[]}, overrode=<nil>
first-pass uses: &{default map[] map[]}
first-pass rendering output of "helmfile.yaml.part.0":
0:
1: releases:
2: - name: foo
3: chart: incubator/raw
4: namespace: default
5: labels:
6: app: test
7:
8: - name: bar
9: chart: incubator/raw
10: namespace: default
11: labels:
12: app: build
13:
14: - name: bar
15: chart: incubator/raw
16: namespace: default
17: labels:
18: app: test
19:
first-pass produced: &{default map[] map[]}
first-pass rendering result of "helmfile.yaml.part.0": {default map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile.yaml.part.0":
0:
1: releases:
2: - name: foo
3: chart: incubator/raw
4: namespace: default
5: labels:
6: app: test
7:
8: - name: bar
9: chart: incubator/raw
10: namespace: default
11: labels:
12: app: build
13:
14: - name: bar
15: chart: incubator/raw
16: namespace: default
17: labels:
18: app: test
19:
merged environment: &{default map[] map[]} merged environment: &{default map[] map[]}
1 release(s) matching name=foo found in helmfile.yaml 1 release(s) matching name=foo found in helmfile.yaml