Clinical-Genomics / housekeeper

File data orchestrator
MIT License
2 stars 0 forks source link

(Archiving) Add retrieved_at filter #188

Closed islean closed 10 months ago

islean commented 10 months ago

Description

When cleaning Spring files which have been retrieved via DDN, we have a need to filter files on when it was retrieved, since this will be used to discern if the spring file should be removed or not. This PR adds support for fetching files which were retrieved before a specified date.

Added

Testing

How to prepare for test

housekeeper-test-deploy archiving-get-retrieved-files
housekeeper-test <command here>

Any migrations need to be applied manually with alembic against the stage database.

How to test

Expected test outcome

Review

This version is a:

sonarcloud[bot] commented 10 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

islean commented 10 months ago

Tested on stage and made sure the CLI was still functioning. Since the methods are not live, the testing is deemed successful.

islean commented 10 months ago

Deployed to stage and production:

Writing manifest to image destination
Storing signatures
INFO:    Creating SIF file...
INFO:    Build complete: /home/proj/stage/singularity_containers/housekeeper_temp.sif
Successfully pulled the latest Housekeeper image.
1d [isak.ohlsson@hasta:~] [base] 17s $