This is an automated email from the ASF dual-hosted git repository.
xuba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 2f8d9d07f [AMORO_3990] Add package chart instructions to README (#3991)
2f8d9d07f is described below
commit 2f8d9d07f4f2f1ae3234c663b387790fcaf841c0
Author: tcodehuber <[email protected]>
AuthorDate: Thu Dec 4 17:25:59 2025 +0800
[AMORO_3990] Add package chart instructions to README (#3991)
---
charts/amoro/Chart.yaml | 6 ++++++
charts/amoro/README.md | 25 +++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/charts/amoro/Chart.yaml b/charts/amoro/Chart.yaml
index 288e53ae0..e6a42c504 100644
--- a/charts/amoro/Chart.yaml
+++ b/charts/amoro/Chart.yaml
@@ -19,7 +19,13 @@ apiVersion: v2
name: amoro
description: A Helm chart for Amoro
type: application
+
+# Chart version (follows Semantic Versioning: https://semver.org/)
+# Increment when chart templates or configuration change
version: 0.1.0
+
+# Application version (the version of Amoro being deployed)
+# Should match the actual Amoro release version
appVersion: "0.9-SNAPSHOT"
home: https://amoro.apache.org/
icon: https://amoro.apache.org/img/amoro-logo-icon.png
diff --git a/charts/amoro/README.md b/charts/amoro/README.md
index 4c97024d9..e3ac17945 100644
--- a/charts/amoro/README.md
+++ b/charts/amoro/README.md
@@ -41,13 +41,35 @@ When you want to test the template rendering, but not
actually install anything.
There are two ways to render templates. It will return the rendered template
to you so you can see the output.
- Local rendering chart templates
+
```shell
helm template --debug ../amoro
```
+
- Server side rendering chart templates
+
```shell
helm install --dry-run --debug --generate-name ../amoro
```
+
+## Package Chart
+
+To package the Helm chart into a `.tgz` archive file, use the `helm package`
command:
+
+```shell
+helm package ../amoro
+```
+
+This will create a packaged chart file named `amoro-<version>.tgz` (e.g.,
`amoro-0.1.0.tgz`) in the current directory.
+
+You can also specify a destination directory for the packaged chart:
+
+```shell
+helm package ../amoro --destination ./packaged
+```
+
+The packaged chart can then be used for distribution or uploaded to a Helm
chart repository.
+
<!-- ## Features -->
## Documentation
@@ -66,10 +88,13 @@ submitting PRs, please let all the tests passed .
2 Steps for test. (Same as above,you should rebuild the charts/ first)
- Install `helm-unittest`
+
```shell
helm plugin install https://github.com/helm-unittest/helm-unittest.git
```
+
- Execute Tests.
+
```shell
helm unittest ../amoro
```