Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/helm/env.d/dev/values.impress.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ backend:
- "/bin/sh"
- "-c"
- |
while ! python manage.py check --database default > /dev/null 2>&1
do
echo "Database not ready"
sleep 2
done

echo "Database is ready"

python manage.py migrate --no-input &&
python manage.py create_demo --force
restartPolicy: Never
Expand All @@ -84,6 +92,13 @@ backend:
- "/bin/sh"
- "-c"
- |
while ! python manage.py check --database default > /dev/null 2>&1
do
echo "Database not ready"
sleep 2
done

echo "Database is ready"
python manage.py createsuperuser --email [email protected] --password admin
restartPolicy: Never

Expand Down
2 changes: 1 addition & 1 deletion src/helm/impress/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
type: application
name: docs
version: 3.3.0
version: 3.4.0-beta.1
appVersion: latest
Loading
Loading