You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Extract config-store validation changes
Cherry-pick the shared validation and validation-reporting work onto CCM-19694 without the supplier reports package. Includes config-store integrity validation, excel-parser mapping validation/reporting, and publisher error-detail propagation.
* Enhance action.yml to resolve commit SHA to tag for release asset downloads
* Add make target to run validation against local specifications.xlsx file
* Clean up CLI tool output
tar -xzf "${download_dir}/${RELEASE_ASSET_NAME}" -C "${unpack_dir}"
67
96
echo "[ddb-publish] Bundle extracted from release asset."
68
97
exit 0
69
98
fi
70
99
71
-
# Otherwise treat the ref as a branch-like ref and fetch the latest successful CI artifact from the action repo.
72
-
branch="${ACTION_REF#refs/heads/}"
73
-
echo "[ddb-publish] No release found for ref '${ACTION_REF}'. Falling back to latest workflow artifact on branch '${branch}' from '${ACTION_REPO}'."
100
+
# Otherwise fetch the latest successful CI artifact using the original branch or commit from the action repo.
101
+
echo "[ddb-publish] No release found for ref '${resolved_release_ref}'. Falling back to latest workflow artifact on ${run_list_scope_description} from '${ACTION_REPO}'."
if [[ -z "${run_id}" || "${run_id}" == "null" ]]; then
112
-
echo "ERROR: Could not find a successful run on branch '${branch}' in '${ACTION_REPO}' containing artifact '${WORKFLOW_ARTIFACT_NAME}'. Checked workflows: stage-3-build.yaml, cicd-1-pull-request.yaml." >&2
140
+
echo "ERROR: Could not find a successful run for ${run_list_scope_description} in '${ACTION_REPO}' containing artifact '${WORKFLOW_ARTIFACT_NAME}'. Checked workflows: stage-3-build.yaml, cicd-1-pull-request.yaml." >&2
tar -xzf "${download_dir}/${RELEASE_ASSET_NAME}" -C "${unpack_dir}"
60
89
echo "[eventbridge-publish] Bundle extracted from release asset."
61
90
exit 0
62
91
fi
63
92
64
-
# Otherwise treat the ref as a branch-like ref and fetch the latest successful CI artifact from the action repo.
65
-
branch="${ACTION_REF#refs/heads/}"
66
-
echo "[eventbridge-publish] No release found for ref '${ACTION_REF}'. Falling back to latest workflow artifact on branch '${branch}' from '${ACTION_REPO}'."
93
+
# Otherwise fetch the latest successful CI artifact using the original branch or commit from the action repo.
94
+
echo "[eventbridge-publish] No release found for ref '${resolved_release_ref}'. Falling back to latest workflow artifact on ${run_list_scope_description} from '${ACTION_REPO}'."
if [[ -z "${run_id}" || "${run_id}" == "null" ]]; then
105
-
echo "ERROR: Could not find a successful run on branch '${branch}' in '${ACTION_REPO}' containing artifact '${WORKFLOW_ARTIFACT_NAME}'. Checked workflows: stage-3-build.yaml, cicd-1-pull-request.yaml." >&2
133
+
echo "ERROR: Could not find a successful run for ${run_list_scope_description} in '${ACTION_REPO}' containing artifact '${WORKFLOW_ARTIFACT_NAME}'. Checked workflows: stage-3-build.yaml, cicd-1-pull-request.yaml." >&2
0 commit comments