-
Notifications
You must be signed in to change notification settings - Fork 78
ping/rust: introduce rust cross-version test #26
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
Merged
laurentsenta
merged 35 commits into
libp2p:master
from
laurentsenta:feat/ping-interop-rust
Aug 22, 2022
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
6548fa1
ping/go: fix composition name
laurentsenta 6505fbe
ping/rust: introduce the ping/rust test
laurentsenta 8db58ae
ping/rust: experiment with master & current groups
laurentsenta ce08c04
ping/rust/src/main: Simplify import across versions
mxinden 62c913f
ping/rust/src/main: Remove commented out code
mxinden b166cfa
ping/rust/src/main: Clean up
mxinden da17abb
ping/rust/Dockerfile: Update crates.io index in separate step
mxinden 338e22a
ping/rust/Dockerfile: Don't both build and install
mxinden 4c36fec
ping/rust/src/main: Clean up log lines
mxinden 2f30015
ping/rust: Implement iterations with latency
mxinden e94f268
ping/rust/src/main: Extract signal and wait logic into fn
mxinden facd46e
ping/rust/Dockerfile: import caching fixes
laurentsenta b30658e
ping/: add cross-version composition
laurentsenta 05fa641
ping/rust: add json payloads fix
laurentsenta a9102c5
ping/rust: match iterations id with go
laurentsenta f630758
ping/rust/Dockerfile: improve caching
laurentsenta bbcd949
ci: introduce workflow ping-interop-rust
laurentsenta 646748b
ping/interop: update latest versions
laurentsenta 21f3a58
ping/_compositions: add full ping interop
laurentsenta d0a8b8f
ci: resolve git reference to sha
laurentsenta 631215e
ping/rust/Dockerfile: drop cargo output
laurentsenta 706bd1b
ping/rust: drop version indirection
laurentsenta 2dac3be
ping/rust/Dockerfile: fix features to support caching
laurentsenta 5c1c716
ping/rust/Dockerfile: do not cache the rewritten package
laurentsenta 152d14b
ping/_compositions/*: use concurrent_builds
laurentsenta a547468
ping/_compositions/*: drop test_instances count
laurentsenta 23568b2
ci: build composition then run
laurentsenta 1f723c0
ping: introduce InteropTarget option
laurentsenta 38f0f14
ci: fix interop target & build
laurentsenta 3e9439c
ping/_compositions/*: introduce load_resource
laurentsenta 92c9e63
ci: 10 minutes timeout for the run step
laurentsenta 4e05400
README: add update instruction for rust & clean go
laurentsenta ef66b36
ping/rust/Dockerfile: add protocol buffer compiler
laurentsenta 4ae0020
ping/rust/Cargo.lock: cargo update packages
laurentsenta dcce2f5
.github: increase testground timeout
laurentsenta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| testground_endpoint: | ||
| type: string | ||
| required: false | ||
| description: testground endpoint | ||
| custom_git_reference: | ||
| type: string | ||
| required: false | ||
| description: rust ref | ||
| custom_git_target: | ||
| type: string | ||
| required: false | ||
| description: repository to use as replace target | ||
| default: github.com/libp2p/rust-libp2p | ||
|
|
||
| name: rust-libp2p ping - rust test with testground. | ||
|
|
||
| jobs: | ||
| run-libp2p-test-plans: | ||
| # If you intend to use this workflow from another repo, | ||
| # you need to pass the repo and the version: | ||
| # uses: "libp2p/test-plans/.github/workflows/run-composition.yml@master" | ||
| uses: "./.github/workflows/run-composition.yml" | ||
| with: | ||
| composition_file: "ping/_compositions/rust-cross-versions.toml" | ||
| custom_git_target: ${{ github.event.inputs.custom_git_target }} # nothing or "some-fork/go-libp2p" | ||
| custom_git_reference: ${{ github.event.inputs.custom_git_reference }} # a git reference | ||
| testground_endpoint: ${{ github.event.inputs.testground_endpoint }} |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| testground_endpoint: | ||
| type: string | ||
| required: false | ||
| description: testground endpoint | ||
| custom_git_reference: | ||
| description: the git commit or branch we're going to use for the custom target | ||
| required: false | ||
| type: string | ||
| custom_git_target: | ||
| description: the custom git fork url we're going to use for the custom target (github.com/some-fork/rust-libp2p) | ||
| required: false | ||
| type: string | ||
| custom_interop_target: | ||
| description: in the case of cross-implementation testing, the implementation target (go | rust | ...) | ||
| required: false | ||
| type: string | ||
|
|
||
| name: libp2p ping - go and rust test with testground. | ||
|
|
||
| jobs: | ||
| run-ping-latest: | ||
| uses: "./.github/workflows/run-composition.yml" | ||
| with: | ||
| composition_file: "ping/_compositions/go-rust-interop-latest.toml" | ||
| custom_git_target: ${{ github.event.inputs.custom_git_target }} # nothing or "some-fork/go-libp2p" | ||
| custom_git_reference: ${{ github.event.inputs.custom_git_reference }} # a git reference | ||
| custom_interop_target: ${{ github.event.inputs.custom_interop_target }} # go | rust | ||
| testground_endpoint: ${{ github.event.inputs.testground_endpoint }} | ||
| run-ping-all: | ||
| uses: "./.github/workflows/run-composition.yml" | ||
| with: | ||
| composition_file: "ping/_compositions/go-rust-interop.toml" | ||
| custom_git_target: ${{ github.event.inputs.custom_git_target }} # nothing or "some-fork/go-libp2p" | ||
| custom_git_reference: ${{ github.event.inputs.custom_git_reference }} # a git reference | ||
| custom_interop_target: ${{ github.event.inputs.custom_interop_target }} # go | rust | ||
| testground_endpoint: ${{ github.event.inputs.testground_endpoint }} |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀