Skip to content

Instantly share code, notes, and snippets.

@MihaiTabara
Forked from rail/relpro.md
Last active May 6, 2016 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MihaiTabara/600b375d3d5f50223175 to your computer and use it in GitHub Desktop.
Save MihaiTabara/600b375d3d5f50223175 to your computer and use it in GitHub Desktop.

Pre-requirements

taskcluster related

  • You need 2 bookmarklets in your browser to enhance the work with taskcluster
    • Create a new bookmark, name it Stop, add javascript:stop(); to Location
    • click and drag the sort table link to your Bookmarks Toolbar. Rail found a fancier sort table here
  • Find the email with subject: "[desktop] Build of Firefox-46.0b4-build2" - it contains a link to the task graph
  • After the task graph is loaded click on the "stop" bookmarklet
  • Click the "sort table" bookmarklet - you'll get "a/d" table headers
  • Sort the table by "State" ascending, so you get unscheduled and scheduled tasks first

tctalker setup

auth:create-client:mozilla-ldap/<ldap_username>/*
auth:create-client:project/releng/*
  • navigate to Taskcluster clients and create a new clientId - dedicated for playing with tctalker.
  • it should already be pre-formatted to mozilla-ldap/<ldap_username>/ at which you can concatenate any string. You can simply add tctalker.
  • use queue:* for Client Scopes
  • hit the Create Client button and make sure you save the Access token that is generated
  • create a json config file (e.g. "config.json") on disk that looks like this:
{
    "credentials": {
        "clientId": "you-will-never-guess",
        "accessToken": "nor here!"
    }
}
  • clone yourself a copy of tctalker and change directory to the clone repo
  • run the following:
python src/tctalker/tctalker.py --conf config.json <action> <task-id> 

Actions

1. Publish in Balrog

  • Wait for a go (can come either from RelMan or QE)
  • Go to Balrog beta and find the rule with alias firefox-beta (rule id is 32 according to the comfig)
  • Update it and point to Firefox-46.0b4-build2
  • don't forget to reply to RelMan's email as soon as this step is completed!

2. post release step

  • go to the Task Graph and find taskId of firefox mozilla-beta post release human decision task
  • This task is blocking firefox mozilla-beta version bump and firefox mozilla-beta bouncer aliases from execution
  • To resolve the human decision task run the following:
 tctalker --conf ~/.taskcluster/relpro.json report_completed $TASK_ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment