-
Notifications
You must be signed in to change notification settings - Fork 10
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
build: docker-compose #190
Merged
Merged
Conversation
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
Contributor
pepyakin
commented
Jan 11, 2024
•
edited
Loading
edited
This was referenced Jan 11, 2024
Merged
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
45643ae
to
c4dd651
Compare
c09b8b6
to
4a9f29e
Compare
This behavior is useful for testing. Specifically, for simple detection of "healthiness" of the chain just after starting up.
Makes it possible to configure a timeout from the rollup_config.toml. At the same time increased the timeout for the sovereign demo.
Set the namespace used for the gm demo that is compatible with the current version. Specifically, the current version requires to be the version byte (0th index) be zero and the reserved bytes (1..5th indicies) be zero as well.
This changeset is meant to improve the logging. Basically committing whatever logging changes that I did for debugging issues with the demo.
This commit introduces docker/docker-compose.yml. Thanks to it you can now spin up a network with just one command: docker compose -f docker/docker-compose.yml --build up That will launch the polkadot localnet, the parachain node, the shim and the demoes: gm (based on rollkit) and the sovereign demo. Besides that this commit adds explicit cache IDs: that seems to improve the caching behavior when running builds from docker-compose. Atm, parity/polkadot image isn't multi-arch and doesn't support arm64. To properly support macOS builds I opted to build the whole thing inside amd64. It seems it has ok performance. Also, I wrapped the docker entrypoints in tini. This solves the problem of propagating the SIGTERM/SIGINT when stopping the services.
c4dd651
to
7135f42
Compare
4a9f29e
to
ce360ee
Compare
7135f42
to
dda2dda
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.