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

ministryofjustice / bootstrap-cfn / 1047 / 1
59%
master: 58%

Build:
Build:
LAST BUILD BRANCH: alb-support-v1
DEFAULT BRANCH: master
Ran 29 Oct 2015 11:28AM UTC
Files 12
Run time 1s
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

29 Oct 2015 11:27AM UTC coverage: 59.59%. First build
1047.1

push

travis-ci

filipposc5
Add enter and exit maintenance fab tasks

Adds two fab tasks called enter_maintenance which takes a maintenance_ip as
a parameter and exit_maintenance. This is slightly complicated as there is
nothing stopping us from having multiple internet facing ELBs, so we kind
of have to loop through our stack and config to find the right ones.
When exiting maintenance in order to get the dns_name we need to get the
real load balancer object from AWS so we need to work our way to that by:

a) create a mapping of logical name into physical name for our stack's elbs
b) obtain all ELB object, filtering for physical names that belong to our
   stack
and then for each elb:

1) taking the config name from the cloudformation yaml
2) converting it to the logical name using get_elb_safe_name()
   (effectively converts something like shiny-foo into ELBshinyfoo)
3) traverse (b) to lookup the dns_name for the logical name

581 of 975 relevant lines covered (59.59%)

0.6 hits per line

Source Files on job 1047.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1047
  • Travis Job 1047.1
  • 83625ba4 on github
  • Next Job for on feature-maintenance-mode (#1052.1)
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