Re-Sync Production Files #238

Closed
opened 2024-02-20 16:32:41 +01:00 by Nick Alberelli · 0 comments
Member

Request

from @SimonThommes

Hey Nick, just talked about the automatic resyncing with Francesco:
So it looks like we should be able to do that every day on all shots just fine, we just need to monitor the size of the repo a bit.

Could you prepare a script that could do all the necessary steps? Then Francesco (or Sebastian or Arnd) would take care of deploying this on a VM or so
Steps would be:

  • svn checkout
  • bbatch resync (would be good to exclude files that have been committed within the resync period, to avoid redundancies)
  • gathering the logs from the output in some way so that we're able to report that
  • making the svn commit
  • reporting the log to us (Francesco was suggesting via email)

TODO

  • Write Script
    • bbatch script that re-syncs file if not saved within 24 hours
    • write wrapper script that runs bbatch with above script and saves consle logs to txt file
    • Talk to Sebastian to integrate SVN Commits into script
    • Talk to Sebastian to send emails with error logs to given email
  • Run this script as a cron job on studio machines
## Request from @SimonThommes > Hey Nick, just talked about the automatic resyncing with Francesco: > So it looks like we should be able to do that every day on all shots just fine, we just need to monitor the size of the repo a bit. > > Could you prepare a script that could do all the necessary steps? Then Francesco (or Sebastian or Arnd) would take care of deploying this on a VM or so > Steps would be: > - svn checkout > - bbatch resync (would be good to exclude files that have been committed within the resync period, to avoid redundancies) > - gathering the logs from the output in some way so that we're able to report that > - making the svn commit > - reporting the log to us (Francesco was suggesting via email) ## TODO - [x] Write Script - [x] bbatch script that re-syncs file if not saved within 24 hours - [x] write wrapper script that runs bbatch with above script and saves consle logs to txt file - [x] Talk to Sebastian to integrate SVN Commits into script - [x] Talk to Sebastian to send emails with error logs to given email - [x] Run this script as a cron job on studio machines
Nick Alberelli added the
Kind
Studio Request
label 2024-02-20 16:32:41 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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: studio/blender-studio-pipeline#238
No description provided.