Skip to content

mlab-lattice/testing__version-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testing__version-service

A simple carbon service that serves up its version.

To generate a new version of the service, run:

./scripts/generate-new-version.sh <VERSION>

So for example creating 2.0.0:

$ ./scripts/generate-new-version.sh 2.0.0

$ node VersionService.js

$ curl localhost:8080/status
{"ok":true}

$ curl localhost:8080/version
{"version":"2.0.0"}

This will also commit VersionService.js and tag the commit with the version.

Don't forget to run git push --tags.

About

a simple carbon service that serves up its version

Resources

Stars

Watchers

Forks

Packages

No packages published