Skip to content
Snippets Groups Projects

Resolve "Set instance name"

Merged Arie Peterson requested to merge 1105-set-instance-name into main
3 files
+ 16
0
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -163,6 +163,17 @@ data:
# Config settings from the configmap above
run_as "php $occ config:import /var/local/config.json"
{{- if .Values.theming.name }}
current=$(run_as "php $occ theming:config name")
if [ "$current" == "name is currently not set" ]
then
echo "Setting instance name."
run_as "php $occ theming:config name "{{ printf "%q" (printf "%q" .Values.theming.name) }}
else
echo "Instance name is already set, not changing."
fi
{{- end }}
echo "Updating database indices, columns, keys, etc."
run_as "php $occ db:add-missing-indices --no-interaction"
run_as "php $occ db:add-missing-columns --no-interaction"
Loading