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

MITLibraries / workflow
78%
master: 75%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 09 Oct 2019 07:57PM UTC
Files 6
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

LAST BUILD ON BRANCH worker-autoscale
branch: worker-autoscale
CHANGE BRANCH
x
Reset
  • worker-autoscale
  • HEAD
  • alma-updates
  • aspace_harvester_prod_prep
  • dependabot/pip/apache-airflow-1.10.11
  • dependabot/pip/apache-airflow-1.10.14
  • deps
  • disco-191-update-mario-commands
  • ecr_login_fix
  • fix-stage
  • github-actions
  • hoard
  • ignore_tornado_warning
  • main
  • marcshot
  • master
  • networks
  • plugin
  • python3.8
  • test-flow
  • tests
  • upgrade-airflow-1.10.11

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

Relevant lines Covered
Build:
Build:
153 RELEVANT LINES 120 COVERED LINES
0.78 HITS PER LINE
Source Files on worker-autoscale
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
36 worker-autoscale 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 desir... Pull #8 11 Oct 2019 04:23PM UTC web-flow travis-ci-com pending completion  
35 worker-autoscale 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 desir... push 11 Oct 2019 04:11PM UTC gravesm travis-ci-com pending completion  
See All Builds (102)
  • Repo on GitHub
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

© 2025 Coveralls, Inc