levant icon indicating copy to clipboard operation
levant copied to clipboard

Restart task after deploy with no changes

Open leanst-daniel opened this issue 3 years ago • 2 comments

Restart after deploy with no changes

We're using the Docker "latest" image tag for our staging environment deployment. The deployment is started with the parameters -force -ignore-no-changes and technically it works out perfectly fine, but if a task is already running Nomad recognized the new deployment version but doesn't restart the task since there's no change in the config.

Output of levant version:

0.3.0

Output of nomad version:

1.1.0

Suggestion: Add a parameter to force a restart of a task regardless of any changes.

leanst-daniel avatar Jun 11 '21 04:06 leanst-daniel

I need this, but... https://github.com/hashicorp/nomad/issues/1576 :sob:

fess932 avatar Jul 18 '21 20:07 fess932

Wow thanks for the issue link! I didn't see this one when I was checking the open issues on Nomad.

I had high hopes that it would be easier to implement that within Levant....

leanst-daniel avatar Jul 21 '21 10:07 leanst-daniel