promote_application
Promote the build one environment has proven onto the next: moves exactly the image tag the source environment runs onto the target environment through the ordinary deploy - never a rebuild, never configuration. Refused, in one sentence each, when the source is not healthy or its build cannot be identified, when the target follows pushes (turn that off first - the push loop would undo the promotion), when the target has a deploy in flight, or when a required secret has no value. Answers already_current with no deploy when the target already runs the build. Environments are named by id, cluster name or role (staging, production); a role two environments share needs the cluster name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| application_id | Yes | The Application's id. | |
| source_environment | Yes | The environment that proved the build: its id, its cluster name, or its role. | |
| target_environment | Yes | The environment to carry the build onto: its id, its cluster name, or its role. |