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

Nordstrom / serverless-artillery / 477 / 2
61%
master: 99%

Build:
Build:
LAST BUILD BRANCH: fix-service-name-bug-#96
DEFAULT BRANCH: master
Ran 30 Mar 2018 11:11PM UTC
Files 14
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

30 Mar 2018 10:44PM UTC coverage: 16.308% (-3.1%) from 19.419%
NPM_VERSION=3

push

travis-ci

erikerikson
Initial Monitoring CLI Implementation

Implementation and tests of the described capabilities offered via the preliminary aspirational documentation.

index.js:
  . add constants used for monitoring mode.  (file comment content, regular expressions for restoring YAML comments, and a limit to the number of backup file attempts)
  . utility methods:
    . validateService: validates that the service that will be modified, lightly but for absolute requirements of the addition logic
    . addAssets: where all assets are added to the original service
    . splitIgnore/Except - string splitting utilities for compareRestore
    . compareRestore - diff the before and after.  before has the existing comments while after does not while after has the new assets but not the existing comments
    . replaceCommentKeys - collected comment into text insertion
    . writeBackup - iteratively write a backup file until it can be written without conflict
  . modifications:
    . invoke: handle m/monitoring flags, treating them similarly to a/acceptance
  . add monitor command that generates and adds assets to the default or existing serverless.yml
index.spec.js:
  . add tests for modifications and additions in index.js

npm.js:
  . allow installing specific module
npm.spec.js:
  . explicitly install aws-sdk to ensure that a require of the handler can be done (avoid problems like #108)

README.ms: explicitly note the need to deploy the altered serverless.yml

serverless.yml: change double quotes to single quotes (" => ') and update comment with same runtime version as the configuration
taskDef.js: add "mon" and "monitoring" definitions
package.json: add "diff" for use by monitor command
package-lock.json: update

34 of 440 branches covered (7.73%)

Branch coverage included in aggregate %.

163 of 768 relevant lines covered (21.22%)

1.19 hits per line

Source Files on job 477.2 (NPM_VERSION=3)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 477.2
  • 4d60aa4c on github
  • Prev Job for NPM_VERSION=3 on monitoring-mode (#475.6)
  • Next Job for NPM_VERSION=3 on monitoring-mode (#482.6)
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