Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Fix stable patch workflow dispatch input types

rcourtman01a9bd2734d9
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index 17d3ae0dbd..038e6c43e2 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -1128,6 +1128,13 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("--unsigned-windows-exception", helper)
self.assertIn("unsigned_windows_exception", helper)
self.assertIn("unsigned_windows_reason", helper)
+ self.assertIn('--arg hotfix_exception "$HOTFIX_EXCEPTION"', helper)
+ self.assertIn(
+ '--arg unsigned_windows_exception "$UNSIGNED_WINDOWS_EXCEPTION"',
+ helper,
+ )
+ self.assertIn('--arg draft_only "false"', helper)
+ self.assertNotIn("--argjson", helper)
self.assertIn("Single-Build Release Path", policy)
self.assertIn("Routine Stable Patch Path", policy)
self.assertIn("single publish workflow performs the exact-SHA preflight", normalize_ws(policy))
diff --git a/scripts/trigger-stable-patch.sh b/scripts/trigger-stable-patch.sh
index 241eec754b..33fbd8ea3c 100755
--- a/scripts/trigger-stable-patch.sh
+++ b/scripts/trigger-stable-patch.sh
@@ -214,11 +214,11 @@ else
--arg rollback_version "$ROLLBACK_TAG" \
--arg ga_date "" \
--arg v5_eos_date "" \
- --argjson hotfix_exception "$HOTFIX_EXCEPTION" \
+ --arg hotfix_exception "$HOTFIX_EXCEPTION" \
--arg hotfix_reason "$HOTFIX_REASON" \
- --argjson unsigned_windows_exception "$UNSIGNED_WINDOWS_EXCEPTION" \
+ --arg unsigned_windows_exception "$UNSIGNED_WINDOWS_EXCEPTION" \
--arg unsigned_windows_reason "$UNSIGNED_WINDOWS_REASON" \
- --argjson draft_only false \
+ --arg draft_only "false" \
--arg mobile_release_decision "$MOBILE_RELEASE_DECISION" \
--arg mobile_release_evidence "$MOBILE_RELEASE_EVIDENCE" \
'{