fix(ci): vendor-coupling guardrail path - products/catalyst/bootstrap/api/internal/objectstorage (closes #438) (#440)
The mode-gate check was looking for ${REPO_ROOT}/internal/objectstorage
but the actual Go package lives at products/catalyst/bootstrap/api/internal/objectstorage.
Update the path so hard-fail mode auto-engages on this repo.
Validation:
bash scripts/check-vendor-coupling.sh
-> HARD-FAIL mode banner emitted, exit 0 on clean tree
Synthetic 'hetzner-object-storage' under platform/ -> exit 1.
Refs: PR #437 (#383) which surfaced the bug.
Co-authored-by: hatiyildiz <hatiyildiz@noreply.github.com>
This commit is contained in:
parent
feeabb63cb
commit
87ba48c44e
@ -117,7 +117,7 @@ fi
|
||||
# remaining vendor-coupled reference is either drift or net-new — both
|
||||
# must hard-fail. Until then, we can only warn (the drift IS the WIP).
|
||||
HARD_FAIL=0
|
||||
if [[ -d "${REPO_ROOT}/internal/objectstorage" ]]; then
|
||||
if [[ -d "${REPO_ROOT}/products/catalyst/bootstrap/api/internal/objectstorage" ]]; then
|
||||
HARD_FAIL=1
|
||||
fi
|
||||
if [[ "${FORCE_HARD_FAIL}" -eq 1 ]]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user