• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MITLibraries / workflow / 36
78%
master: 75%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 11 Oct 2019 04:23PM UTC
Jobs 1
Files 3
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
36

Pull #8

travis-ci-com

web-flow
Support worker autoscaling

Adding autoscaling to ECS for the worker service requires a few changes
to how the cluster is redeployed. Previously, everything was stopped by
setting the desiredCount to 0 and then started back up by setting the
desiredCount to 1. With ECS controlling the scaling for the worker
service it's no longer possible to rely on the desiredCount of the
worker service remaining at 0 until things are ready to be started
again.

The change here sets the desiredCount of the scheduler to 0 first, then
does a --force-new-deployment for the web and worker services, then
finally does a --force-new-deployment for the scheduler. While
redeploying becomes more complicated, there's no need anymore to track
the current worker count. We can just set it to 1 and let ECS scale as
needed.

I've also added stop-scheduler and start-scheduler commands which can be
used in conjunction with deploying a new service definition with
Terraform.
Pull Request #8: Support worker autoscaling

57 of 57 new or added lines in 2 files covered. (100.0%)

120 of 153 relevant lines covered (78.43%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
4 36.4 (TOX_ENV=coveralls) 11 Oct 2019 04:23PM UTC 0
78.43
Travis Job 36.4
Source Files on build 36
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #36
  • Pull Request #8
  • PR Base - master (#34)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc