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

craigrueda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new ef95458  Exit init script immediately on error (#16758)
ef95458 is described below

commit ef954585477aff36edbbf06ce88ec1b95ed53132
Author: AndrĂ© Buse <[email protected]>
AuthorDate: Mon Sep 27 04:16:26 2021 +0200

    Exit init script immediately on error (#16758)
---
 helm/superset/Chart.yaml  | 2 +-
 helm/superset/values.yaml | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml
index c1a7ca7..1b84fca 100644
--- a/helm/superset/Chart.yaml
+++ b/helm/superset/Chart.yaml
@@ -22,7 +22,7 @@ maintainers:
   - name: craig-rueda
     email: [email protected]
     url: https://github.com/craig-rueda
-version: 0.3.8
+version: 0.3.9
 dependencies:
 - name: postgresql
   version: 10.2.0
diff --git a/helm/superset/values.yaml b/helm/superset/values.yaml
index f1ec768..ea9fa07 100644
--- a/helm/superset/values.yaml
+++ b/helm/superset/values.yaml
@@ -302,6 +302,7 @@ init:
       command: [ "/bin/sh", "-c", "until nc -zv $DB_HOST $DB_PORT -w1; do echo 
'waiting for db'; sleep 1; done" ]
   initscript: |-
     #!/bin/sh
+    set -eu
     echo "Upgrading DB schema..."
     superset db upgrade
     echo "Initializing roles..."

Reply via email to