[Crunch2] [API] Allow container request to bypass reuse (ensure a new container is created)
- Container is expected/intended to be impure (results differ from one run to the next)
- Test/diagnostics container
The Containers API specifies a "filters" parameter which (when implemented) could be used to achieve this with something like
- Add a 'use_existing' flag, which defaults to true. When set false a new container should always be created.
- Add '"use_existing": false, ' to the 'Hello, Crunch' example at http://doc.arvados.org/install/crunch2-slurm/install-test.html
As for the future "filters" parameter, if/when that gets implemented, the 'use_existing' flag should take precedence if set to false.
#6 Updated by Lucas Di Pentima almost 5 years ago
10216-allow-cr-bypass-reuse at: b1578a5
Added use_existing field to CRs, with default value being "true". When false, the reuse_container mechanism is bypassed.
Tests run at: https://ci.curoverse.com/job/developer-run-tests/39/