Re-evaluate usage of recipe-id to store output artifacts to PVC
Currently, we expect the outputs of a recipe to be stored on qgnet-ogdc-workflow-pvc, under a directory called {recipe_id}.
If that directory already exists, the runner assumes the workflow has already run and published outputs. The --overwrite flag can be used to completely remove the recipe_id directory.
recipe_id is currently something that we let recipe authors write. We expect it to be unique, but there's not a way to enforce that at the moment. Two recipes could use the same ID, which could result in one recipe overwriting another!
Instead of having authors provide a recipe_id, we could construct one from a name + a unique identifier (hash/checksum of the recipe itself?).
Re-evaluate usage of
recipe-idto store output artifacts to PVCCurrently, we expect the outputs of a recipe to be stored on
qgnet-ogdc-workflow-pvc, under a directory called{recipe_id}.If that directory already exists, the runner assumes the workflow has already run and published outputs. The
--overwriteflag can be used to completely remove therecipe_iddirectory.recipe_idis currently something that we let recipe authors write. We expect it to be unique, but there's not a way to enforce that at the moment. Two recipes could use the same ID, which could result in one recipe overwriting another!Instead of having authors provide a
recipe_id, we could construct one from aname+ a unique identifier (hash/checksum of the recipe itself?).