Skip to content
Snippets Groups Projects
Commit 6434f19e authored by Steven Dake's avatar Steven Dake
Browse files

Move scripts for murano to docker_templates

Change-Id: I1f7090d22c33891717002297c898cf1b5ddb210c
Partially-Implements: blueprint remove-docker-dir
parent eb9d7da1
No related branches found
No related tags found
No related merge requests found
Showing
with 106 additions and 61 deletions
#!/bin/bash
SOURCE="/opt/kolla/murano/murano.conf"
TARGET="/etc/murano/murano.conf"
OWNER="murano"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi
#!/bin/bash
set -o errexit
CMD="/usr/bin/murano-api"
ARGS="--config-file /etc/murano/murano.conf"
# Loading common functions.
source /opt/kolla/kolla-common.sh
# Execute config strategy
set_configs
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
su -s /bin/sh -c "murano-db-manage --config-file /etc/murano/murano.conf upgrade" murano
exit 0
fi
exec $CMD $ARGS
#!/bin/bash
SOURCE="/opt/kolla/murano/murano.conf"
TARGET="/etc/murano/murano.conf"
OWNER="murano"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi
#!/bin/bash
set -o errexit
CMD="/usr/bin/murano-engine"
ARGS="--config-file /etc/murano/murano.conf"
# Loading common functions.
source /opt/kolla/kolla-common.sh
# Execute config strategy
set_configs
exec $CMD $ARGS
../../../docker/common/murano/murano-api/config-external.sh
\ No newline at end of file
#!/bin/bash
SOURCE="/opt/kolla/murano/murano.conf"
TARGET="/etc/murano/murano.conf"
OWNER="murano"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi
../../../docker/common/murano/murano-api/start.sh
\ No newline at end of file
#!/bin/bash
set -o errexit
CMD="/usr/bin/murano-api"
ARGS="--config-file /etc/murano/murano.conf"
# Loading common functions.
source /opt/kolla/kolla-common.sh
# Execute config strategy
set_configs
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
su -s /bin/sh -c "murano-db-manage --config-file /etc/murano/murano.conf upgrade" murano
exit 0
fi
exec $CMD $ARGS
../../../docker/common/murano/murano-engine/config-external.sh
\ No newline at end of file
#!/bin/bash
SOURCE="/opt/kolla/murano/murano.conf"
TARGET="/etc/murano/murano.conf"
OWNER="murano"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi
../../../docker/common/murano/murano-engine/start.sh
\ No newline at end of file
#!/bin/bash
set -o errexit
CMD="/usr/bin/murano-engine"
ARGS="--config-file /etc/murano/murano.conf"
# Loading common functions.
source /opt/kolla/kolla-common.sh
# Execute config strategy
set_configs
exec $CMD $ARGS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment