-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate if plan has no changes #854
Conversation
|
@alfespa17 ![]() |
The step status is "notexecuted" you can see the screenshot above and the final job state is "nochanges" do you think it should use another status? |
I think at step level it's fine to use that status, and maybe the Job should continue using "Completed" to avoid to have a lot of states. And because finally the job finished successfully |
Maybe you are right, I will change the logic a little bit tomorrow, I will add some field to know if a job has "no changes" because right now I am using the job status here terrakube/api/src/main/java/org/terrakube/api/plugin/state/RemoteTfeService.java Line 776 in 60b8195
|
Correctly validate if a plan has no changes, if the plan has no changes then no other operation should run in Terrakube and the CLI complete the job sucessfully
Adding a new filter status named "noChanges"