fix: gitea runners
This commit is contained in:
@@ -631,7 +631,7 @@ gcr_bootstrap_pending() {
|
||||
|
||||
gcr_log info --ns=alloc "bootstrapping vm=$vm_id ip=$ip job=$job_id"
|
||||
if gcr_vm_bootstrap_ssh "$ip" "$label" "$reg_token" "$runner_name" \
|
||||
"$known_hosts_file"; then
|
||||
"$known_hosts_file" "$job_id" "$attempt" "$vm_id"; then
|
||||
rec="$(printf '%s' "$rec" | jq -c '.bootstrapped = true | .ip = $ip' --arg ip "$ip")"
|
||||
gcr_record_put "$job_id" "$attempt" "$rec"
|
||||
gcr_event "vm-bootstrapped" "$job_id" "{\"vm_id\":$vm_id,\"ip\":\"$ip\"}"
|
||||
|
||||
Reference in New Issue
Block a user