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

NREL / api-umbrella-gatekeeper / 8
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: lua-router-integration
DEFAULT BRANCH: master
Ran 29 Nov 2013 08:00AM UTC
Jobs 1
Files 17
Run time –
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
8

push

travis-ci

GUI
An initial take at moving nginx's DNS resolution into the gatekeeper.

This is to workaround two main issues:

1. nginx only resolves upstream domain names once at startup and then
   caches that indefinitely. This can lead to broken backends if a
   backend's domain IP changes while running.
2. nginx will refuse to start if a domain name cannot be resolved (even
   if it previously resolved when added).

So this basic approach is to integrate DNS lookups into the gatekeeper
configuration reloader. We then only write IP addresses to the nginx
config file, falling back to 0.0.0.0 if it can't be resolved to solve
 #2. We then keep refreshing the domain's IP addresses from DNS based on
the TTL and then write nginx config files and reload nginx as necessary.

743 of 799 relevant lines covered (92.99%)

1865.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8.1 29 Nov 2013 08:00AM UTC 0
92.99
Travis Job 8.1
Source Files on build 8
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8
  • 15a30679 on github
  • Next Build on dns_resolver (#10)
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