mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1621619 - Switch Fennec ESR68 artifacts from the nightly builds to the release builds r=RyanVM,tarek
Differential Revision: https://phabricator.services.mozilla.com/D66388 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
232d99cdb9
commit
6e362fa517
@ -177,6 +177,36 @@ jobs:
|
||||
- name: public/condprof
|
||||
path: archive
|
||||
type: directory
|
||||
android-hw-g5-7-0-arm7-api-16-fennec68:
|
||||
worker-type: t-bitbar-gw-perf-g5
|
||||
description: Creates or update conditioned profiles on Fennec68+G5
|
||||
treeherder:
|
||||
symbol: condprof(fennec68)
|
||||
platform: android-hw-g5-7-0-arm7-api-16/opt
|
||||
index:
|
||||
product: firefox
|
||||
job-name: condprof-g5-firefox
|
||||
dependencies:
|
||||
build-linux/opt: build-linux-shippable/opt
|
||||
fetches:
|
||||
build-linux/opt:
|
||||
- artifact: target.common.tests.tar.gz
|
||||
- artifact: target.condprof.tests.tar.gz
|
||||
run:
|
||||
run-as-root: true
|
||||
command: >-
|
||||
curl -L -o target.apk https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-esr68.signed-nightly.nightly.latest.mobile.android-api-16-release-opt/artifacts/public/build/target.apk &&
|
||||
adb install -r target.apk &&
|
||||
rm -rf target.apk &&
|
||||
$CONDPROF_ROOT/virtualenv/virtualenv.py -p python3 $CONDPROF_ROOT &&
|
||||
cd $CONDPROF_ROOT &&
|
||||
export PATH="$PATH:$MOZ_FETCHES_DIR/bin" &&
|
||||
bin/python3 condprof/main.py --device-name g5 --firefox org.mozilla.firefox ../../archive
|
||||
worker:
|
||||
artifacts:
|
||||
- name: public/condprof
|
||||
path: archive
|
||||
type: directory
|
||||
android-hw-p2-8-0-aarch64-fenix:
|
||||
worker-type: t-bitbar-gw-perf-p2
|
||||
description: Creates or update conditioned profiles on Fenix+P2
|
||||
@ -239,11 +269,11 @@ jobs:
|
||||
- name: public/condprof
|
||||
path: archive
|
||||
type: directory
|
||||
android-hw-p2-8-0-aarch64-fennec:
|
||||
android-hw-p2-8-0-aarch64-fennec68:
|
||||
worker-type: t-bitbar-gw-perf-p2
|
||||
description: Creates or update conditioned profiles on Fennec+P2
|
||||
description: Creates or update conditioned profiles on Fennec68+P2
|
||||
treeherder:
|
||||
symbol: condprof(fennec)
|
||||
symbol: condprof(fennec68)
|
||||
platform: android-hw-p2-8-0-android-aarch64/opt
|
||||
dependencies:
|
||||
build-linux/opt: build-linux-shippable/opt
|
||||
@ -253,17 +283,17 @@ jobs:
|
||||
- artifact: target.condprof.tests.tar.gz
|
||||
index:
|
||||
product: firefox
|
||||
job-name: condprof-p2_aarch64-fennec
|
||||
job-name: condprof-p2_aarch64-firefox
|
||||
run:
|
||||
run-as-root: true
|
||||
command: >-
|
||||
curl -L -o target.apk https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.mobile.fenix.v2.fennec-nightly.latest/artifacts/public/build/arm64-v8a/geckoNightly/target.apk &&
|
||||
curl -L -o target.apk https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-esr68.signed-nightly.nightly.latest.mobile.android-aarch64-release-opt/artifacts/public/build/target.apk &&
|
||||
adb install -r target.apk &&
|
||||
rm -rf target.apk &&
|
||||
$CONDPROF_ROOT/virtualenv/virtualenv.py -p python3 $CONDPROF_ROOT &&
|
||||
cd $CONDPROF_ROOT &&
|
||||
export PATH="$PATH:$MOZ_FETCHES_DIR/bin" &&
|
||||
bin/python3 condprof/main.py --device-name p2_aarch64 --firefox org.mozilla.fennec_aurora ../../archive
|
||||
bin/python3 condprof/main.py --device-name p2_aarch64 --firefox org.mozilla.firefox ../../archive
|
||||
worker:
|
||||
artifacts:
|
||||
- name: public/condprof
|
||||
|
@ -11,10 +11,10 @@ job-defaults:
|
||||
target:
|
||||
by-test-platform:
|
||||
android-hw-p2-8-0-android-aarch64.*:
|
||||
index: gecko.v2.mozilla-esr68.latest.mobile.android-aarch64-opt
|
||||
index: gecko.v2.mozilla-esr68.signed-nightly.nightly.latest.mobile.android-aarch64-release-opt
|
||||
name: build/target.apk
|
||||
default:
|
||||
index: gecko.v2.mozilla-esr68.latest.mobile.android-api-16-opt
|
||||
index: gecko.v2.mozilla-esr68.signed-nightly.nightly.latest.mobile.android-api-16-release-opt
|
||||
name: build/target.apk
|
||||
virtualization: hardware
|
||||
mozharness:
|
||||
|
@ -21,7 +21,7 @@ from condprof.util import write_yml_file, logger, DEFAULT_PREFS, BaseEnv
|
||||
class AndroidDevice:
|
||||
def __init__(self, app_name, marionette_port=2828, verbose=False):
|
||||
self.app_name = app_name
|
||||
self.fennec = "fennec" in app_name
|
||||
self.fennec = "firefox" in app_name
|
||||
|
||||
# XXX make that an option
|
||||
if "fenix" in app_name:
|
||||
|
@ -5,7 +5,7 @@
|
||||
"""
|
||||
from condprof.util import logger
|
||||
|
||||
_SUPPORTED_MOBILE_BROWSERS = "fenix", "gecko", "fennec"
|
||||
_SUPPORTED_MOBILE_BROWSERS = "fenix", "gecko", "firefox"
|
||||
|
||||
|
||||
def is_mobile(platform):
|
||||
|
@ -16,14 +16,12 @@ class Builder:
|
||||
self.mobile = is_mobile(self.platform)
|
||||
self.max_urls = options.get("max_urls", 150)
|
||||
|
||||
# see Bug 1608604 - on GV we get OOM killed if we do too much...
|
||||
if "gecko" in self.platform:
|
||||
self.max_urls = max(self.max_urls, 30)
|
||||
# see Bug 1619107 - we have stability issues with Fennec @ bitbar
|
||||
elif "fennec" in self.platform:
|
||||
self.max_urls = max(self.max_urls, 5)
|
||||
elif self.mobile:
|
||||
self.max_urls = max(self.max_urls, 150)
|
||||
# see Bug 1608604 & see Bug 1619107 - we have stability issues @ bitbar
|
||||
if self.mobile:
|
||||
self.max_urls = min(self.max_urls, 30)
|
||||
|
||||
logger.info("platform: %s" % self.platform)
|
||||
logger.info("max_urls: %s" % self.max_urls)
|
||||
|
||||
# we're syncing only on desktop for now
|
||||
self.syncing = not self.mobile
|
||||
|
Loading…
Reference in New Issue
Block a user