Skip to content

GB-008: a mutation needs --yes when there is no terminal

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

What it means

deploy, release, rollback, fastlane, standup, teardown, join-node, federate, apply and grow change state; without a terminal to confirm on, they refuse unless --yes is passed (contract C10). grow asks only when stdin and stderr are both a terminal, so with stderr sent to a file it needs --yes too.

Why it happens

  • run from a script, CI or a pipe

What to do

One line per step or alternative:

add --yes
add --dry-run to see the plan without changing anything

Read more

Exit code

goatbuilder exits with 2.