You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it is often useful to have a snapshot of the exact source code that was run to produce a certain result, a wrapper script that is used instead of docker build and docker run would be a good idea.
The script should create an ISO 8601 standard timestamp as the tag for the generated Docker image. The generated tags should be stored somewhere and the run script should pull the latest timestamp and run the docker container. Maybe add a sync script that also pushes the images as a backup.
As an additional backup, @WPBack taking the latest commit id, then generating or somehow getting the diff file for the entire directory (or only the ./src/ directory and saving that along with a timestamp and the latest Commit hash as well.
Both could be implemented in the same script as two separate backups. For this to make actual sense, #67 and ideally #5 , #8 and #61 should be closed first.
The text was updated successfully, but these errors were encountered:
Container tag should look like this: [checked-out-branch-name]-[commit-hash]-[generated-uuid]. The script called something like run_controller should generate the tag, build the container, create a directory in plot_data for this run for the logs, a file containing the commit hash, a full diff with that commit as the base. Also consider the case where the user wants to run the container twice in a row, should a separate directory be generated for that?
Since it is often useful to have a snapshot of the exact source code that was run to produce a certain result, a wrapper script that is used instead of
docker build
anddocker run
would be a good idea.The script should create an
ISO 8601
standard timestamp as the tag for the generated Docker image. The generated tags should be stored somewhere and therun
script should pull the latest timestamp and run the docker container. Maybe add async
script that also pushes the images as a backup.As an additional backup, @WPBack taking the latest commit id, then generating or somehow getting the diff file for the entire directory (or only the
./src/
directory and saving that along with a timestamp and the latest Commit hash as well.Both could be implemented in the same script as two separate backups. For this to make actual sense, #67 and ideally #5 , #8 and #61 should be closed first.
The text was updated successfully, but these errors were encountered: