Add a feature to update data products used by CI tests
The user should be able, using a dedicated CI phase, to automatically update the reference files used for the comparison during the CI Tests.
This is a NOvA feature request coming from Alex H. at the October Liaison Meeting.
implementation of CI phase to update reference files from Michele, issue #14167
#3 Updated by Michele Fattoruso over 4 years ago
- % Done changed from 0 to 50
changed the test_runner script to accept the -u option to run the process to update the reference files.
this new function can copy the output file of all the ci tests into the /pnfs directory declared on the ci_test.cgf.
the files are copied to different folders,each test has it's own folder,defined by the STEP_NAME variable into the ci_test.cfg
the idea is to execute the update phase running the tests in a sequential way.using the requires variable to manipulate the order of execution of the different tests.
the tests will use as input,the output of the previously executed tests. (this part should be still configured)
the function now save the output file on the /pnfs directory using the following format: filenameTimestamp.extension
filename is the basename of the file,Timestamp is a variable set into the workflow.cfg file,and it's content is the date in the following format: %Y%m%d%H%M.
the code has been tested locally and need further changes to be completed
#10 Updated by Michele Fattoruso over 4 years ago
- % Done changed from 90 to 100
the feature is implemented into the feature/michele_update_reference branch
The issue is still marked as work in progress because i want to write a brief documentation on how to update your configuration file to enable this new feature