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

Run automated integrations with devnet #78

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Run automated integrations with devnet #78

merged 1 commit into from
Sep 11, 2023

Conversation

masih
Copy link
Member

@masih masih commented Aug 30, 2023

Set up devnet instantiation via GitHub Actions using pre-built images from lotus devnet and boost to speed up the build.

Set up CI caching to further speed up the testing for filecoin proof parameter downloads. As a result the entire devnet setup takes under 2 minutes.

Build the motion container from branch every time to test that current checked out branch does not break integration.

The integration test added in this PR is very minimal: it tests a round-trip PUT/GET to motion API. To reduce the scope of this PR further testcases will be added in separate commits.

See:

Fixes #60

@masih masih force-pushed the masih/devnet-ci branch 2 times, most recently from 695cfc0 to 6b31407 Compare September 1, 2023 14:50
@masih masih changed the title Test building boost containers on CI Run automated integrations with devnet Sep 8, 2023
masih added a commit that referenced this pull request Sep 8, 2023
Set up devnet instantiation via GitHub Actions using pre-built images
from lotus devnet and boost to speed up the build.

Set up CI caching to further speed up the testing for filecoin proof
parameter downloads. As a result the entire devnet setup takes under 2
minutes.

Build the motion container from branch every time to test that current
checked out branch does not break integration.

The integration test added in this PR is very minimal: it tests a
round-trip PUT/GET to motion API. To reduce the scope of this PR further
testcases will be added in separate commits.

See:
 - https://github.com/filecoin-shipyard/lotus-containers
@masih masih marked this pull request as ready for review September 8, 2023 17:58
masih added a commit that referenced this pull request Sep 8, 2023
Set up devnet instantiation via GitHub Actions using pre-built images
from lotus devnet and boost to speed up the build.

Set up CI caching to further speed up the testing for filecoin proof
parameter downloads. As a result the entire devnet setup takes under 2
minutes.

Build the motion container from branch every time to test that current
checked out branch does not break integration.

The integration test added in this PR is very minimal: it tests a
round-trip PUT/GET to motion API. To reduce the scope of this PR further
testcases will be added in separate commits.

See:
 - https://github.com/filecoin-shipyard/lotus-containers
Copy link
Contributor

@hannahhoward hannahhoward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

As you said in conversation, I think there's a follow-up ticket to add to the integration test to verify we're actually storing all the way to the Boost nodes.

However, even the test you have should fail if singularity setup fails, cause the API will never be spun up if the singularity store initialize fails, at least I think.

Please merge at will -- considering this approved, with questions mostly for my own edification.

Set up devnet instantiation via GitHub Actions using pre-built images
from lotus devnet and boost to speed up the build.

Set up CI caching to further speed up the testing for filecoin proof
parameter downloads. As a result the entire devnet setup takes under 2
minutes.

Build the motion container from branch every time to test that current
checked out branch does not break integration.

The integration test added in this PR is very minimal: it tests a
round-trip PUT/GET to motion API. To reduce the scope of this PR further
testcases will be added in separate commits.

See:
 - https://github.com/filecoin-shipyard/lotus-containers
@masih masih merged commit 95321a1 into main Sep 11, 2023
@masih masih deleted the masih/devnet-ci branch September 11, 2023 09:15
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.

Automated test of deal making round trip
2 participants