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

ci: update cargo-dist 0.5.0 -> 0.13.3 #4282

Merged
merged 1 commit into from
Apr 29, 2024
Merged

ci: update cargo-dist 0.5.0 -> 0.13.3 #4282

merged 1 commit into from
Apr 29, 2024

Conversation

conorsch
Copy link
Contributor

@conorsch conorsch commented Apr 29, 2024

Describe your changes

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:

Issue ticket number and link

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:

    docs and ci only, no code changes

@conorsch
Copy link
Contributor Author

Post-merge, I'd like cherry-pick this commit onto the release branch for the current testnet, release/0.73.x, in preparation for a point release containing a pcli fix: #4235

@conorsch
Copy link
Contributor Author

in preparation for a point release containing a pcli fix: #4235

#4284

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
@conorsch conorsch force-pushed the ci-rust-toolchain branch from 9b4e64b to da0ee0e Compare April 29, 2024 19:21
@conorsch conorsch merged commit 36280c4 into main Apr 29, 2024
13 checks passed
@conorsch conorsch deleted the ci-rust-toolchain branch April 29, 2024 19:44
conorsch added a commit that referenced this pull request Apr 29, 2024
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.
conorsch added a commit that referenced this pull request Apr 29, 2024
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.
conorsch added a commit that referenced this pull request Apr 29, 2024
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 added a commit that referenced this pull request Apr 29, 2024
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 added a commit that referenced this pull request Apr 29, 2024
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)
@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
Status: Done
3 participants