Open Bug 1273329 Opened 8 years ago Updated 2 years ago

Change /__version__ to match Dockerflow

Categories

(Firefox :: Normandy Server, defect, P5)

x86_64
Linux
defect

Tracking

()

People

(Reporter: mythmon, Unassigned)

References

(Blocks 1 open bug)

Details

The __version__ endpoint should pull from a file at /app/version.json (instead of /app/__version__/commit like it does now), and should be in the form a Dockerflow JSON version object[0], like:

{
  "source" : "https://github.com/mozilla/normandy", 
  "version": "release tag or string for humans", 
  "commit" : "<git hash>",
  "build"  : "uri to CI build job"
}

an example of how to get this info in CircleCI can be found here: https://github.com/mozilla-services/Dockerflow/blob/839c26af8bb40bd2e94437c1384d9b54f76c3007/circle.yml#L17-L24

[0]: https://github.com/mozilla-services/Dockerflow/blob/master/docs/version_object.md
Product: Shield → Firefox
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.