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

Fixes install procedure for linux #27

Merged
merged 4 commits into from
Oct 17, 2019

Conversation

cruzzan
Copy link
Contributor

@cruzzan cruzzan commented Oct 14, 2019

Fixes #26

Hey there, when installing the CloudAMQP provider plugin i bumped into a few things in the install steps that didn't really work on my linux system, and some things that seemed off about the documentation and things around the project.

  • Directories that are needed for the build and release make targets will now be created before they are needed. (If they already exist, nothing happens)
  • I checked in the Gopkg.lock file since the file is needed in order to use the make depsupdate target at all. Note: I have not validated that all the package versions are compatible and that everything works. I beleive that the Gopkg.lock file should be checked in, so that the version sets are not changing without the devs actually having made sure that the newer versions work.
  • I added the -v flag to the command that is run by make depsupdate so that the user can see that things are happening. (The command ran for a long time for me and i wasn't sure if anything was actually happening)
  • I changed the download instructions for cloudamqp/terraform-provider-cloudamqp so that we are using go get instead of having to mess around with creating and downloading everything manually.
  • I changed the last step from make init to make install since i don't really understand what we are trying to do with the init...

I hope that at least most of this is useful. Please feel free to ask questions or challange what i am suggesting. Cheers and thanks! :)

* make build needs ~/.terraform/plugins to be present, so it is created
* make build need bin/ to be present, but the need is removed
* make release needs the bin/releases directories, so they are created

Fixes cloudamqp#26
* Use go get instead of manually downloading and manually creating
everything
* Substitute make init with make install
@tbroden84 tbroden84 merged commit 20d195f into cloudamqp:master Oct 17, 2019
dentarg pushed a commit that referenced this pull request Jun 5, 2024
Adds retry functionality when waiting on peering status. Issue reported for AWS when provisioning multiple instances, vpcs and peerings.

* Add retry functionality to wait for peering status
* Re-use wait for peering status in vpc_peering.go
* Refactor vpc_peering.go
* Refactor vpc_peering_withvpcid.go
dentarg pushed a commit that referenced this pull request Jun 5, 2024
Adds retry functionality when waiting on peering status. Issue reported for AWS when provisioning multiple instances, vpcs and peerings.

* Add retry functionality to wait for peering status
* Re-use wait for peering status in vpc_peering.go
* Refactor vpc_peering.go
* Refactor vpc_peering_withvpcid.go
dentarg pushed a commit that referenced this pull request Jun 5, 2024
Adds retry functionality when waiting on peering status. Issue reported for AWS when provisioning multiple instances, vpcs and peerings.

* Add retry functionality to wait for peering status
* Re-use wait for peering status in vpc_peering.go
* Refactor vpc_peering.go
* Refactor vpc_peering_withvpcid.go
dentarg pushed a commit that referenced this pull request Jun 5, 2024
Adds retry functionality when waiting on peering status. Issue reported for AWS when provisioning multiple instances, vpcs and peerings.

* Add retry functionality to wait for peering status
* Re-use wait for peering status in vpc_peering.go
* Refactor vpc_peering.go
* Refactor vpc_peering_withvpcid.go
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.

Create direcotries as needed on Linux hosts
2 participants