-
Notifications
You must be signed in to change notification settings - Fork 111
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
ci: optimize upgrade tests by downloading binaries #2433
Conversation
WalkthroughThe changes primarily focus on updating the Changes
Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
eca49f1
to
1fd00e3
Compare
1fd00e3
to
6e52c2b
Compare
6e52c2b
to
b471960
Compare
b471960
to
1f35b46
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (2)
- Dockerfile-localnet (2 hunks)
- Makefile (1 hunks)
Files skipped from review due to trivial changes (1)
- Makefile
Additional comments not posted (3)
Dockerfile-localnet (3)
Line range hint
64-72
:
LGTM!The renaming of the
old-build
stage toold-build-source
and the steps to clone, fetch, checkout, and install the old version are clear and align with the objective. These changes are approved.
73-77
: LGTM!The addition of the
old-runtime-source
stage and theCOPY
commands fromcosmovisor-build
andold-build-source
are consistent with the objective of supporting the option to build from source. These changes are approved.
81-88
: LGTM!The modifications to the
old-runtime
stage, including the addition ofARG BUILDARCH
and theCOPY
commands, along with downloading binaries from GitHub releases, align with the objective of optimizing the upgrade tests. These changes are approved.
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (2)
- Dockerfile-localnet (2 hunks)
- Makefile (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- Dockerfile-localnet
- Makefile
Description
Download binaries rather than compiling from source in the upgrades tests when possible. This makes the light upgrade tests only ~2 minutes slower than the normal e2e tests.
Use release binaries from zeta-chain/ci-testing-node which include some needed fixes for
release/v17
.User can opt into building from source by doing
UPGRADE_TEST_FROM_SOURCE=true make start-upgrade-test-light
.Closes #2179
How Has This Been Tested?
Summary by CodeRabbit
New Features
zetanode-upgrade
to allow building from binaries or source.Chores