Skip to content

feat: Add provisionerd protobuf definitions - #83

Merged
kylecarbs merged 5 commits into
mainfrom
provisionerdproto
Jan 29, 2022
Merged

feat: Add provisionerd protobuf definitions#83
kylecarbs merged 5 commits into
mainfrom
provisionerdproto

Conversation

@kylecarbs

@kylecarbs kylecarbs commented Jan 29, 2022

Copy link
Copy Markdown
Member

Provisionerd communicates with coderd over a multiplexed
WebSocket serving dRPC. This adds a roughly accurate protocol
definition.

It shares definitions with "provisioner.proto" for simple
interop with provisions!

This modifies a prior migration which is typically forbidden,
but because we're pre-production deployment I felt grouping
would be helpful to future contributors.

This adds database functions that are required for the provisioner
daemon and job queue logic.
Adds a projectparameter package to compute build-time project
values for a provided scope.

This package will be used to return which variables are being
used for a build, and can visually indicate the hierarchy to
a user.
Provisionerd communicates with coderd over a multiplexed
WebSocket serving dRPC. This adds a roughly accurate protocol
definition.

It shares definitions with "provisioner.proto" for simple
interop with provisioners!
@kylecarbs kylecarbs self-assigned this Jan 29, 2022
@codecov

codecov Bot commented Jan 29, 2022

Copy link
Copy Markdown

Codecov Report

Merging #83 (2dc34f6) into main (b3c5bb3) will decrease coverage by 0.25%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
- Coverage   71.70%   71.45%   -0.26%     
==========================================
  Files          89       89              
  Lines        3563     3563              
  Branches       55       55              
==========================================
- Hits         2555     2546       -9     
- Misses        787      794       +7     
- Partials      221      223       +2     
Flag Coverage Δ
unittest-go-macos-latest 67.15% <ø> (ø)
unittest-go-ubuntu-latest 69.56% <ø> (-0.04%) ⬇️
unittest-go-windows-latest 67.04% <ø> (-0.07%) ⬇️
unittest-js 78.30% <ø> (ø)
Impacted Files Coverage Δ
peer/conn.go 73.47% <0.00%> (-2.75%) ⬇️

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 b3c5bb3...2dc34f6. Read the comment docs.

@kylecarbs
kylecarbs changed the base branch from main to projectparameter January 29, 2022 16:04
Comment thread .gitattributes
@@ -1,3 +1,4 @@
# Generated files
peerbroker/proto/*.go linguist-generated=true
provisionerd/proto/*.go linguist-generated=true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this 👍

Comment thread Makefile
Comment on lines +6 to +9
bin/provisionerd:
mkdir -p bin
go build -o bin/provisionerd cmd/provisionerd/main.go
.PHONY: bin/provisionerd

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! This is a big chunk to get in towards black triangle 🎉

Base automatically changed from projectparameter to main January 29, 2022 23:45
@kylecarbs
kylecarbs merged commit 2b922b1 into main Jan 29, 2022
@kylecarbs
kylecarbs deleted the provisionerdproto branch January 29, 2022 23:52
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.

2 participants