Adjust release parameter
oginstaller/pipeline/head There was a failure building this commit
Details
oginstaller/pipeline/head There was a failure building this commit
Details
parent
3b00609c1e
commit
176b0cba2e
|
@ -62,7 +62,7 @@ EOF
|
||||||
|
|
||||||
function install_oggui_docker() {
|
function install_oggui_docker() {
|
||||||
# Sacar la IP del ogCore de la configuración
|
# Sacar la IP del ogCore de la configuración
|
||||||
oggui_version=$(jq -r '.container_version' /opt/opengnsys/ogGui/installer/config.json)
|
oggui_version=$(jq -r '.release' /opt/opengnsys/ogGui/installer/config.json)
|
||||||
# Exportar los valores como variables de entorno
|
# Exportar los valores como variables de entorno
|
||||||
ENV_DIR=/opt/opengnsys/ogGui/etc/
|
ENV_DIR=/opt/opengnsys/ogGui/etc/
|
||||||
ENV_FILE=$ENV_DIR/.env
|
ENV_FILE=$ENV_DIR/.env
|
||||||
|
@ -117,8 +117,8 @@ do
|
||||||
case $component in
|
case $component in
|
||||||
ogCore)
|
ogCore)
|
||||||
echo "Instalando ogCore..."
|
echo "Instalando ogCore..."
|
||||||
OGCORE_BRANCH=$(jq -r '.container_version' /opt/opengnsys/ogCore/installer/config.json)
|
OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogCore/installer/config.json)
|
||||||
container_version=$(jq -r '.container_version' /opt/opengnsys/ogCore/installer/config.json)
|
container_version=$(jq -r '.release' /opt/opengnsys/ogCore/installer/config.json)
|
||||||
git_checkout_release "$OGCORE_REPO" "$component_dir/repo" "$OGCORE_BRANCH"
|
git_checkout_release "$OGCORE_REPO" "$component_dir/repo" "$OGCORE_BRANCH"
|
||||||
cp $component_dir/repo/.env $component_dir/etc/
|
cp $component_dir/repo/.env $component_dir/etc/
|
||||||
cp $component_dir/repo/env.json $component_dir/etc/
|
cp $component_dir/repo/env.json $component_dir/etc/
|
||||||
|
|
Loading…
Reference in New Issue