Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Add force flag to trigger a deployment even without changes#296

Merged
jrasell merged 1 commit intohashicorp:masterfrom
mre:force-option
Jul 31, 2019
Merged

Add force flag to trigger a deployment even without changes#296
jrasell merged 1 commit intohashicorp:masterfrom
mre:force-option

Conversation

@mre
Copy link
Contributor

@mre mre commented Jul 26, 2019

In some cases it is necessary to deploy a version that was already
deployed. For example, when something unexpected happened
on the Nomad side and not all allocations come up.
To mitigate that, the force flag triggers a deployment without
running plan before and just blindly forwards the command
to Nomad.

In some cases it is necessary to deploy a version that was already
deployed. For example, when something unexpected happened
on the Nomad side and not all allocations come up.
To mitigate that, the `force` flag triggers a deployment without
running `plan` before and just blindly forwards the command
to Nomad.
@jrasell jrasell self-requested a review July 31, 2019 10:20
@jrasell jrasell self-assigned this Jul 31, 2019
Copy link
Member

@jrasell jrasell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this @mre LGTM!

@jrasell jrasell merged commit daddb04 into hashicorp:master Jul 31, 2019
@mre mre deleted the force-option branch July 31, 2019 11:22
@mre
Copy link
Contributor Author

mre commented Aug 20, 2019

@jrasell any chance to cut a new release from master for that flag? Some people in my team would like to use it. 😅

@jrasell
Copy link
Member

jrasell commented Sep 12, 2019

@mre sorry for the delay; I am moving focus back here for a bit and will try and get this out tomorrow!

@mre
Copy link
Contributor Author

mre commented Sep 12, 2019

No worries. 😁

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants