-
Notifications
You must be signed in to change notification settings - Fork 43
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
Support other repos using the multidim interop tests #99
Conversation
833f651
to
a644753
Compare
tagging either @mxinden or @marten-seemann for review please :) |
@@ -1,82 +0,0 @@ | |||
name: start testground |
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.
🎉
🚀 |
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.
Steps and code looks good to me. That said, I am not a GitHub action expert. I would assume Laurent and Piotr would be better as reviewers.
@jxs would you mind doing the changes of libp2p/go-libp2p#1991 for rust-libp2p?
@MarcoPolo I don't have an opinion on whether to block on libp2p/go-libp2p#1991 in rust-libp2p, or merge early here.
Great to see this happening. Thanks @MarcoPolo.
@galargh do you mind reviewing the GitHub workflow here? |
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.
I reviewed .github/workflows/run-testplans.yml
only. One note on download-artifact
usage. Otherwise, looks good.
- uses: actions/download-artifact@v3 | ||
if: ${{ inputs.extra-versions != '' }} | ||
with: | ||
name: ${{ inputs.extra-versions }} | ||
path: /tmp/extra-versions | ||
- uses: actions/download-artifact@v3 | ||
if: ${{ inputs.image-tar != '' }} | ||
with: | ||
name: ${{ inputs.image-tar }} | ||
path: /tmp/images/ |
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.
Just an FYI, these can only download artifacts from the same workflow run.
If you want to share artifacts between builds, you could use gh run download
from GH CLI. We use it in GitHub Management for example, https://github.com/protocol/github-mgmt-template/blob/master/.github/workflows/apply.yml#L93-L97 (here, we get the most recent artifact with a given name that was uploaded by one of the repos workflows).
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.
Cool tip! Not needed for this PR, but I can imagine it being useful in other cases. I guess you have to keep in mind the 90 day limit of artifacts.
Currently, we can't merge any PRs until this is fixed. See for example: libp2p/rust-libp2p#3324 |
Update required rust-libp2p workflows to remove the stale interoperability tests. Addresses libp2p/test-plans#99 (comment)
Features:
How to use this with other repos:
needs
) the previous job. And pass in the proper input parameters. ExampleExample run that tests across versions and impl for go-libp2p-head: https://github.com/libp2p/go-libp2p/actions/runs/3894748269