Fix directory Get OGCORE BRANCH for components
oginstaller/pipeline/head There was a failure building this commit Details

working-installer
Nicolas Arenas 2024-11-14 09:22:49 +01:00
parent e53fc605bb
commit 1b6535ffee
1 changed files with 5 additions and 1 deletions

View File

@ -139,8 +139,9 @@ do
install_docker
install_oggui_docker
;;
ogDhcp)
ogDhcp)
echo "Instalando ogDhcp..."
OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogDhcp/installer/config.json)
git_checkout_release "$OGDHCP_REPO" "$component_dir/repo" "$OGCORE_BRANCH"
cp $CONFIGS_DIR/$config_file $component_dir/repo/config_ogdhcp.json
cd $component_dir/repo/installer || exit
@ -150,6 +151,7 @@ do
echo - ogDhcp >> /etc/issue
;;
ogBoot)
OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogBoot/installer/config.json)
echo "Instalando ogBoot..."
git_checkout_release "$OGBOOT_REPO" "$component_dir/repo" "$OGCORE_BRANCH"
cp $CONFIGS_DIR/$config_file $component_dir/repo/config.json
@ -161,6 +163,8 @@ do
;;
ogRepository)
echo "Instalando ogRepository..."
OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogRepository/installer/config.json)
git_checkout_release "$OGREPOSITORY_REPO" "$component_dir/repo" "$OGCORE_BRANCH"
cp $CONFIGS_DIR/$config_file $component_dir/installer/config.json
REPO_IP=$(jq -r '.ogrepository_ip' $component_dir/installer/config.json)
OGUSER=$(jq -r '.ogrepository_samba_user' $component_dir/installer/config.json)