- Notifications
You must be signed in to change notification settings - Fork1k
feat: Add provisionerd protobuf definitions#83
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
48527f7
c7c7388
ace6248
2bd0c42
2dc34f6
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Generated files | ||
peerbroker/proto/*.golinguist-generated=true | ||
provisionerd/proto/*.golinguist-generated=true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Thanks for adding this 👍 | ||
provisionersdk/proto/*.golinguist-generated=true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -3,7 +3,12 @@ bin/coderd: | ||
go build -o bin/coderd cmd/coderd/main.go | ||
.PHONY: bin/coderd | ||
bin/provisionerd: | ||
mkdir -p bin | ||
go build -o bin/provisionerd cmd/provisionerd/main.go | ||
.PHONY: bin/provisionerd | ||
Comment on lines +6 to +9 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Nice! This is a big chunk to get in towards black triangle 🎉 | ||
build: site/out bin/coderd bin/provisionerd | ||
.PHONY: build | ||
# Runs migrations to output a dump of the database. | ||
@@ -38,27 +43,34 @@ fmt/sql: ./database/query.sql | ||
fmt: fmt/prettier fmt/sql | ||
.PHONY: fmt | ||
gen: database/generate peerbroker/proto provisionersdk/proto provisionerd/proto | ||
.PHONY: gen | ||
peerbroker/proto: peerbroker/proto/peerbroker.proto | ||
protoc \ | ||
--go_out=. \ | ||
--go_opt=paths=source_relative \ | ||
--go-drpc_out=. \ | ||
--go-drpc_opt=paths=source_relative \ | ||
./peerbroker/proto/peerbroker.proto | ||
.PHONY: peerbroker/proto | ||
provisionerd/proto: provisionerd/proto/provisionerd.proto | ||
protoc \ | ||
--go_out=. \ | ||
--go_opt=paths=source_relative \ | ||
--go-drpc_out=. \ | ||
--go-drpc_opt=paths=source_relative \ | ||
./provisionerd/proto/provisionerd.proto | ||
.PHONY: provisionerd/proto | ||
provisionersdk/proto: provisionersdk/proto/provisioner.proto | ||
protoc \ | ||
--go_out=. \ | ||
--go_opt=paths=source_relative \ | ||
--go-drpc_out=. \ | ||
--go-drpc_opt=paths=source_relative \ | ||
./provisionersdk/proto/provisioner.proto | ||
.PHONY: provisionersdk/proto | ||
site/out: | ||
Large diffs are not rendered by default.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.