[Air Mozilla] Chief for air mozilla doesn't accept SHAs as a reference

RESOLVED WONTFIX

Status

Infrastructure & Operations
WebOps: IT-Managed Tools
RESOLVED WONTFIX
4 years ago
4 years ago

People

(Reporter: peterbe, Unassigned)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8372488 [details]
A copy of the log link in the bug description in case Chief recycles its logs

I was trying to use https://github.com/mythmon/chief-james which is a thin wrapper on simply going to the Chief website (e.g. http://genericadm.private.phx1.mozilla.com/chief/air.stage) and it types in things for you and presses the big red button. 

james.py is very explicit. It doesn't allow you to just type in "master". You have to type in a SHA (or, if you're brave HEAD which is an alias for a SHA basically) This, however, doesn't work on Air Mozilla's Chief. If I type in the same SHA as what "master" currently points to (aka HEAD) it fails like this:

http://genericadm.private.phx1.mozilla.com/chief/air.stage/logs/ae863aa6217496ce05d83d142e013ebf2fa64c7a.1391801304

Apparently specifying a specific SHA works on the Chief that Sumo uses and the Chief that Input uses. 

It's neither urgent (I hacked james.py to allow me to just send "master") or desperate (since I'm the only one pushing to air mozilla) but it would certainly be cool to be able to push a specific SHA since that gives slightly more control.
chief simply runs an update script. so this is actually functionality you can control yourself.

  https://github.com/mozilla/airmozilla/blob/master/bin/update/update.py#L19
Status: NEW → RESOLVED
Last Resolved: 4 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.