chore: add wfe-server crates to workspace, update test contexts
Add wfe-server-protos and wfe-server to workspace members. Update StepExecutionContext constructions with log_sink: None in buildkit and containerd test files.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = ["wfe-core", "wfe-sqlite", "wfe-postgres", "wfe-opensearch", "wfe-valkey", "wfe", "wfe-yaml", "wfe-buildkit", "wfe-containerd", "wfe-containerd-protos", "wfe-buildkit-protos", "wfe-rustlang"]
|
members = ["wfe-core", "wfe-sqlite", "wfe-postgres", "wfe-opensearch", "wfe-valkey", "wfe", "wfe-yaml", "wfe-buildkit", "wfe-containerd", "wfe-containerd-protos", "wfe-buildkit-protos", "wfe-rustlang", "wfe-server-protos", "wfe-server"]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ async fn build_simple_dockerfile_via_grpc() {
|
|||||||
workflow: &instance,
|
workflow: &instance,
|
||||||
cancellation_token: cancel,
|
cancellation_token: cancel,
|
||||||
host_context: None,
|
host_context: None,
|
||||||
|
log_sink: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let result = step.run(&ctx).await.expect("build should succeed");
|
let result = step.run(&ctx).await.expect("build should succeed");
|
||||||
@@ -180,6 +181,7 @@ async fn build_with_build_args() {
|
|||||||
workflow: &instance,
|
workflow: &instance,
|
||||||
cancellation_token: cancel,
|
cancellation_token: cancel,
|
||||||
host_context: None,
|
host_context: None,
|
||||||
|
log_sink: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let result = step.run(&ctx).await.expect("build with args should succeed");
|
let result = step.run(&ctx).await.expect("build with args should succeed");
|
||||||
@@ -227,6 +229,7 @@ async fn connect_to_unavailable_daemon_returns_error() {
|
|||||||
workflow: &instance,
|
workflow: &instance,
|
||||||
cancellation_token: cancel,
|
cancellation_token: cancel,
|
||||||
host_context: None,
|
host_context: None,
|
||||||
|
log_sink: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let err = step.run(&ctx).await;
|
let err = step.run(&ctx).await;
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ fn make_context<'a>(
|
|||||||
workflow,
|
workflow,
|
||||||
cancellation_token: tokio_util::sync::CancellationToken::new(),
|
cancellation_token: tokio_util::sync::CancellationToken::new(),
|
||||||
host_context: None,
|
host_context: None,
|
||||||
|
log_sink: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user