Skip to content

Commit

Permalink
Packaging Fixes (#803)
Browse files Browse the repository at this point in the history
- Updates SHA256 digests, which were out of sync (... and correctly reporting "digest mismatch", which is good, I suppose)
- Reverts to an older version of indicatif to avoid hitting console-rs/indicatif#405 , which has not been fixed yet
  • Loading branch information
smklein authored Mar 23, 2022
1 parent 3ac893e commit caf8a4a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
9 changes: 4 additions & 5 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions package-manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ repo = "crucible"
commit = "aec731421ddbb6f5ec733185b82493bcf62c8011"
# The SHA256 digest is automatically posted to:
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/crucible/image/<commit>/crucible.sha256.txt
sha256 = "fc7ee178a3320b53e2975fa38cbde4bbb9b68c71ddcc5aeff61bdce519b2f4d7"
sha256 = "c024e5ea6715f43e416e83bbc0327ec166e22886a81dcd9fe5adff36cc327dcc"

# Refer to
# https://github.com/oxidecomputer/propolis/blob/master/package/README.md
Expand All @@ -87,4 +87,4 @@ zone = true
type = "prebuilt"
repo = "propolis"
commit = "e984409a425df97338efa2c53ba3e40c73668638"
sha256 = "0c7bd314614f9413493558d7592d67156089887ab9736149934518c12ebd125f"
sha256 = "206ef42e90d157e3314f4745ddb4422b3c93a16881749824037853e6f39f3762"
2 changes: 1 addition & 1 deletion package/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crossbeam = "0.8"
flate2 = "1.0.22"
futures = "0.3.21"
hex = "0.4.3"
indicatif = { version = "0.17.0-rc.9", features = ["rayon"] }
indicatif = { version = "0.16.2", features = ["rayon"] }
omicron-common = { path = "../common" }
omicron-zone-package = { version = "0.2.0" }
rayon = "1.5"
Expand Down
6 changes: 3 additions & 3 deletions package/src/bin/omicron-package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ async fn do_package(config: &Config, output_directory: &Path) -> Result<()> {
},
);

tokio::try_join!(external_pkg_stream, internal_pkg_stream,)?;
tokio::task::spawn_blocking(move || ui.multi.join());
tokio::try_join!(external_pkg_stream, internal_pkg_stream)?;

Ok(())
}

Expand Down Expand Up @@ -412,14 +414,12 @@ fn in_progress_style() -> ProgressStyle {
.template(
"[{elapsed_precise}] {bar:40.cyan/blue} {pos:>7}/{len:7} {msg}",
)
.unwrap()
.progress_chars("#>.")
}

fn completed_progress_style() -> ProgressStyle {
ProgressStyle::default_bar()
.template("[{elapsed_precise}] {bar:40.cyan/blue} {pos:>7}/{len:7} {msg:.green}")
.unwrap()
.progress_chars("#>.")
}

Expand Down

0 comments on commit caf8a4a

Please sign in to comment.