- delete & clean this? https://hg.mozilla.org/build/puppet/file/tip/modules/beetmover_scriptworker/templates/base_script_config.json.erb#l14
- think about a way to trim the unused files and not upload more than we used to for candidates/releases - they slow down beetmoverworker e.g en-Us stuff http://bucketlister-delivery.stage.mozaws.net/pub/firefox/candidates/58.0b6-candidates/build11/linux-i686/en-US/
- cleanup of docker image beetmover?
- fix the beetmoverscript tests by adding proper fixtures to fix the damn release case
- make sure the nightlies still work after beetmover-repackage changes. check the graphs are the same!
- beetmoverscript to use boto.copy() instead of reuploading for multiple destinations to efficientize uploads + bandwidth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
geckoview target.maven.zip archive | |
=================================== | |
[<ZipInfo filename='org/mozilla/geckoview/geckoview-beta-armeabi-v7a/63.0.20180917143811/geckoview-beta-armeabi-v7a-63.0.20180917143811.aar' filemode='-rw-r--r--' file_size=33966027>, | |
<ZipInfo filename='org/mozilla/geckoview/geckoview-beta-armeabi-v7a/63.0.20180917143811/geckoview-beta-armeabi-v7a-63.0.20180917143811.aar.sha1' filemode='-rw-r--r--' file_size=40>, | |
<ZipInfo filename='org/mozilla/geckoview/geckoview-beta-armeabi-v7a/63.0.20180917143811/geckoview-beta-armeabi-v7a-63.0.20180917143811.aar.md5' filemode='-rw-r--r--' file_size=32>, | |
<ZipInfo filename='org/mozilla/geckoview/geckoview-beta-armeabi-v7a/63.0.20180917143811/geckoview-beta-armeabi-v7a-63.0.20180917143811.pom' filemode='-rw-r--r--' file_size=658>, | |
<ZipInfo filename='org/mozilla/geckoview/geckoview-beta-armeabi-v7a/63.0.20180917143811/geckoview-beta-armeabi-v7a-63.0.20180917143811.pom.md5' filemode='-rw-r--r--' file_size=32>, | |
<ZipInfo filename='org/mozilla/geckoview/g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
loader: taskgraph.loader.transform:loader | |
transforms: | |
- taskgraph.transforms.release_deps:transforms | |
- taskgraph.transforms.release_notifications:transforms | |
- taskgraph.transforms.task:transforms |
- Download the existing 56.0 bz2 release blob from balrog: https://aus4-admin.mozilla.org/releases#Firefox-56.0-build6-bz2-WNP
- Edit the blob and remove 2 lines:
"openURL": "https://www.mozilla.org/%LOCALE%/firefox/56.0/whatsnew/?oldversion=%OLD_VERSION%",
"actions": "showURL",
- Modify the name of the blob:
"name": "Firefox-56.0-build6-bz2"
- Upload the blob to balrog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from snapcraft import storeapi | |
from snapcraft._store import _login | |
def main(): | |
packages = [{'name': "firefox", 'series': | |
storeapi.constants.DEFAULT_SERIES}] | |
channels = ['edge'] |
- pick latest AMI from https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#Images:visibility=owned-by-me;search=spot-av-linux64;sort=desc:imageState
- Launch an instance using the AMI above. Use c4.2xlarge or similar.
- Kill runner jobs and
rm -rf /opt/runner
- run
freshclam
- run the following
wget -Oarchiver_client.py --no-check-certificate --tries=10 --waitretry=3 https://hg.mozilla.org/build/tools/raw-file/default/buildfarm/utils/archiver_client.py
python archiver_client.py mozharness --repo releases/mozilla-release --tag default --destination scripts --debug
python2.7 scripts/scripts/release/antivirus.py --product firefox --version 51.0.1 --build-number 2 --bucket-name net-mozaws-prod-delivery-firefox --tools-revision default --tools-repo https://hg.mozilla.org/build/tools
Every once in a while we need to cancel a task-graph for some reason, and along with it all of its dependencies. That might include fail fast scenarions in which, for example, various credentials are not longer good, etc. In order to do that there are two specific pieces of information that you need in hand:
- the task-graph-id
- full tctalker setup
- You need 2 bookmarklets in your browser to enhance the work with taskcluster
- Create a new bookmark, name it
Stop
, addjavascript:stop();
to Location - click and drag the sort table link to your Bookmarks Toolbar. Rail found a fancier sort table here
- Create a new bookmark, name it
- 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# script to download up to <= 3200 (the official API limit) of most recent tweets from a user's timeline | |
from pymongo import MongoClient | |
import tweepy | |
import json | |
#Twitter API credentials | |
CONSUMER_KEY = '' | |
CONSUMER_SECRET = '' | |
ACCESS_TOKEN = '' |