mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 06:12:09 +02:00
Revert "cleanup: remove all about v0.x" (#1918)
Revert "cleanup: remove all about v0.x (#1903)"
This reverts commit d7bcd5e998.
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -223,7 +223,7 @@ func testHelmfileTemplateWithBuildCommand(t *testing.T, goccyGoYaml bool) {
|
||||
helmConfigHome := filepath.Join(tmpDir, "helm_config")
|
||||
t.Logf("Using HELM_CACHE_HOME=%s, HELMFILE_CACHE_HOME=%s, HELM_CONFIG_HOME=%s", helmCacheHome, helmfileCacheHome, helmConfigHome)
|
||||
|
||||
inputFile := filepath.Join(testdataDir, name, "input.yaml.gotmpl")
|
||||
inputFile := filepath.Join(testdataDir, name, "input.yaml")
|
||||
outputFile := filepath.Join(testdataDir, name, "output.yaml")
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
|
||||
|
||||
+4
-4
@@ -4,13 +4,13 @@ environments:
|
||||
- test.yaml.gotmpl
|
||||
---
|
||||
helmfiles:
|
||||
- path: helmfiles/test.yaml.gotmpl
|
||||
- path: helmfiles/test.yaml
|
||||
values:
|
||||
- envName: {{ .Values.envName }}
|
||||
- path: helmfiles/prod.yaml.gotmpl
|
||||
- path: helmfiles/prod.yaml
|
||||
values:
|
||||
- envName: {{ .Values.envName }}
|
||||
- path: helmfiles/no-envs.yaml.gotmpl
|
||||
- path: helmfiles/no-envs.yaml
|
||||
values:
|
||||
- envName: {{ .Values.envName }}
|
||||
- path: helmfiles/no-values.yaml.gotmpl
|
||||
- path: helmfiles/no-values.yaml
|
||||
test/e2e/template/helmfile/testdata/snapshot/environments_releases_within_same_yaml_part/config.yaml
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
chartifyTempDir: envs_releases_within_same_yaml_part
|
||||
helmfileArgs:
|
||||
- --environment
|
||||
- prod
|
||||
- template
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
environments:
|
||||
prod:
|
||||
staging:
|
||||
---
|
||||
|
||||
releases:
|
||||
- name: raw
|
||||
chart: ../../charts/raw-0.0.1
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
WARNING: environments and releases cannot be defined within the same YAML part. Use --- to extract the environments into a dedicated part
|
||||
Building dependency release=raw, chart=../../charts/raw-0.0.1
|
||||
Templating release=raw, chart=../../charts/raw-0.0.1
|
||||
---
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
chartifyTempDir: envs_releases_without_same_yaml_part
|
||||
helmfileArgs:
|
||||
- --environment
|
||||
- prod
|
||||
- template
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
---
|
||||
# Source: __workingdir__/testdata/snapshot/issue_2098_release_template_needs/input.yaml.gotmpl
|
||||
# Source: __workingdir__/testdata/snapshot/issue_2098_release_template_needs/input.yaml
|
||||
|
||||
filepath: input.yaml.gotmpl
|
||||
filepath: input.yaml
|
||||
helmBinary: helm
|
||||
kustomizeBinary: kustomize
|
||||
environments:
|
||||
|
||||
Reference in New Issue
Block a user