Skip to content
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

Cherry-pick ci fixes to release/v0.73.x branch #4288

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

conorsch
Copy link
Contributor

Describe your changes

Ports the CI fixes in #4282 & #4286 to the release branch for the current testnet. Doing this so that today's point release for #4284 will include new build artifacts.

Involved some manual conflict-resolution, particularly around RUSTFLAGS, preserving the overrides since we haven't dropped the requirement for the tokio unstable flag in the release branches yet. Made sure to test the latest copy of the release workflow on a private fork.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    build/ci only

Bumps the cargo-dist dependency, and regenerates the relevant CI files.
Tested these changes in a private fork, so we can be confident they
won't break builds.

Motivated by deprecation warnings in cargo-dist declaring that pinning
rust versions should use `rust-toolchain.toml`, updated ours to pin
1.75. Standardizing on the toolchain file lets us remove repeated
versions from a few different places, such as the containerbuild.
Removed custom action helpers from Rust CI workflows, because GHA
runners already come with rustup, and will honor the toolchain file.
This change ensures that our dev, build, and test environments all
use the same version of rust, which should minimize surprises like we
saw in #4231.

Included in the release artifacts now is a complete source tarball
with associated checksum, as requested in #4195. We're also distributing
binaries compressed as .tar.gz, rather than .tar.xz, to satisfy #4256,
and opting into a custom install script to satisfy #4255. Therefore:

* closes #4195
* closes #4255
* closes #4256

(cherry picked from commit 36280c4)

Involved some manual conflict-resolution, particularly around RUSTFLAGS,
preserving the overrides since we haven't dropped the requirement for
the tokio unstable flag in the release branches yet.

ci: fix rust-toolchain.toml in container

Follow-up to #4282, ensuring that the rust-toolchain.toml makes it into
the container image, otherwise it'll throw an error on image build.
Observed this on the post-merge preview deploy.

(cherry picked from commit 8d3f4f9)
@conorsch conorsch merged commit 6a39454 into release/v0.73.x Apr 29, 2024
10 checks passed
@conorsch conorsch deleted the backport-ci-fixes-to-73 branch April 29, 2024 22:22
conorsch added a commit that referenced this pull request Apr 29, 2024
Refs #4288, #4284. Ports the latest tooling commit
to the guide. Updates the installer logic to make use of the new
cargo-dist installer scripts, so that macOS instructions are
copy/pasteable in the guide (#4255) and use .tar.gz for archive format
(#4256). I opted to leave the pd instructions largely as they are.
@conorsch conorsch mentioned this pull request Apr 29, 2024
1 task
conorsch added a commit that referenced this pull request Apr 30, 2024
Refs #4288, #4284. Ports the latest tooling commit
to the guide. Updates the installer logic to make use of the new
cargo-dist installer scripts, so that macOS instructions are
copy/pasteable in the guide (#4255) and use .tar.gz for archive format
(#4256). I opted to leave the pd instructions largely as they are.
@cratelyn cratelyn added this to the Sprint 5 milestone May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants