Fix /rerun-stage dispatch failure for non-AMD stages (#21076)
Co-authored-by: Alison Shao <alison.shao@Mac.attlocal.net>
This commit is contained in:
co-authored by
Alison Shao
parent
507db41504
commit
b7a1ae4fac
@@ -340,7 +340,6 @@ def handle_rerun_stage(
|
|||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
inputs = {
|
inputs = {
|
||||||
"version": "release",
|
|
||||||
"target_stage": stage_name,
|
"target_stage": stage_name,
|
||||||
"pr_head_sha": pr_head_sha,
|
"pr_head_sha": pr_head_sha,
|
||||||
}
|
}
|
||||||
@@ -352,7 +351,7 @@ def handle_rerun_stage(
|
|||||||
if is_amd_stage:
|
if is_amd_stage:
|
||||||
inputs = {"target_stage": stage_name}
|
inputs = {"target_stage": stage_name}
|
||||||
else:
|
else:
|
||||||
inputs = {"version": "release", "target_stage": stage_name}
|
inputs = {"target_stage": stage_name}
|
||||||
|
|
||||||
# Record dispatch time before triggering
|
# Record dispatch time before triggering
|
||||||
dispatch_time = time.time()
|
dispatch_time = time.time()
|
||||||
|
|||||||
Reference in New Issue
Block a user