Skip to content
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

Rapha/dockerization #101

Closed
wants to merge 61 commits into from
Closed

Rapha/dockerization #101

wants to merge 61 commits into from

Conversation

shifty11
Copy link
Contributor

No description provided.

kchrist-rocketfueldev and others added 30 commits October 26, 2023 09:40
- Create runtime gRPC proto definition
- gRPC implementation for tendermint runtime
- Implementation of calling runtime methods from core
- Add separate interface for gRPC runtime

Signed-off-by: Kostas Christopoulos <[email protected]>
- Add CLI commands for calling the runtime directly.
- Change dist path.
- Migrate tendrmint functionality to grpc runtime
- Update docker proxy calling interface
- Fix Dockerfile to allow runtime.proto.
- Reduce Dockerfile stages for optimization.
- Update documentation to include instructions on how to run the image.

Signed-off-by: Kostas Christopoulos <[email protected]>
- Removes second interface implementd for docker integrations
- Removes refactoring to core to call the new interface

Signed-off-by: Kostas Christopoulos <[email protected]>
- cleanup various stuff
- apply docker and code fixes to comply with new file structur

Signed-off-by: Kostas Christopoulos <[email protected]>
- Adapt proto file to needs, remove unneeed stuff, fix types
- Updated changelog and readme
- Add scripts exporting grpc typescript code

Signed-off-by: Kostas Christopoulos <[email protected]>
 * Place the 'runtime.proto' file in 'common/types/src/protos' and use
   it as the source of truth.
 * Change the 'export-grpc-stubs' script in the root of the repo to loop
   through all dirs under 'docker-integrations' and compile the TS files
   from the 'runtime.proto' which is defined in the first bullet.
 * In the index.ts of the 'tendermint-grpc' docker integration, remove
   the dependency of importing the runtime.proto and only use the
   compiled TS files.

Signed-off-by: Harry Touloupas <[email protected]>
The linter can be run from the root of the repo with 'yarn lint'

Signed-off-by: Harry Touloupas <[email protected]>
- remove not needed files

Signed-off-by: Kostas Christopoulos <[email protected]>
Attach the 'shutdown' function to be run when the process receives
SIGINT or SIGTERM. Also add some ESLint configuration files and change
the scripts to use them.

Signed-off-by: Harry Touloupas <[email protected]>
Signed-off-by: Kostas Christopoulos <[email protected]>
- move proto from types to protocal
- updated proto to work with new voting functionality
- updated client/server to work with new proto

Signed-off-by: Kostas Christopoulos <[email protected]>
Signed-off-by: Kostas Christopoulos <[email protected]>
Signed-off-by: Kostas Christopoulos <[email protected]>
The TARGETARCH build argument for Docker is available by default and can
 be 'amd64' or 'arm64' (between others). Use it to extract the correct
 binary architecture we need to build and copy that to the runtime stage
  of both core and the tendermint runtime.

Also add .dockerignore to all 'common/*' in order to minimize the build
context.

Signed-off-by: Harry Touloupas <[email protected]>
Signed-off-by: Kostas Christopoulos <[email protected]>
@shifty11 shifty11 marked this pull request as draft November 23, 2023 15:31
@shifty11 shifty11 changed the title Rapha/dockerization [WIP] Rapha/dockerization Nov 23, 2023
@shifty11 shifty11 marked this pull request as ready for review November 27, 2023 08:58
@shifty11 shifty11 changed the title [WIP] Rapha/dockerization Rapha/dockerization Nov 27, 2023
@shifty11 shifty11 closed this May 20, 2024
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.

4 participants