Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

CI: test infra scripts. #368

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from
Draft

CI: test infra scripts. #368

wants to merge 38 commits into from

Conversation

raulk
Copy link
Contributor

@raulk raulk commented Oct 30, 2023

No description provided.

raulk and others added 30 commits October 24, 2023 18:33
We really shouldn't be needing this...
Currently, these scripts build a Docker image. Simultaneously, they
also expect a local Fendermint binary. It is strictly used to craft
the genesis block.

This is suboptimal because it requires duplicate compilation work,
thus slowing down the user who just wants to get started quickly.

The cargo graphs involved here are also quite heavy (1200+ packages),
and some dependencies like rocksdb can take over 20min to compile.

This PR adapts the testnode target/tasks to use the Fendermint binary
inside the Docker image.

In the future, the Docker image can be downloaded to make getting from
zero to hero even breezier.

TODO: adapt the testnet targets. This will require a bit more work since
they use loops within scripts.
This also removes a significant amount of logic duplication
between the testnode and testnet variants.

More cleanup is needed.
- Detail system prerequisites (e.g. Docker, Rust, etc.) and provide
  instructions for Linux (Ubuntu).
- Add missing details for when users start from scratch (which is the
  most probable scenario).
- Add explanations and clean up.
... since the infra scripts now use Docker images.
Base automatically changed from raulk/fix-localnet-script to main October 31, 2023 15:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants