From a753ba64dc30449b2293f929005037aea25e38ca Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 9 Sep 2024 13:01:13 +0200 Subject: [PATCH] always run verify --- upload_stage_rpms | 4 +--- verify_stage_sigs | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/upload_stage_rpms b/upload_stage_rpms index 985437b..0d114e2 100755 --- a/upload_stage_rpms +++ b/upload_stage_rpms @@ -5,8 +5,6 @@ USER='yumrepostage' HOST='web01.osuosl.theforeman.org' -if [[ -n "${FULLGPGKEY}" ]]; then - ./verify_stage_sigs -fi +./verify_stage_sigs rsync --checksum --times --perms --recursive --links --verbose --partial --one-file-system --delete-after "${STAGE_LOCAL_BASE}/" "$USER@$HOST:rsync_cache/$PROJECT/$VERSION/" diff --git a/verify_stage_sigs b/verify_stage_sigs index bb1afb1..d2b98b1 100755 --- a/verify_stage_sigs +++ b/verify_stage_sigs @@ -4,6 +4,11 @@ set -e . settings +if [[ -z "${FULLGPGKEY}" ]]; then + echo "No signing configured." + exit 0 +fi + EXIT_CODE=0 for os in $OSES; do