fix: add host_context field to container executor test contexts
This commit is contained in:
@@ -93,6 +93,7 @@ async fn build_simple_dockerfile_via_grpc() {
|
|||||||
step: &ws,
|
step: &ws,
|
||||||
workflow: &instance,
|
workflow: &instance,
|
||||||
cancellation_token: cancel,
|
cancellation_token: cancel,
|
||||||
|
host_context: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let result = step.run(&ctx).await.expect("build should succeed");
|
let result = step.run(&ctx).await.expect("build should succeed");
|
||||||
@@ -178,6 +179,7 @@ async fn build_with_build_args() {
|
|||||||
step: &ws,
|
step: &ws,
|
||||||
workflow: &instance,
|
workflow: &instance,
|
||||||
cancellation_token: cancel,
|
cancellation_token: cancel,
|
||||||
|
host_context: 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");
|
||||||
@@ -224,6 +226,7 @@ async fn connect_to_unavailable_daemon_returns_error() {
|
|||||||
step: &ws,
|
step: &ws,
|
||||||
workflow: &instance,
|
workflow: &instance,
|
||||||
cancellation_token: cancel,
|
cancellation_token: cancel,
|
||||||
|
host_context: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let err = step.run(&ctx).await;
|
let err = step.run(&ctx).await;
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ fn make_context<'a>(
|
|||||||
step,
|
step,
|
||||||
workflow,
|
workflow,
|
||||||
cancellation_token: tokio_util::sync::CancellationToken::new(),
|
cancellation_token: tokio_util::sync::CancellationToken::new(),
|
||||||
|
host_context: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user