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

revert: regression: remote ops detection TF v1.1 #4169

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

cypres
Copy link
Contributor

@cypres cypres commented Jan 23, 2024

Reverts linter change from 56e38b4 (#3690) which breaks TF v1.1 detection

what

Reverts a simple commit for a single file to fix remote operations for TF v1.1+

why

Without this revert you can't use Atlantis with Terraform Cloud v1.1+, see #2793 for why this was introduced in the first place.

tests

To prepare this I did
git checkout 2e6758e -- server/core/runtime/plan_step_runner.go
and picked the corresponding change from server/core/runtime/plan_step_runner_test.go

references

@cypres cypres requested review from a team as code owners January 23, 2024 07:07
@cypres cypres requested review from GenPage, lukemassa and nitrocode and removed request for a team January 23, 2024 07:07
@github-actions github-actions bot added the go Pull requests that update Go code label Jan 23, 2024
cypres referenced this pull request Jan 23, 2024
* chore(atlantis): fix linter errors

* fix superfluous-else

* revert gitlab check

* ignore stub funcs on azuredevops_client

* remove fetch-depth

* remove fail_on_error

* fix plan_step_runner_test.go

* more lint fixes

---------

Co-authored-by: Dylan Page <[email protected]>
@GMartinez-Sisti
Copy link
Member

@cypres there is also a test that validates that output. Please search for that text to add it there too. And would be nice to leave a comment since it’s that important!

Reverts linter change from runatlantis#3690 which breaks TF v1.1 detection
@cypres
Copy link
Contributor Author

cypres commented Jan 23, 2024

@cypres there is also a test that validates that output. Please search for that text to add it there too. And would be nice to leave a comment since it’s that important!

Thank you, I should have done that. Better now?

@GenPage GenPage added the bug Something isn't working label Jan 23, 2024
@GenPage GenPage merged commit d40b762 into runatlantis:main Mar 5, 2024
25 checks passed
@GenPage
Copy link
Member

GenPage commented Mar 5, 2024

/cherry-pick release-0.27

gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 8, 2024
Reverts linter change from #3690 which breaks TF v1.1 detection
GenPage pushed a commit that referenced this pull request Mar 8, 2024
Reverts linter change from #3690 which breaks TF v1.1 detection

Co-authored-by: Hans Arnholm <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working go Pull requests that update Go code
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

3 participants