Kightly pipeline failures in deploy_feature_a and deploy_feature_b due to OOD_IMAGE_ID variable conflict
Summary
The deploy_feature_a and deploy_feature_b pipeline jobs merged in !246 (merged) were failing in production due to a variable conflict in deploy_ood.
Root Cause
Two issues combined to cause the pipeline failures:
-
Variable conflict in
deploy_ood: The script was manually reassigningOOD_IMAGE_IDusingBUILT_OOD_IMAGE_IDas a fallback — but the runner already provides this value correctly. -
Redundant rule condition: Both deploy jobs were gated on
$BUILT_OOD_IMAGE_IDin therulescondition — butBUILT_OOD_IMAGE_IDis only an intermediate value used to setOOD_IMAGE_ID, and it'sOOD_IMAGE_IDthat actually gets used in the deploy jobs. ForcingBUILT_OOD_IMAGE_IDto be a pipeline variable was unnecessary
Linked MRs
-
!239 — Original implementation of
deploy_feature_aanddeploy_feature_b - !246 (merged) — Merged implementation improvements (pipeline ownership + fail on non-200)
- !249 (merged) - Fix for variable conflict
Edited by Krish Moodbidri