Agent Wranglers

Environments

Give each environment its own account, build them all from the same code, change staging before production, and delete preview copies on time.

  • Required 4
  • Recommended 2

An environment is one full copy of the service, such as development, staging or production. The rules here keep the copies alike, so a change that works in staging works in production. They also keep them apart, so a mistake in one cannot reach the others. Test data and the staging copy itself are covered in Keep a staging copy with fake data.

Required

For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers infrastructure playbook: https://agentwranglers.se/playbook/infrastructure/environments.