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

m-lab / rebot / 139
94%

Build:
DEFAULT BRANCH: master
Ran 02 May 2019 12:03PM UTC
Jobs 1
Files 5
Run time 2s
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

02 May 2019 12:01PM UTC coverage: 94.154% (+0.08%) from 94.077%
139

push

travis-ci

web-flow
Make rebot call the Reboot API (#25)

* (WIP) Change reboot package to send HTTP requests to the Reboot API.

HTTP basic authentication isn't implemented yet.

* Add HTTP basic auth, timeouts and log reboot-api's output.

* Add -prometheus.addr flag to specify prometheus server to use.

* Remove whitespace at the end of main.go.

* Update metric's help message.

* Set nodes limit back to 5 and add comment.

* Add reboot.username and reboot.password flags.

* Refactor the reboot package for testability.

* Removed reboot/drac_test.sh.

* Fix tests in reboot package.

* Improve test coverage for reboot package.

* Reach 100% test coverage for reboot package.

* Swap Rebooter with a mock to test without making HTTP connection.

* Update main_test.go.

* Remove stray "const ()`. Thanks @bassosimone

* Add --project flag and infer Prometheus URL from the project.

* Get credentials from command line flags.

* Move rebootEndpoint inside the reboot package.

* Avoid wrapping newHTTPRequest and readAll.

* Make metricRebootRequests's status field more informative.

* Clarify the meaning of "dXNlcjpwYXNz" in reboot_test.go.

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

306 of 325 relevant lines covered (94.15%)

2.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 139.1 02 May 2019 12:03PM UTC 0
94.15
Travis Job 139.1
Source Files on build 139
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #139
  • e2464041 on github
  • Prev Build on master (#120)
  • Next Build on master (#151)
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