runatlantis / atlantis

Terraform Pull Request Automation
https://www.runatlantis.io
Other
7.68k stars 1.05k forks source link

Question on custom workflow execution. #3684

Open mlalam opened 1 year ago

mlalam commented 1 year ago

I have always observed an empty/blank plan and apply being triggered before triggering the custom project-level workflow, which actually does the job.

Is this by design for Atlantis?

azr-hij-qa is the custom project config in atlantis.xml; however, it executed a dummy plan before the project specific plan, once the change list is approved and applied, it executed a dummy apply prior to project specific apply.

Is there a way not to execute those atlantis/plan and atlantis/apply ( the ones without project name in the screenshot)?

2023-08-18 09_54_44-Pull Request #90_ Added Storage Blob Data Contributor RA for azr-hij-qa-deploy-l

Also, whenever the change didnt match any of the custom project config, I believe it is executing default workflow and does nothing, but I see atlantis/plan, atlantis/policy_check and atlantis/apply runs but not doing anything.

Is this by design for Atlantis as well?

2023-08-18 09_53_15-Pull Request #90_ Added Storage Blob Data Contributor RA for azr-hij-qa-deploy-l

jamengual commented 1 year ago

have you upgraded to the latest? there have been improvements in the statuses lately, especially the policy checks. what version are you running?

mlalam commented 1 year ago

Using chart version 4.10.3, with app version "v0.22.3"

jamengual commented 1 year ago

can you try latest? we introduced the status changes very recently.