hashicorp / hashicorp/nomad

Need option for 0 exit code when nomad plan creates/destroys allocations

Open
#6,589 6 comments 3 reactions 0 assignees View on GitHub
theme/cli type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

As mentioned in the [docs](https://www.nomadproject.io/docs/commands/job/plan.html), **nomad plan** will return an exit code of **1** when allocations will be created or destroyed. We might want to consider a way to let the user have **0** returned in those situations. This can help where **nomad plan** is being used through CI/CD (so the pipeline doesn't actually see **nomad plan** as a failure just because allocations are being changed).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.