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

traveloka / ec2-route53-sync / 15
51%

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2016 12:39PM UTC
Jobs 1
Files 1
Run time 0s
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
15

push

travis-ci

michel-slm
Use `instance-state-name` instead of `instance-state-code`

When filtering for running instances, use `instance-state-name: running`
instead of `instance-state-code: 16`.

Per https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_InstanceState.html the state code is a two-byte number and the high byte could be anything.

That means that to use `instance-state-code` properly we have to either
filter for `instance-state-code` being any of 16, 16+256, 16+256*2, ...,
or do the filtering on the client side after retrieving all instances
matching the name tag.

Since that's inefficient, let's filter by `instance-state-name` instead.
That's more self-describing anyway.

Fixes #3.

and we don't want to grab all hosts and then filter by the masked val

25 of 49 relevant lines covered (51.02%)

0.51 hits per line

Jobs
ID Job ID Ran Files Coverage
2 15.2 09 Aug 2016 12:39PM UTC 0
51.02
Travis Job 15.2
Source Files on build 15
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #15
  • 96b8019b on github
  • Prev Build on master (#14)
  • Next Build on master (#16)
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