fix(ci): add progress markers to publish script for debugging
All checks were successful
poll-upstream / check (push) Successful in 1s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-27 08:49:53 +03:00
parent 087c5d5524
commit e3c403e98b

View File

@@ -26,16 +26,20 @@ for rpm in "${RPM_DIR}"/*.rpm; do
fi
done
echo "setting up ssh..."
install --directory --mode 700 ~/.ssh
echo "${RSYNC_SSH_KEY}" | install --mode 600 /dev/stdin ~/.ssh/id_ed25519
ssh-keyscan -H oolon.kosherinata.internal > ~/.ssh/known_hosts 2>/dev/null
echo "rsyncing to ${RSYNC_TARGET}:${REMOTE_DIR}/..."
rsync \
--archive \
--verbose \
--chmod D755,F644 \
"${RPM_DIR}/"*.rpm \
"${RSYNC_TARGET}:${REMOTE_DIR}/"
echo "updating repo metadata..."
ssh "${RSYNC_TARGET}" "cd ${REMOTE_DIR} && createrepo_c --update ."
echo "Published $(ls ${RPM_DIR}/*.rpm | wc -l) RPMs"