You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2023/02/07 12:28:20 UTC

[incubator-devlake-helm-chart] branch main updated: udpate to v0.15.1-beta3 (#71)

This is an automated email from the ASF dual-hosted git repository.

zhangliang2022 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git


The following commit(s) were added to refs/heads/main by this push:
     new 108501c  udpate to v0.15.1-beta3 (#71)
108501c is described below

commit 108501c2476a75c4c1df2d964d025b03f2e3e28b
Author: Warren Chen <yi...@merico.dev>
AuthorDate: Tue Feb 7 20:28:14 2023 +0800

    udpate to v0.15.1-beta3 (#71)
---
 .github/workflows/lint-image-chart-versions.yml | 14 +++-----------
 README.md                                       |  4 ++--
 charts/devlake/Chart.yaml                       |  4 ++--
 charts/devlake/templates/deployments.yaml       |  4 ++--
 charts/devlake/templates/statefulsets.yaml      |  2 +-
 charts/devlake/values.yaml                      |  4 +---
 6 files changed, 11 insertions(+), 21 deletions(-)

diff --git a/.github/workflows/lint-image-chart-versions.yml b/.github/workflows/lint-image-chart-versions.yml
index 77d59d0..b57ba2f 100644
--- a/.github/workflows/lint-image-chart-versions.yml
+++ b/.github/workflows/lint-image-chart-versions.yml
@@ -17,17 +17,9 @@ jobs:
         run: |
           set -e
           chart_version_text=$(yq .version ${GITHUB_WORKSPACE}/charts/devlake/Chart.yaml)
-          devlake_version_text=$(yq .lake.image.tag ${GITHUB_WORKSPACE}/charts/devlake/values.yaml)
-          grafana_version_text=$(yq .grafana.image.tag ${GITHUB_WORKSPACE}/charts/devlake/values.yaml)
-          configui_version_text=$(yq .ui.image.tag ${GITHUB_WORKSPACE}/charts/devlake/values.yaml)
-          if [[ v$chart_version_text != $devlake_version_text ]] ; then
-            echo chart version $chart_version_text is not equal to  devlake version $devlake_version_text
-            exit 1
-          elif [[ v$chart_version_text != $grafana_version_text ]] ; then
-            echo chart version $chart_version_text is not equal to  grafana version $grafana_version_text
-            exit 1
-          elif [[ v$chart_version_text != $devlake_version_text ]] ; then
-            echo chart version $chart_version_text is not equal to  configui version $configui_version_text
+          image_version_text=$(yq .imageTag ${GITHUB_WORKSPACE}/charts/devlake/values.yaml)
+          if [[ v$chart_version_text != $image_version_text ]] ; then
+            echo chart version $chart_version_text is not equal to devlake version $image_version_text
             exit 1
           else 
             echo all images version are equal to chart version
diff --git a/README.md b/README.md
index 59f471b..e727896 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ To install the chart with release name `devlake`:
 ```shell
 helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
 helm repo update
-helm install devlake devlake/devlake --version=v0.15.0-rc5
+helm install devlake devlake/devlake --version=v0.15.1-beta3
 ```
 
 If you are using minikube inside your mac, please use the following command to forward the port:
@@ -48,7 +48,7 @@ Then you can visit:
 
 ```shell
 helm repo update
-helm upgrade --install devlake devlake/devlake --version=v0.15.0-rc5
+helm upgrade --install devlake devlake/devlake --version=v0.15.1-beta3
 ```
 
 ## Uninstall
diff --git a/charts/devlake/Chart.yaml b/charts/devlake/Chart.yaml
index 0fdcca7..0442d27 100644
--- a/charts/devlake/Chart.yaml
+++ b/charts/devlake/Chart.yaml
@@ -29,7 +29,7 @@ type: application
 
 
 # Chart version
-version: 0.15.0-rc5
+version: 0.15.1-beta3
 
 # devlake version
-appVersion: "v0.15.0-rc5"
+appVersion: v0.15.1-beta3
diff --git a/charts/devlake/templates/deployments.yaml b/charts/devlake/templates/deployments.yaml
index da036a9..2dedefb 100644
--- a/charts/devlake/templates/deployments.yaml
+++ b/charts/devlake/templates/deployments.yaml
@@ -38,7 +38,7 @@ spec:
         {{- include "common.initContainerWaitDatabase" . | nindent 8 }}
       containers:
         - name: grafana
-          image: "{{ .Values.grafana.image.repository }}:{{ .Values.grafana.image.tag }}"
+          image: "{{ .Values.grafana.image.repository }}:{{ .Values.imageTag }}"
           imagePullPolicy: {{ .Values.grafana.image.pullPolicy }}
           ports:
             - containerPort: 3000
@@ -115,7 +115,7 @@ spec:
     spec:
       containers:
         - name: config-ui
-          image: "{{ .Values.ui.image.repository }}:{{ .Values.ui.image.tag }}"
+          image: "{{ .Values.ui.image.repository }}:{{ .Values.imageTag }}"
           imagePullPolicy: {{ .Values.ui.image.pullPolicy }}
           ports:
             - containerPort: 4000
diff --git a/charts/devlake/templates/statefulsets.yaml b/charts/devlake/templates/statefulsets.yaml
index ea20c3d..c23c4fc 100644
--- a/charts/devlake/templates/statefulsets.yaml
+++ b/charts/devlake/templates/statefulsets.yaml
@@ -250,7 +250,7 @@ spec:
               name: {{ include "devlake.fullname" . }}-lake-config
       containers:
         - name: lake
-          image: "{{ .Values.lake.image.repository }}:{{ .Values.lake.image.tag }}"
+          image: "{{ .Values.lake.image.repository }}:{{ .Values.imageTag }}"
           imagePullPolicy: {{ .Values.lake.image.pullPolicy }}
           ports:
             - containerPort: 8080
diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml
index 572ff5b..c4d6077 100644
--- a/charts/devlake/values.yaml
+++ b/charts/devlake/values.yaml
@@ -17,6 +17,7 @@
 
 # replica count for dev
 replicaCount: 1
+imageTag: v0.15.1-beta3
 
 mysql:
   # if use external mysql server, please set true
@@ -113,7 +114,6 @@ grafana:
   # image for grafana
   image:
     repository: apache/devlake-dashboard
-    tag: v0.15.0-rc5
     pullPolicy: Always
 
   resources: {}
@@ -128,7 +128,6 @@ grafana:
 lake:
   image:
     repository: apache/devlake
-    tag: v0.15.0-rc5
     pullPolicy: Always
   # storage for config
   storage:
@@ -160,7 +159,6 @@ lake:
 ui:
   image:
     repository: apache/devlake-config-ui
-    tag: v0.15.0-rc5
     pullPolicy: Always
 
   resources: {}