stage-release: split up script and fix some issues #12636

Merged
jnsamyak merged 1 commit from stage-release-revamp into main 2025-04-11 10:44:40 +00:00
Owner

So right now this script is terrible for a number of reasons:

  • you have to run it as your user to have sigul work, but doing
    so means it calls sudo about 20 times later, and if you aren't watching
    it very closely, it will timeout and just skip doing things.
  • It's got the wrong link destination for rsyncs to hardlink to stage.

So, this splits it out into a seperate script to do just the checksum
signing (as your user) and the rest to do as 'sudo -u ftpsync' to sync
things.

Also added a bit of logging to tell what it's in the process of doing.

Signed-off-by: Kevin Fenzi kevin@scrye.com

So right now this script is terrible for a number of reasons: * you have to run it as your user to have sigul work, but doing so means it calls sudo about 20 times later, and if you aren't watching it very closely, it will timeout and just skip doing things. * It's got the wrong link destination for rsyncs to hardlink to stage. So, this splits it out into a seperate script to do just the checksum signing (as your user) and the rest to do as 'sudo -u ftpsync' to sync things. Also added a bit of logging to tell what it's in the process of doing. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Owner

rebased onto d5a6f60668

rebased onto d5a6f60668f505327b5304ac5c6128375ae4bf9e
Owner

Hey, this looks good to me, I wasn't aware this was here, I was away at the time of the last beta release, merging this! Thanks! We need to update the documentation accordingly for these!

Hey, this looks good to me, I wasn't aware this was here, I was away at the time of the last beta release, merging this! Thanks! We need to update the documentation accordingly for these!
Owner

Pull-Request has been merged by jnsamyak

Pull-Request has been merged by jnsamyak
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
releng/tickets!12636
No description provided.