Add debug logging
All checks were successful
infra/host-provisioner/pipeline/head This commit looks good
All checks were successful
infra/host-provisioner/pipeline/head This commit looks good
Trying to figure out why it's not cloning the correct branch...
This commit is contained in:
@@ -80,8 +80,9 @@ def clone_configpolicy(branch: str) -> None:
|
||||
'.',
|
||||
]
|
||||
log.info(
|
||||
'Cloning configuration policy from %s into %s',
|
||||
'Cloning configuration policy from %s (branch %s) into %s',
|
||||
CONFIGPOLICY,
|
||||
branch,
|
||||
os.getcwd(),
|
||||
)
|
||||
subprocess.run(cmd, check=True, stdin=subprocess.DEVNULL)
|
||||
@@ -119,6 +120,7 @@ def get_host_info() -> HostInfo | None:
|
||||
):
|
||||
if method is None:
|
||||
break
|
||||
log.debug('Received: %r', body)
|
||||
try:
|
||||
data = json.loads(body)
|
||||
host_info = HostInfo.model_validate(data)
|
||||
|
||||
Reference in New Issue
Block a user