Merge pull request 'fix clan machines update with build-host' (#3512) from build-host into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3512
This commit is contained in:
@@ -165,8 +165,7 @@ class Machine:
|
|||||||
"""
|
"""
|
||||||
build_host = self.override_build_host or self.deployment.get("buildHost")
|
build_host = self.override_build_host or self.deployment.get("buildHost")
|
||||||
if build_host is None:
|
if build_host is None:
|
||||||
with self.target_host() as target_host:
|
yield None
|
||||||
yield target_host
|
|
||||||
return
|
return
|
||||||
# enable ssh agent forwarding to allow the build host to access the target host
|
# enable ssh agent forwarding to allow the build host to access the target host
|
||||||
yield parse_deployment_address(
|
yield parse_deployment_address(
|
||||||
|
|||||||
Reference in New Issue
Block a user