Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
I have a custom workflow that should run with 'autoplan' when a PR is open
I configured the workflow with pre_workflow_hooks
Expected behavior:
When a PR is open, I need both projects (atlantis-plan-stg, atlantis-plan-stg-eu)to run one after another
And be successfully completed on the PR page
Community Note
Description
I have a custom workflow that should run with 'autoplan' when a PR is open I configured the workflow with pre_workflow_hooks
But when this flow is running, it's simply stuck without any error, on the init step:
This is how the PR box looks:
pod logs on job run:
{"level":"info","ts":"2023-09-27T14:33:01.936Z","caller":"runtime/pre_workflow_hook_runner.go:80","msg":"successfully ran "bash -cv echo \"generating atlantis.yaml\"\ │ │ ncat > atlantis.yaml <<EOL\nversion: 3\ndelete_source_branch_on_merge: false\nparallel_plan: true\nprojects:\n - name: atlantis-plan-stg\n workspace: stg\n wo ││ rkflow: workflow-1\n dir: terraform\n terraform_version: v1.5.5\n delete_source_branch_on_merge: false\n autoplan:\nworkflows:\n workflow-1:\n plan:\ ││ \n steps:\n - run: env \n - run: terraform init -reconfigure -lock=false -input=true \n - run: terraform plan -var-file=\"stg.tfvars\" -inp │ │ ut=false -out $PLANFILE \n - run: echo $PLANFILE\nEOL\necho \"atlantis.yaml is genrated!\"\n" in "/atlantis-data/repos/neosec-com/lambda-websocket-handler/ ││ 58/default"","json":{"repo":"neosec-com/lambda-websocket-handler","pull":"58"}}
Expected behavior: When a PR is open, I need both projects (atlantis-plan-stg, atlantis-plan-stg-eu)to run one after another And be successfully completed on the PR page
Additional info: Atlantis is running on EKS - Helm installation Chart version: 4.15.2 - https://github.com/runatlantis/helm-charts Atlantis version: latest Terraform version: 1.5.5