forked from rancher/rancher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding charts related scripts and export-config
- Loading branch information
1 parent
2a673c1
commit f14d211
Showing
4 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -6,6 +6,7 @@ echo "-- chart/build --" | |
|
||
cd $(dirname $0)/.. | ||
. ./version | ||
. ./export-config | ||
|
||
cd .. | ||
mkdir -p build/chart | ||
|
This file contains 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 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,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
if [ -n "$DEBUG" ]; then | ||
set -x | ||
fi | ||
|
||
file="$(git rev-parse --show-toplevel)/build.yaml" | ||
|
||
CATTLE_RANCHER_WEBHOOK_VERSION=$(yq -e '.webhookVersion' "$file") | ||
CATTLE_CSP_ADAPTER_MIN_VERSION=$(yq -e '.cspAdapterMinVersion' "$file") | ||
CATTLE_DEFAULT_SHELL_VERSION=$(yq -e '.defaultShellVersion' "$file") | ||
CATTLE_FLEET_VERSION=$(yq -e '.fleetVersion' "$file") | ||
|
||
export CATTLE_RANCHER_WEBHOOK_VERSION | ||
export CATTLE_CSP_ADAPTER_MIN_VERSION | ||
export CATTLE_DEFAULT_SHELL_VERSION | ||
export CATTLE_FLEET_VERSION |