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

RESOLVED FIXED

Status

Release Engineering
General Automation
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: grenade, Assigned: grenade)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

a year ago
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)
(Assignee)

Comment 7

a year ago
This is now complete.

Docker worker:
https://hub.docker.com/r/grenade/opencloudconfig/

TaskCluster index:
https://tools.taskcluster.net/index/#project.releng.opencloudconfig.v1.revision/project.releng.opencloudconfig.v1.revision

Task definitions:
https://github.com/mozilla-releng/OpenCloudConfig/blob/master/.taskcluster.yml
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.