fix(cd): export source link gate env
This commit is contained in:
@@ -31,6 +31,8 @@ def test_cd_source_link_gate_uses_current_deploy_canary() -> None:
|
||||
text = _workflow_text()
|
||||
|
||||
assert "SOURCE_LINK_RUN_REF=\"gitea-cd-${GITHUB_RUN_ID:-manual}-${GITHUB_RUN_ATTEMPT:-1}\"" in text
|
||||
assert "export AWOOOP_OPERATOR_API_KEY" in text
|
||||
assert "export SOURCE_LINK_CANARY_WORK_ITEM_ID SOURCE_LINK_CANARY_EVENT_ID" in text
|
||||
assert "--source-link-canary-target-incident-id INC-20260505-25E744" in text
|
||||
assert "--work-item-id \"${SOURCE_LINK_CANARY_WORK_ITEM_ID}\"" in text
|
||||
assert "--expected-source-event-provider-event-id \"${SOURCE_LINK_CANARY_EVENT_ID}\"" in text
|
||||
|
||||
Reference in New Issue
Block a user