Closed Bug 1286187 Opened 8 years ago Closed 8 years ago

auto generate windows amis when github/mozilla-releng/OpenCloudConfig is updated

Categories

(Release Engineering :: General, defect)

Unspecified
Windows
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: grenade, Assigned: grenade)

Details

Currently the process for creating TaskCluster windows worker types is mostly manual (there is a script).

Create a TaskCluster GitHub job to create amis whenever github.com/mozilla-releng/OpenCloudConfig is changed/merged to.
Brilliant idea, love it!
Need to get TaskClusterRobot properly setup in github.com/mozilla-releng -- working through that with :bstack atm.
TaskClusterBot should be configured properly now -- grab me on irc if it's not triggering properly.
Flags: needinfo?(rthijssen)
fwiw, github reports successful delivery of hook messages to TaskClusterRobot. Response is 204 with empty body (normal). Headers:

    Access-Control-Allow-Headers: X-Requested-With,Content-Type,Authorization,Accept,Origin
    Access-Control-Allow-Methods: OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT
    Access-Control-Allow-Origin: *
    Access-Control-Request-Method: *
    Connection: keep-alive
    Content-Length: 0
    Date: Wed, 13 Jul 2016 11:37:11 GMT
    Server: Cowboy
    Via: 1.1 vegur
    X-Powered-By: Express

:bstack - can you confirm TCRobot started fine for this requestion?
Flags: needinfo?(bstack)
Found the following in the logs right after a mozilla-releng/OpenCloudConfig webhook was received.

 Jul 13 04:37:13 taskcluster-github app/worker.1: Unhandled Rejection at: Promise [object Object] reason: Error: {"message":"Must have push access to view repository collaborators.","documentation_url":"https://developer.github.com/v3"} 

Unfortunately this is from after the webhook is "accepted" so the 200 will be returned before it knows anything is wrong. We're working on a way to notify the users/admins better that this issue has occurred but right now the only place it shows up is in the logs :/
Flags: needinfo?(bstack)
additional work in #taskcluster now has the repo configured properly to submit jobs. (Still some issues with the jobs, but the integration is functioning.)
Flags: needinfo?(rthijssen)
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.