Repository navigation
[Helm] Version the chart from the release #2020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
beb003b
[Helm] Version the chart from the release
shba24 66cbfc8
[Helm] Keep the scripts out of the chart package and use X.Y.Z in the…
shba24 2a9c305
[Helm] Drop the version badges from the chart README
shba24 017dab4
[Helm] Keep the resource names after the chart rename
shba24 b1c3acb
[Helm] Share the base resource name and check it in CI
shba24 5aa977d
[Helm] Compare the untruncated name override with the release name
shba24 22d5742
[Helm] Describe where the default full name comes from
shba24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |
| .idea/ | ||
| *.tmproj | ||
| .vscode/ | ||
| # Maintainer scripts | ||
| *.sh | ||
|
|
||
| # Helm-docs files | ||
| README.md.gotmpl | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,10 @@ | ||
| apiVersion: v2 | ||
| name: unitycatalog | ||
| name: unitycatalog-chart | ||
|
shba24 marked this conversation as resolved.
Resolved
|
||
| description: A Helm chart to deploy Unity Catalog on Kubernetes | ||
| home: "https://github.com/unitycatalog/unitycatalog/tree/main/helm" | ||
| sources: ["https://github.com/unitycatalog/unitycatalog/tree/main/helm"] | ||
| type: application | ||
|
|
||
| version: 0.0.1-pre.1 | ||
|
|
||
| # Use latest unstable version until we have a stable version of UC Server that works with UI | ||
| # Placeholders: helm/package-chart.sh sets both at release, so chart X.Y.Z runs server image vX.Y.Z. | ||
| version: 0.0.0-dev | ||
| appVersion: main | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Packages the chart for a Unity Catalog release: chart version X.Y.Z runs server image vX.Y.Z. | ||
| # Usage: helm/package-chart.sh <version> [destination] | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| version="${1:?Usage: $0 <version without the leading v, e.g. 0.8.0> [destination]}" | ||
| destination="${2:-.}" | ||
|
|
||
| if [[ ! "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$ ]]; then | ||
| echo "Version must be X.Y.Z without a leading v, got: $version" >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| helm package "$(dirname "$0")" --version "$version" --app-version "v$version" --destination "$destination" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.