Sha256: 07327cde6680636156fce961945a22e44e074e686a7087aa340145af4c351f5f

Contents?: true

Size: 1.44 KB

Versions: 9

Compression:

Stored size: 1.44 KB

Contents

Builds docker image, registers it and ships it to multiple services.  This deploys the same docker image to multiple ECS services.

Examples:

  ufo ships hi-web hi-clock hi-worker

By convention the task definition and service names match for each of the services you ship. If you need to override to this convention then you can specify the task definition for each service with a special syntax.  In the special syntax the service and task definition is separated by a colon.  Example:

  ufo ships hi-web-1:hi-web hi-clock-1 hi-worker-1

Here ufo will deploy to the hi-web-1 ECS Service using the hi-web task definition, but use the convention for the rest of the service.

For each service being deployed to, ufo will create the ECS service if the service does not yet exist on the cluster.  The deploy process will prompt you for the ELB `--target-group` if you are deploying to a 'web' service that does not yet exist.  Ufo determines that it is a web service by the name of the service. If the service has 'web' in the name then it is considered a web service. If it is not a web service then the `--target-group` option gets ignored.

The prommpt can be bypassed by specifying a valid `--target-group` option or specifying the `---no-target-group-prompt` option.  Examples:

  ufo ships hi-web hi-clock hi-worker --target-group arn:aws:elasticloadbalancing:us-east-1:123456789:targetgroup/hi-web/jsdlfjsdkd
  ufo ships hi-web hi-clock hi-worker --no-target-group-prompt

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ufo-3.1.2 lib/ufo/help/ships.md
ufo-3.1.1 lib/ufo/help/ships.md
ufo-3.1.0 lib/ufo/help/ships.md
ufo-3.0.1 lib/ufo/help/ships.md
ufo-3.0.0 lib/ufo/help/ships.md
ufo-2.3.0 lib/ufo/help/ships.md
ufo-2.2.2 lib/ufo/help/ships.md
ufo-2.2.1 lib/ufo/help/ships.md
ufo-2.2.0 lib/ufo/help/ships.md