Valentin Fadeev
Valentin Fadeev
For jobs launched with `service` scheduler and `update_strategy` defined check if deployment has been created successfully, otherwise fail Rundeck execution.
If an evaluation is triggered during the job runtime (e.g. if a node is lost) we should refresh the list of allocations, as new ones may have been placed. This...
Currently the definition of predicate [`allAllocationsFinishedRunning`](https://github.com/ValFadeev/rundeck-nomad-plugin/blob/master/src/main/java/io/github/valfadeev/rundeck_nomad_plugin/nomad/NomadAllocationPredicates.java#L33) does not capture the [possible](updateNonTerminalAllocsToLost) _"lost"_ status of an allocation. This was brought up [here](https://github.com/hashicorp/nomad-java-sdk/pull/2) and will possibly result in some of the predicates...