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

Fix issues with terraform execution. #464

Merged
merged 2 commits into from
Feb 11, 2019
Merged

Fix issues with terraform execution. #464

merged 2 commits into from
Feb 11, 2019

Conversation

lkysow
Copy link
Member

@lkysow lkysow commented Feb 10, 2019

Previously I wrote a bunch of code to deal with terraform panicking.
This code used a pipe as the stdout/err buffer and there was a bug
because I wasn't reading off the pipe and it would get full.

While testing a fix, I realized when Terraform panics, the previous code
using CombinedOutput() just worked. As a result, I'm switching back to
that code.

Fixes #452

Previously I wrote a bunch of code to deal with terraform panicking.
This code used a pipe as the stdout/err buffer and there was a bug
because I wasn't reading off the pipe and it would get full.

While testing a fix, I realized when Terraform panics, the previous code
using CombinedOutput() just worked. As a result, I'm switching back to
that code.
@codecov
Copy link

codecov bot commented Feb 11, 2019

Codecov Report

Merging #464 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #464      +/-   ##
==========================================
- Coverage   70.53%   70.49%   -0.05%     
==========================================
  Files          63       63              
  Lines        4243     4223      -20     
==========================================
- Hits         2993     2977      -16     
+ Misses       1028     1026       -2     
+ Partials      222      220       -2
Impacted Files Coverage Δ
server/events/terraform/terraform_client.go 73.97% <100%> (-1.3%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a08cec9...5002397. Read the comment docs.

@lkysow lkysow merged commit 1de4034 into master Feb 11, 2019
@lkysow lkysow deleted the fix-long-output branch February 11, 2019 17:22
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

Successfully merging this pull request may close these issues.

Atlantis fails to complete plan for a large environment.
1 participant