-
Notifications
You must be signed in to change notification settings - Fork 57
Conversation
5af671e
to
fa2bbba
Compare
[lib] | ||
crate-type = ["cdylib", "rlib"] |
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.
note: this change to the test artifact lets people run cargo install --git <this repo>
again. cargo
was picking this crate up as a binary you could install
fa2bbba
to
071a921
Compare
// NOTE(brooksmtownsend): This seems like a lot of work when I really just want to use AsyncRead | ||
// to pipe the response body into a file. I'm not sure if there's a better way to do this. | ||
let download_response = reqwest::get(url.clone()).await?; | ||
if download_response.status() != StatusCode::OK { | ||
return Err(anyhow!( | ||
"Failed to download wasmCloud host from {}. Status code: {}", | ||
url, | ||
download_response.status() | ||
)); | ||
} | ||
let wasmcloud_host_burrito = reqwest::get(url).await?.bytes().await?.to_vec(); |
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.
@thomastaylor312 Line 170 is the one that feels weird, in tandem with having to copy it with .as_slice()
c752762
to
1318296
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.
Just nits and questions
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.
c3c30c3
to
91751c8
Compare
91751c8
to
c800d36
Compare
Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]> cleanup TODOs, satisfy clippy Signed-off-by: Brooks Townsend <[email protected]> addressed test failures Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]> v2 Signed-off-by: Brooks Townsend <[email protected]> same port fail Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]>
c800d36
to
790d357
Compare
Signed-off-by: Brooks Townsend <[email protected]> un-re-de-comment integration build Signed-off-by: Brooks Townsend <[email protected]> removed test debugs Signed-off-by: Brooks Townsend <[email protected]> removed moar printlns Signed-off-by: Brooks Townsend <[email protected]> cfg idk Signed-off-by: Brooks Townsend <[email protected]> sleepy Signed-off-by: Brooks Townsend <[email protected]> sleepy Signed-off-by: Brooks Townsend <[email protected]> added debug info to failing test Signed-off-by: Brooks Townsend <[email protected]> removed kill-on-drop logic Signed-off-by: Brooks Townsend <[email protected]>
e58e2b9
to
854404d
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.
One really minor change around the default wasmcloud version. The rest is all optional
Signed-off-by: Brooks Townsend <[email protected]>
Feature or Problem
This PR adds support for running wasmCloud/wasmcloud-otp#616 artifacts (burrito releases) with
wash up
. This will be a significant breaking change and will bump the minimum wasmCloud version thatwash
can manage from0.57.1
(when we stopped using distillery) to0.63.0
.PR action items:
wash up
wash down
maintenance uninstall
to thewash drain
command (I think this can be done in a separate PR since burritos auto-upgrade)Related Issues
Fixes #464 after pulling in implementation from #527
Fixed #492
Release Information
wash
v0.18.0wash-lib
v0.9.0?? We may need to hold on merging this PR until we can release 0.18 as scheduledChanged to v0.18.0 as it makes sense to release this with wadm
Consumer Impact
Consumers won't notice a difference with running the wasmCloud host, only that the downloaded assets are a single binary
wasmcloud_host
instead of a tarball-ed directoryTesting
Built on platform(s)
Tested on platform(s)
Unit Test(s)
Acceptance or Integration
Manual Verification
As of creation, I've run
cargo run -- up
andcargo run -- up -d
which worked great.down
now works by using NATS to tell hosts to stop instead of executing themix release
, and I've verified that a variety of scenarios work well.