Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
update client
Browse files Browse the repository at this point in the history
  • Loading branch information
senia-psm committed Feb 24, 2024
1 parent 47074fb commit 7ce562e
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ clap = { version = "4.4.12", features = ["derive"] }
clap-verbosity-flag = "2.1.1"
derive_more = "0.99.17"
futures-util = "0.3.30"
golem-client = "0.0.60"
golem-client = "0.0.62"
golem-examples = "0.1.11"
http = "1.0.0"
indoc = "2.0.4"
Expand Down
Binary file modified test-templates/auction.wasm
Binary file not shown.
Binary file modified test-templates/auction_registry_composed.wasm
Binary file not shown.
Binary file modified test-templates/environment-service.wasm
Binary file not shown.
Binary file modified test-templates/interruption.wasm
Binary file not shown.
Binary file modified test-templates/write-stdout.wasm
Binary file not shown.
7 changes: 7 additions & 0 deletions tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ impl CliLive {
pub fn make(context: &ContextInfo) -> Result<CliLive, Failed> {
let golem_cli_path = PathBuf::from("./target/debug/golem-cli");

println!(
"CLI with template port {} and worker port {}",
context.golem_template_service.local_http_port,
context.golem_worker_service.local_http_port
);

if golem_cli_path.exists() {
Ok(CliLive {
config: CliConfig { short_args: false },
Expand Down Expand Up @@ -99,6 +105,7 @@ impl CliLive {
.env("GOLEM_WORKER_BASE_URL", self.worker_base_url())
.arg(self.config.arg('F', "format"))
.arg("json")
.arg("-v")
.args(args)
.output()?;

Expand Down
2 changes: 1 addition & 1 deletion tests/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::path::PathBuf;
use testcontainers::clients;

const NETWORK: &str = "golem_test_network";
const TAG: &str = "v0.0.60";
const TAG: &str = "v0.0.62";

#[derive(Debug, Clone)]
pub struct EnvConfig {
Expand Down

0 comments on commit 7ce562e

Please sign in to comment.