Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.13.0 #1107

Merged
merged 2 commits into from
Sep 19, 2017
Merged

v0.13.0 #1107

merged 2 commits into from
Sep 19, 2017

Conversation

ejholmes
Copy link
Contributor

@ejholmes ejholmes commented Sep 19, 2017

This has been a long time coming. master is pretty stable and doesn't have any major breaking changes between 0.12.x.

WIP release notes below


v0.13.0

This release of Empire brings more bug fixes, as well as some notable new features and changes.

Support for ECS Placement Constraints

Before placement constraints, ECS clusters were pretty flat; whatever you scheduled into the cluster could be ran on any host that was registered within the cluster. Placement constraints allow you to be more granular about scheduling, so that services and tasks can specify certain constraints that are required (e.g. like instance size, or AMI).

Empire now allows you to specify placement constraints as part of the Procfile:

worker:
  ecs:
    placement_constraints:
      - type: memberOf
        expression: "attribute:capability.statsd == true"

See the docs for details.

Automatic resolution of Docker tags to digests

In the past, when you deployed a Docker image via a tag (e.g. like remind101/acme-inc:master) Empire would pass along the tag unchanged to ECS. If the tag was updated after deployment, the version that you deployed to Empire would no longer be the same version as what's running in the ECS cluster.

Empire now automatically resolves these mutable tags to their immutable, content addressable identifiers, called digests.


Features

  • [cmd/empire] Empire now supports a new (experimental) feature to enable attached processes to be ran with ECS. #1043
  • [cmd/emp,cmd/empire] Empire now supports "maintenance mode" for applications. #1086
  • [cmd/empire] Added a new configuration option for controlling the generated CloudFormation stack names. #1094
  • [cmd/empire] Empire now supports ECS placement constraints and strategies in the extended Procfile format. #1059

Bugs

  • [cmd/emp] Fixed a regression in env-load, which caused it to set keys to random values. #1062
  • [cmd/empire] Fixed an issue where the ECS task role was not set on tasks started from emp run. #1063
  • [cmd/empire] Fixed a bug that prevented Docker images using a digest as a reference from being deployed. #1104

Improvements

  • [cmd/empire] Processes can now be scaled down to a negative value to prevent AWS resources from being created. #1064
  • [cmd/empire] AWS resources for scheduled processes are now always created, unless scaled down to a negative value. #1064
  • [cmd/empire] Empire now supports reporting its own errors to Rollbar in addition to Honeybadger. #1075
  • [cmd/empire]It's now possible to configure the pool of ports that the Custom::InstancePort resource allocates ports from. #1096
  • [cmd/emp] STDOUT and STDERR in emp run's now show up on STDOUT and STDERR in the terminal, instead of being merged on STDOUT. #1101

Security

  • [cmd/empire] Empire can now automatically resolve a Docker tag to it's immutable content addressable identifier. #1104

You can run this version of Empire with:

$ docker run remind101/empire@sha256:<fixme>

0.13.x has no backwards incompatibilities between 0.12.xx, however, please refer to the upgrade guide before performing an upgrade.

@ejholmes ejholmes requested a review from a team September 19, 2017 05:33
Copy link
Contributor

@bmarini bmarini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I'm excited to try out the placement constraints.

@@ -1,6 +1,6 @@
# Changelog

## HEAD
## 0.13.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a new HEAD section?

Dockerfile Outdated
@@ -1,7 +1,7 @@
FROM golang:1.7.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we go to 1.8 or 1.9?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.8 or 1.9 should be fine, but the jump is a little scary before cutting a release. I'll update this to select the current patch version of 1.7.

@ejholmes ejholmes merged commit f24dbab into master Sep 19, 2017
@ejholmes ejholmes deleted the release-0.13.0 branch September 19, 2017 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants