Skip to content
Snippets Groups Projects
Unverified Commit fb1d8afa authored by Max Adamo's avatar Max Adamo
Browse files

fix: enhance package deployment to support multiple Ubuntu releases

parent b9cb18c0
No related branches found
No related tags found
No related merge requests found
...@@ -160,9 +160,12 @@ if [[ -n $PUSH_DEB ]]; then ...@@ -160,9 +160,12 @@ if [[ -n $PUSH_DEB ]]; then
echo "please create first python3-wile-coyote_${VERSION}-1_all.deb" echo "please create first python3-wile-coyote_${VERSION}-1_all.deb"
exit exit
fi fi
scp $PKG aptly@repositories01.geant.org:deb/ubuntu-20.04/geant_deb/pool/main/p/python3-wile-coyote/ for REL in 20.04 22.04; do
echo -e "\nupdating repo..." echo -e "\n\npushing to aptly repository for Ubuntu ${REL}..."
ssh aptly@repositories01.geant.org ${SCRIPT_DIR}/geant-deb-update.sh 20.04 scp $PKG aptly@repositories01.geant.org:deb/ubuntu-$REL/geant_deb/pool/main/p/python3-wile-coyote/
echo -e "\nupdating repo..."
ssh aptly@repositories01.geant.org ${SCRIPT_DIR}/geant-deb-update.sh $REL
done
echo -e "\nsynchronizing repository across servers..." echo -e "\nsynchronizing repository across servers..."
ssh aptly@repositories01.geant.org ${SCRIPT_DIR}/repos-rsync.sh >/dev/null ssh aptly@repositories01.geant.org ${SCRIPT_DIR}/repos-rsync.sh >/dev/null
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment