You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ly...@apache.org on 2025/10/27 02:32:04 UTC
(incubator-devlake-helm-chart) 01/01: Try to fix ci errors
This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a commit to tag v20251027-0
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git
commit e17b0f051eb6ed0895fafed9844fcd1306fd01ad
Author: d4x1 <15...@qq.com>
AuthorDate: Mon Oct 27 10:31:39 2025 +0800
Try to fix ci errors
---
.github/workflows/deploy-test.yml | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml
index fc2ea27..9428840 100644
--- a/.github/workflows/deploy-test.yml
+++ b/.github/workflows/deploy-test.yml
@@ -51,6 +51,9 @@ jobs:
helm version
kubectl version
kubectl get storageclasses
+ # Fix StorageClass binding mode for kind cluster
+ kubectl patch storageclass standard -p '{"volumeBindingMode":"Immediate"}' || true
+ kubectl get storageclasses
- name: Checkout
uses: actions/checkout@v2
@@ -60,14 +63,15 @@ jobs:
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add grafana https://grafana.github.io/helm-charts
- helm install mysql bitnami/mysql --version 9.19.1 --set auth.rootPassword=admin --set auth.database=lake --set auth.username=merico --set auth.password=merico
+ helm install mysql bitnami/mysql --version 9.19.1 --set auth.rootPassword=admin --set auth.database=lake --set auth.username=merico --set auth.password=merico --set persistence.storageClass=standard
# external mysql at service: mysql
helm dep build charts/devlake
helm install --debug --wait --timeout 2400s deploy-test charts/devlake \
--set service.uiPort=30000 \
--set mysql.useExternal=true \
--set mysql.externalServer=mysql \
- --set lake.encryptionSecret.secret=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1)
+ --set lake.encryptionSecret.secret=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1) \
+ --set grafana.persistence.storageClass=standard
- name: Helm install devlake
if: matrix.database_type == 'mysql-builtin'
@@ -79,7 +83,9 @@ jobs:
helm install --debug --wait --timeout 2400s deploy-test charts/devlake \
--set service.uiPort=30000 \
--set mysql.image.tag=8-debian \
- --set lake.encryptionSecret.secret=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1)
+ --set mysql.persistence.storageClass=standard \
+ --set lake.encryptionSecret.secret=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1) \
+ --set grafana.persistence.storageClass=standard
- name: List cluster resources
if: ${{ always() }}
@@ -123,4 +129,4 @@ jobs:
kubectl describe pod $pod
echo logs for $pod
kubectl logs $pod || echo ""
- done
+ done
\ No newline at end of file