diff --git a/ops/deploy/agent/listener.py b/ops/deploy/agent/listener.py index aeb29de..0d9de8b 100644 --- a/ops/deploy/agent/listener.py +++ b/ops/deploy/agent/listener.py @@ -183,8 +183,10 @@ class Agent: if action == ACTION_PARKED: self.log(f"SHA {sha[:12]} zaparkowany po {self._attempt_fail_count} nieudanych probach —" " deploy dopiero dla nowego commita (awaryjnie: reczny hostdeploy.py na hoście)") + self.write_status("PARKED", sha) return if action != ACTION_DEPLOY: + self.write_status("in_sync", sha) return self.log(f"deploy {sha[:12]} (staging na: {(self._last_success_sha or 'nic')[:12]})") self._last_attempt_sha = sha