»release Stanza

Placementapp -> release

The release stanza describes how an application is released. A release activates a previously staged deployment and opens it to general traffic. This step may involve adding a deployment to a load balancer, updating DNS, configuring a service mesh, etc.

Release configuration is optional. Please see the documentation on the release phase of the Waypoint lifecycle for the Waypoint behavior when a release phase is not configured.

app "frontend" {
  build {
    use "docker" {}

    registry {
      # ...
    }
  }

  deploy {
    use "kubernetes" {}

    hook {
      # ...
    }
  }

  release {
    use "aws-alb" {}

    hook {
      # ...
    }
  }
# ...
}
app "frontend" {  build {    use "docker" {}
    registry {      # ...    }  }
  deploy {    use "kubernetes" {}
    hook {      # ...    }  }
  release {    use "aws-alb" {}
    hook {      # ...    }  }# ...}

»release Parameters

»Required

  • use (use) - The plugin to use for release management of the application.

»Optional

  • hook (hook: nil) - Hooks to execute before and/or after the release.