Skip to content

Commit

Permalink
migrate aptly server
Browse files Browse the repository at this point in the history
  • Loading branch information
slabajo committed Nov 4, 2024
1 parent 8a0db7b commit 744edec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci-scripts/ci_job_deploy_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,25 +141,25 @@ set -o xtrace
# Exit trap, used to clean up.
on_exit() {
ssh -n -o StrictHostKeyChecking=no -i /id_aptly_ssh \
aptly@www.naevatec.com -p 3322 '\
aptly@aptly.naevatec.com -p 3322 '\
rm -rf "$TEMP_DIR"'
}
trap on_exit EXIT
ssh -n -o StrictHostKeyChecking=no -i /id_aptly_ssh \
aptly@www.naevatec.com -p 3322 '\
aptly@aptly.naevatec.com -p 3322 '\
mkdir -p "$TEMP_DIR"'
scp -o StrictHostKeyChecking=no -i /id_aptly_ssh \
-P 3322 ./*.*deb \
aptly@www.naevatec.com:"$TEMP_DIR"
aptly@aptly.naevatec.com:"$TEMP_DIR"
scp -o StrictHostKeyChecking=no -i /id_aptly_ssh \
-P 3322 /ci-scripts/ci_aptly_repo_publish.sh \
aptly@www.naevatec.com:"$TEMP_DIR"
aptly@aptly.naevatec.com:"$TEMP_DIR"
ssh -n -o StrictHostKeyChecking=no -i /id_aptly_ssh \
aptly@www.naevatec.com -p 3322 '\
aptly@aptly.naevatec.com -p 3322 '\
cd "$TEMP_DIR" \
&& GPGKEY="$APTLY_GPG_SUBKEY" \
./ci_aptly_repo_publish.sh $PUBLISH_ARGS'
Expand Down

0 comments on commit 744edec

Please sign in to comment.