both show a successful metadata-cleanup step and I verified the druid paths are no longer on the staging directory.
âš¡ âš If this change involves consuming from other services or writing to shared file systems, test that GIS accessioning works properly in [stage|qa] environment, in addition to specs. âš¡
Why was this change made? 🤔
Fixes #840
Cleans up the staging path for the druid by removing the
contents
data and recursively removing parent directories until a non-empty path is found.How was this change tested? 🤨
Unit test, verified locally that a close matching druid (i.e.
ab987th1234
) will not be removed when removing the druid tree forab123cd4567
.Integration tests:
both show a successful
metadata-cleanup
step and I verified the druid paths are no longer on the staging directory.âš¡ âš If this change involves consuming from other services or writing to shared file systems, test that GIS accessioning works properly in [stage|qa] environment, in addition to specs. âš¡