chore(helm): updating openreplay version
This commit is contained in:
parent
97968ab95e
commit
88ee700071
16 changed files with 26 additions and 16 deletions
|
|
@ -13,7 +13,7 @@ const oss = {
|
|||
ORIGIN: () => 'window.location.origin',
|
||||
API_EDP: () => 'window.location.origin + "/api"',
|
||||
ASSETS_HOST: () => 'window.location.origin + "/assets"',
|
||||
VERSION: '1.3.6',
|
||||
VERSION: '1.4.0',
|
||||
SOURCEMAP: true,
|
||||
MINIO_ENDPOINT: process.env.MINIO_ENDPOINT,
|
||||
MINIO_PORT: process.env.MINIO_PORT,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ fatal()
|
|||
exit 1
|
||||
}
|
||||
|
||||
version=${OPENREPLAY_VERSION:-'v1.4.0'}
|
||||
version="v1.4.0"
|
||||
usr=`whoami`
|
||||
|
||||
# Installing k3s
|
||||
|
|
@ -76,7 +76,7 @@ randomPass() {
|
|||
}|| {
|
||||
|
||||
info " Downloading vars file"
|
||||
curl -L -O vars.yaml https://raw.githubusercontent.com/rjshrjndrn/openreplay/${version}/scripts/helm/helm/vars.yaml
|
||||
curl -L -O vars.yaml https://raw.githubusercontent.com/rjshrjndrn/openreplay/${version="v1.4.0"
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,4 @@ version: 0.1.0
|
|||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
# Ref: https://github.com/helm/helm/issues/7858#issuecomment-608114589
|
||||
AppVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ version: 0.1.0
|
|||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.3.6"
|
||||
AppVersion: "v1.4.0"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
fromVersion: "v1.3.6"
|
||||
fromVersion: "v1.4.0"
|
||||
# Databases specific variables
|
||||
postgresql: &postgres
|
||||
# For genrating psswords
|
||||
|
|
|
|||
10
scripts/helm/helmcharts/versionUpdater.sh
Normal file
10
scripts/helm/helmcharts/versionUpdater.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
# This script will update the version of openreplay components.
|
||||
currentVersion=$1
|
||||
[[ -z $currentVersion ]] && {
|
||||
echo "Usage: $0 <appversion>"
|
||||
echo "eg: $0 v1.5.0"
|
||||
}
|
||||
find ./openreplay -type f -iname chart.yaml -exec sed -i "s/AppVersion.*/AppVersion: \"$currentVersion\"/g" {} \;
|
||||
sed -i "s/fromVersion.*/fromVersion: \"$currentVersion\"/g" vars.yaml
|
||||
sed -i "s/version.*/version=\"$currentVersion\"/g" init.sh
|
||||
Loading…
Add table
Reference in a new issue