-
Notifications
You must be signed in to change notification settings - Fork 20
Switch to the new version of jacogr/polkadot-js-tools #1594
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
Conversation
e13b7e5
to
e2b5862
Compare
e2b5862
to
c591bcb
Compare
Tested with: docker run --platform=linux/amd64 --pull always --network host jacogr/polkadot-js-tools:0.55.3 metadata wss://1.rpc.frequency.xyz wss://rpc.rococo.frequency.xyz
Working dir Fix bin dir
f2fbf5d
to
c94a44d
Compare
@@ -517,40 +526,48 @@ jobs: | |||
run: | | |||
chmod 755 $TEST_BIN_FILENAME | |||
chmod 755 $REF_BIN_FILENAME | |||
- name: Docker network | |||
run: docker network create net-${{env.RELEASE_BRANCH_NAME}} |
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.
Pretty slick. I like this idea. Wondering if this approach may help us to resolve running docker in docker issues... 🤔
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.
Nice 👍🏻 . I've noticed that it contains my changes from unreleased PR that I haven't yet tested with all release scenarios (full release, UI triggered, etc.). But my changes are trivial and I will re-test them in #1601
@@ -153,7 +155,8 @@ jobs: | |||
matrix: | |||
# This job intermittently fails on EKS runners and must be run on standalone until | |||
# https://www.pivotaltracker.com/story/show/185045683 is resolved. | |||
os: [[self-hosted, Linux, X64, build]] | |||
# os: [[self-hosted, Linux, X64, testing, v2], [self-hosted, Linux, ARM64, testing, v2]] | |||
os: [[self-hosted, Linux, X64, testing, v2]] |
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.
What is the purpose of "testing" and "v2"?
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.
These are the new eks runners.
run: | | ||
CMD="docker run --pull always --network host frequencychain/polkadot-js-tools:v0.52.29 metadata ws://localhost:9946 ws://localhost:9944" | ||
CMD="docker run --pull always --net=net-${{env.RELEASE_BRANCH_NAME}} jacogr/polkadot-js-tools:0.55.3 metadata ws://ref-node:9944 ws://test-node:9944" |
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.
If you specify "--pull always" to get the latest version, do you still need to specify 0.55.3?
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.
--pull always
doesn't affect the version that gets pulled. It specifies to always pull the image regardless of whether or not the image is already cached locally.
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.
Makes sense to me 🚀
# Goal The goal of this PR is to upgrade the polkadotjs tools for metadata comparison. Closes #1230 This also includes PR #1601 for expediency. So also part of #1362 Ended up needing to run each one in a docker container with a new docker network. This allowed everything to talk correctly. # Checklist - [x] Tested with: make start + docker run --rm --platform=linux/amd64 --pull always jacogr/polkadot-js-tools:0.55.3 metadata wss://1.rpc.frequency.xyz ws://host.docker.internal:9944 - [x] Tested with test release Running: https://github.com/LibertyDSNP/frequency/actions/runs/5282806513 --------- Co-authored-by: Dmitri <[email protected]>
Goal
The goal of this PR is to upgrade the polkadotjs tools for metadata comparison.
Closes #1230
This also includes PR #1601 for expediency. So also part of #1362
Ended up needing to run each one in a docker container with a new docker network. This allowed everything to talk correctly.
Checklist