From e3c403e98b7ab68c081e56e9f5a06e71c6fdc7f4 Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Mon, 27 Apr 2026 08:49:53 +0300 Subject: [PATCH] fix(ci): add progress markers to publish script for debugging Co-Authored-By: Claude Opus 4.6 (1M context) --- script/publish-repo.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/publish-repo.sh b/script/publish-repo.sh index 7ce307a..2037496 100755 --- a/script/publish-repo.sh +++ b/script/publish-repo.sh @@ -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"