Commit c46500be authored by Rémi Duraffort's avatar Rémi Duraffort

CI: do not print DSN variables during deploy

Signed-off-by: Rémi Duraffort's avatarRémi Duraffort <remi.duraffort@linaro.org>
parent 2e5f1fc0
Pipeline #3627 passed with stages
in 3 minutes and 56 seconds
......@@ -6,12 +6,12 @@ if [ "$1" = "setup" ]
then
true
else
set -x
# Pull the image
echo "Pulling $CI_REGISTRY_IMAGE:latest"
docker pull "$CI_REGISTRY_IMAGE:latest"
# Check if the container is running
echo "Is a container called \"$LAVAFED_CONTAINER_NAME\" running?"
version=$(docker container ls --filter name="$LAVAFED_CONTAINER_NAME" --format "{{.Image}}")
if [ -n "$version" ]
then
......@@ -20,6 +20,7 @@ else
docker container rm "$LAVAFED_CONTAINER_NAME"
fi
echo "Starting \"$LAVAFED_CONTAINER_NAME\""
cd "$LAVAFED_PATH"
docker container run --name "$LAVAFED_CONTAINER_NAME" -d \
--restart always \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment