Skip to content

Run plan with two instances based on two different builds #1305

@mxinden

Description

@mxinden

👋 libp2p steward here.

Description

My larger goal is to test that go-libp2p and rust-libp2p are compatible.

As a first step I would like to:

  • Run two instances, one based on go-libp2p, one based on rust-libp2p.
  • Connecting to each other.
  • Exchanging libp2p ping protocol messages.

I have a first proof-of-concept here: libp2p/test-plans#20

Here I define two test plans, one Golang based, one Rust based:

I then define a compositional test plan which uses the outputs of the two standard plans above and overrides the [groups.run] artifact with the corresponding Docker images

https://github.com/libp2p/test-plans/pull/20/files#diff-2266c0d0d968091b0c145b03fb719583bc664631ccda4e844e07b1852e15cfe1

This is a very manual process. I first have to build both standard test plans, scan the output for the Docker image names, update the compositional test plan and only then execute it.

Can the same be achieved in an automatic fashion, excluding the manual steps? If not, is supporting this use-case on the roadmap?

Feedback on libp2p/test-plans#20 directly is also much appreciated.

//CC @nonsense

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions