ci(wrapper): export vars

This commit is contained in:
Denis Gukov 2024-10-22 15:49:43 +00:00
parent a8d2284ec7
commit e90560fb90

View File

@ -35,8 +35,6 @@ file_env() {
}
export SEMAPHORE_CONFIG_PATH="${SEMAPHORE_CONFIG_PATH:-/etc/semaphore}"
export SEMAPHORE_DB_DIALECT="${SEMAPHORE_DB_DIALECT:-mysql}" # duplicate
export SEMAPHORE_DB_HOST="${SEMAPHORE_DB_HOST:-0.0.0.0}" # duplicate
export SEMAPHORE_DB_PATH="${SEMAPHORE_DB_PATH:-/var/lib/semaphore}"
export SEMAPHORE_DB_PORT="${SEMAPHORE_DB_PORT:-}"
@ -82,6 +80,8 @@ if [ -f "${SEMAPHORE_CONFIG_PATH}/config.json" ]; then
fi
fi
export SEMAPHORE_DB_DIALECT="${SEMAPHORE_DB_DIALECT:-mysql}"
export SEMAPHORE_DB_HOST="${SEMAPHORE_DB_HOST:-0.0.0.0}"
#
# Remove port number from SEMAPHORE_DB_HOST and put it to SEMAPHORE_DB_PORT