Skip to content

Commit

Permalink
[xtask] Convert ci_download bash scripts to Rust (#5481)
Browse files Browse the repository at this point in the history
Implements `cargo xtask download`, which provides options to replace the
existing scripts:

- ci_download_clickhouse
- ci_download_cockroachdb
- ci_download_console
- ci_download_dendrite_openapi
- ci_download_dendrite_stub
- ci_download_maghemite_mgd
- ci_download_maghemite_openapi
- ci_download_softnpu_machinery
- ci_download_thundermuffin
- ci_download_transceiver_control

This PR additionally introduces the `cargo xtask download all` option,
which attempts to download all artifacts concurrently.

Somewhat related to #3939
  • Loading branch information
smklein authored May 31, 2024
1 parent aade5ad commit b0dfd53
Show file tree
Hide file tree
Showing 4 changed files with 904 additions and 2 deletions.
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions dev-tools/xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,20 @@ camino.workspace = true
cargo_toml = "0.20"
cargo_metadata.workspace = true
clap.workspace = true
flate2.workspace = true
futures.workspace = true
macaddr.workspace = true
md5 = "0.7.0"
reqwest = { workspace = true, features = [ "default-tls" ] }
serde.workspace = true
sha2.workspace = true
slog.workspace = true
slog-async.workspace = true
slog-bunyan.workspace = true
slog-term.workspace = true
strum.workspace = true
tar.workspace = true
tokio = { workspace = true, features = ["full"] }
toml.workspace = true
fs-err.workspace = true
swrite.workspace = true
Loading

0 comments on commit b0dfd53

Please sign in to comment.