Closed Bug 1452681 Opened 8 years ago Closed 8 years ago

how to view deployed pigeon sha?

Categories

(Socorro :: Infra, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Unassigned)

Details

Attachments

(2 files)

We deploy socorro-pigeon in both -stage and -prod. With Antenna and Socorro, we can request /__version__ and get the version deployed. We can ask Miles/Brian what version of Pigeon is deployed, but there's no way to request it automatically. For system debugging and deploy planning and such, we need to be able to know at any given time is what version of all the things are currently deployed in a given environment. This bug covers exposing what version of pigeon is deployed in an environment somewhere.
Also, since there are other things we're tossing around solving with Lambda functions, we'd want to reuse whatever we figure out for other Lambda things. I tossed out the following ideas on IRC: 1. can we add it to the antenna deploy artifact somehow? then i can pick it up via /__version__ on antenna. 2. maybe have pigeon handle its own /__version__ ? 3. maybe push the pigeon sha to an s3 bucket at a known location? Of those, Miles didn't express total disgust at item 3. Miles also suggested having deploys ping datadog with the data.
This has landed. As of the next antenna/pigeon deploy, we will be able to trust these urls to accurately represent the version of pigeon running in each environment: stage: https://crashstats-pigeon-version-stage.s3.amazonaws.com/__version__ prod: https://crashstats-pigeon-version-prod.s3.amazonaws.com/__version__
Awesome--thank you!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: