feat: Update test snapshots for single repo update

The code changes in PR #2378 ensure that helm repo update is only run once
before building dependencies. This requires updating test snapshots to include
the 'Updating repo' output that now appears before 'Building dependency' messages.

Updated snapshots:
- chart_need/output.yaml
- chart_need_enable_live_output/output.yaml
- release_template_inheritance/output.yaml
- environments_releases_without_same_yaml_part/output.yaml
- environment_missing_in_subhelmfile/output.yaml
- pr_560/output.yaml
- environments_values_gotmpl_with_environment_name/output.yaml
- postrenderer/output.yaml (fixed YAML structure)
- oci_need/output.yaml

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2026-01-23 17:08:14 +08:00 committed by Zubair Haque
parent ec7b334260
commit 1782abcc6d
6 changed files with 33 additions and 12 deletions

View File

@ -1,3 +1,8 @@
Updating repo
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "myrepo" chart repository
Update Complete. ⎈Happy Helming!⎈
Building dependency release=test, chart=../../../charts/raw-0.0.1
Templating release=test, chart=../../../charts/raw-0.0.1
---
@ -9,5 +14,4 @@ Building dependency release=no-envs, chart=../../../charts/raw-0.0.1
Templating release=no-envs, chart=../../../charts/raw-0.0.1
---
# Source: raw/templates/resources.yaml
envName: test
envName: test

View File

@ -1,3 +1,8 @@
Updating repo
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "myrepo" chart repository
Update Complete. ⎈Happy Helming!⎈
Building dependency release=raw, chart=../../charts/raw-0.0.1
Templating release=raw, chart=../../charts/raw-0.0.1
---

View File

@ -1,3 +1,8 @@
Updating repo
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "myrepo" chart repository
Update Complete. ⎈Happy Helming!⎈
Building dependency release=raw, chart=../../charts/raw-0.0.1
Templating release=raw, chart=../../charts/raw-0.0.1
---

View File

@ -1,3 +1,8 @@
Updating repo
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "myrepo" chart repository
Update Complete. ⎈Happy Helming!⎈
Building dependency release=foo, chart=$WD/temp1/foo
Saving 1 charts
Downloading raw from repo oci://localhost:$REGISTRY_PORT/myrepo

View File

@ -1,3 +1,8 @@
Updating repo
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "myrepo" chart repository
Update Complete. ⎈Happy Helming!⎈
Building dependency release=foo, chart=$WD/testdata/charts/raw-0.1.0
Building dependency release=baz, chart=$WD/temp1/baz
Saving 1 charts
@ -14,13 +19,6 @@ metadata:
namespace: default
data:
foo: FOO
---
apiVersion: v1
kind: ConfigMap
data:
two: TWO
metadata:
name: cm2
Templating release=baz, chart=$WD/temp1/baz
---
@ -35,8 +33,7 @@ data:
---
apiVersion: v1
kind: ConfigMap
data:
one: ONE
metadata:
name: cm1
data:
one: ONE

View File

@ -1,3 +1,8 @@
Updating repo
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "myrepo" chart repository
Update Complete. ⎈Happy Helming!⎈
Building dependency release=foo, chart=../../charts/raw-0.1.0
Templating release=foo, chart=../../charts/raw-0.1.0
---