Skip to content

GB-046: the local declaration is not the source of record's

Generated from ops/errors/catalog.yaml by ops/ci/check-error-catalog.py --write; do not edit here. GB-046 is printed by goatbuilder. The same text offline: goat explain GB-046 or goatbuilder explain GB-046.

What it means

a deploy applies only what the source of record declares (contract C3). A local copy behind it is fast-forwarded first, or refused under --frozen; a local copy ahead of it or diverged from it is always refused, because a declaration that is not in the source of record is never applied.

Why it happens

  • the checkout or the fixture's declared/ was not fast-forwarded and --frozen was passed
  • a declaration was edited locally instead of in the source of record

What to do

One line per step or alternative:

fast-forward, then re-run: cp source/pins.yaml declared/pins.yaml (on a repository: git pull --ff-only)
make the change in the source of record and re-run

Read more

Exit code

goatbuilder exits with 1.