Hi there, we have implemented rose apps which checkout and build each of the tools we need in our workflow. What we can’t figure out is how re-launch a build that has failed.
The task that does the builds is:
[[ build<build> ]]
platform = belenos_login
inherit = FAMBUILD
script = rose task-run --app-key ${CYLC_TASK_PARAM_build}
where build = nemosam, mroa, bias, tep defined as a task parameter
It checks out in work/$CYLC_TASK_CYCLE_POINT/build<build>
If the task fails, we fix and we update with cylc vr
However, if we trigger the task again it fails because the directory work/$CYLC_TASK_CYCLE_POINT/build already exists.
It seems to me we’re missing something somewhere. Maybe we need to cleanup the dir ourselves?
Thanx!