-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add architecture diagram to readme - Refactor proto interface, to inline fields - Add build script - Recompile proto files Signed-off-by: encalada <[email protected]>
- Loading branch information
Showing
10 changed files
with
67 additions
and
48 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
# Env Vars: | ||
# REGISTRY: name of the image registry/namespace to store the images | ||
# | ||
# NOTE: to run this you MUST set the REGISTRY environment variable to | ||
# your own image registry/namespace otherwise the `docker push` commands | ||
# will fail due to an auth failure. Which means, you also need to be logged | ||
# into that registry before you run it. | ||
|
||
export REGISTRY=${REGISTRY:-icr.io/codeengine} | ||
|
||
# Build the images | ||
docker build -f Dockerfile.client -t "${REGISTRY}"/grpc-client . --platform linux/amd64 | ||
docker build -f Dockerfile.server -t "${REGISTRY}"/grpc-server . --platform linux/amd64 | ||
|
||
# And push it | ||
docker push "${REGISTRY}"/grpc-client | ||
docker push "${REGISTRY}"/grpc-server |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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