Skip to content
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

Atlantis doesn't log pre_workflow_hooks #1371

Closed
evanstoddard23 opened this issue Jan 27, 2021 · 3 comments
Closed

Atlantis doesn't log pre_workflow_hooks #1371

evanstoddard23 opened this issue Jan 27, 2021 · 3 comments

Comments

@evanstoddard23
Copy link

No description provided.

@msarvar
Copy link
Contributor

msarvar commented Feb 12, 2021

Can you expands on this? What is the expected behavior and what is actually happening? Pre workflow hook does have limited logging, since it just runs one off scripts.

@evanstoddard23
Copy link
Author

I'm running Atlantis on ECS fargate which has its own observability issues. Since the plan and apply continue even if the pre workflow hook fails, it would be nice to see the output/errors from these hooks in the logs. Currently, I'm trying to generate an atlantis.yaml file in the pre workflow hook which appears to be failing since the plan isn't following the expected atlantis.yaml config.

nishkrishnan added a commit that referenced this issue Feb 22, 2021
…) (#1418)

Fixes pre-workflow-hooks not logging errors #1371
Prevents pre-workflow-hook from locking and cloning the dir if there are no hooks registered. #1342
@RonLek
Copy link

RonLek commented Jun 27, 2022

@msarvar @nishkrishnan could you please point me to where atlantis logs pre_workflow_hooks ? I'm trying to figure out the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants