-
Notifications
You must be signed in to change notification settings - Fork 887
feat: Create provisioner abstraction #12
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
Conversation
Creates a provisioner abstraction that takes prior art from the Terraform plugin system. It's safe to assume this code will change a lot when it becomes integrated with provisionerd. Closes #10.
Codecov Report
@@ Coverage Diff @@
## main #12 +/- ##
==========================================
- Coverage 69.93% 69.48% -0.45%
==========================================
Files 10 15 +5
Lines 735 888 +153
==========================================
+ Hits 514 617 +103
- Misses 177 212 +35
- Partials 44 59 +15
Continue to review full report at Codecov.
|
) | ||
|
||
// Provision executes `terraform apply`. | ||
func (t *terraform) Provision(ctx context.Context, request *proto.Provision_Request) (*proto.Provision_Response, error) { |
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.
@kylecarbs should we name this according to the canonical action names instead of Provision
?
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.
Hmm. So WorkspaceProvision
instead?
Creates a provisioner abstraction that takes prior art from the Terraform plugin system. It's safe to assume this code will change a lot when it becomes integrated with provisionerd.
Closes #10.