Skip to content

Commit

Permalink
fix: e2e failed
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 committed Oct 28, 2024
1 parent 7b9976b commit c6d1e30
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions scripts/e2e/greptimedb-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ function drop_table() {
}

function deploy_greptimedb_cluster() {
helm upgrade --install mycluster greptimedb-cluster -n default
# Handle greptimedb-cluster dependencies.
helm repo add grafana https://grafana.github.io/helm-charts
helm dependency build charts/greptimedb-cluster

# Deploy greptimedb cluster.
helm upgrade --install mycluster charts/greptimedb-cluster -n default

timeout=300
sleep_interval=5
Expand All @@ -76,8 +81,7 @@ function deploy_greptimedb_cluster() {
}

function deploy_greptimedb_operator() {
cd charts
helm upgrade --install greptimedb-operator greptimedb-operator -n default
helm upgrade --install greptimedb-operator charts/greptimedb-operator -n default

# Wait for greptimedb operator to be ready
kubectl rollout status --timeout=60s deployment/greptimedb-operator -n default
Expand Down

0 comments on commit c6d1e30

Please sign in to comment.