-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
terraform: build all known 0.10 plugins in Hydra
- Loading branch information
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e8b8864
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @zimbatm @shlevy
e8b8864
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copumpkin sounds good but aren't you using the other providers? Some other plugins I'm using: terraform, template, random, local, vault, mailgun
e8b8864
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add them later otherwise
e8b8864
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I didn't realize
template
was a separate provider, so I'll add that. I don't use the others, but I welcome additions.e8b8864
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since all the plugins are just copied & pasted code right now, I might make a function for building one of the standard TF providers.
e8b8864
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got a script to auto-generate all the plugins. I'm just waiting for the github rate-limit to calm down before testing it proper: https://github.com/zimbatm/nixpkgs/tree/terraform-update-all
e8b8864
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Rather than generate repetitive Nix code though, I'd rather factor out the common stuff. The updater would still be good since the hashes and versions would need to be determined, but it always makes me uneasy to codegen repetitive code in a language that can express the repetition natively.
e8b8864
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah good idea, making the change