Skip to content

Commit

Permalink
always run verify
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Sep 13, 2024
1 parent bc5a652 commit a753ba6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions upload_stage_rpms
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
5 changes: 5 additions & 0 deletions verify_stage_sigs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a753ba6

Please sign in to comment.