Skip to content

Commit

Permalink
Bug 1653171: Run windows L10n repacks on linux; r=Callek
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince committed Aug 4, 2020
1 parent 622666f commit 52a0abe
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 47 deletions.
3 changes: 1 addition & 2 deletions browser/config/mozconfigs/win32/l10n-mozconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
. "$topsrcdir/browser/config/mozconfigs/common"
. "$topsrcdir/browser/config/mozconfigs/win32/common-win32"
. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --target=i686-pc-mingw32

ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/nightly

Expand Down
3 changes: 1 addition & 2 deletions browser/config/mozconfigs/win32/l10n-mozconfig-devedition
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
. "$topsrcdir/browser/config/mozconfigs/common"
. "$topsrcdir/browser/config/mozconfigs/win32/common-win32"
. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --target=i686-pc-mingw32

ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/aurora

Expand Down
19 changes: 15 additions & 4 deletions taskcluster/ci/l10n/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ transforms:
kind-dependencies:
- build
- build-signing
- fetch
- repackage
- toolchain

Expand All @@ -37,7 +38,7 @@ job-template:
run-time:
by-build-platform:
default: 900
win.*: 2700
win.*: 1800
secrets: false
fetches:
toolchain:
Expand All @@ -46,6 +47,15 @@ job-template:
macosx64.*:
- linux64-libdmg
- linux64-hfsplus
win.*:
- linux64-wine
- linux64-liblowercase
fetch:
by-build-platform:
default: []
win.*:
- nsis-3.01-win
- upx-3.95-win
tooltool:
by-build-platform:
default: internal
Expand All @@ -64,10 +74,11 @@ job-template:
by-build-platform:
linux-shippable.*: ['release'] # Do not run on autoland - Bug 1599197
default: ['all']
worker-type:
worker-type: b-linux
docker-image:
by-build-platform:
default: b-linux
win.*: b-win2012
linux.*: {in-tree: debian8-amd64-build}
default: {in-tree: debian10-amd64-build}
treeherder:
symbol: L10n
tier: 1
Expand Down
19 changes: 15 additions & 4 deletions taskcluster/ci/shippable-l10n/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ transforms:
kind-dependencies:
- build
- build-signing
- fetch
- repackage
- toolchain

Expand Down Expand Up @@ -48,14 +49,23 @@ job-template:
run-time:
by-build-platform:
default: 900
win.*: 2700
win.*: 1800
fetches:
toolchain:
by-build-platform:
default: []
macosx64.*:
- linux64-libdmg
- linux64-hfsplus
win.*:
- linux64-wine
- linux64-liblowercase
fetch:
by-build-platform:
default: []
win.*:
- nsis-3.01-win
- upx-3.95-win
tooltool:
by-build-platform:
default: internal
Expand All @@ -80,10 +90,11 @@ job-template:
win32-devedition: win32-devedition-opt
win64-devedition: win64-devedition-opt
win64-aarch64-devedition: win64-aarch64-devedition-opt
worker-type:
worker-type: b-linux
docker-image:
by-build-platform:
default: b-linux
win.*: b-win2012
linux.*: {in-tree: debian8-amd64-build}
default: {in-tree: debian10-amd64-build}
treeherder:
symbol: L10n(B)
tier: 1
Expand Down
1 change: 1 addition & 0 deletions taskcluster/taskgraph/transforms/l10n.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def handle_keyed_by(config, jobs):
"docker-image",
"secrets",
"fetches.toolchain",
"fetches.fetch",
"tooltool",
"env",
"ignore-locales",
Expand Down
3 changes: 0 additions & 3 deletions testing/mozharness/configs/single_locale/tc_android-api-16.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"output_dir": "%(abs_work_dir)s/src",
},

"upload_env": {
'UPLOAD_PATH': '/builds/worker/artifacts/',
},
'secret_files': [
{'filename': '/builds/gls-gapi.data',
'secret_name': 'project/releng/gecko/build/level-%(scm-level)s/gls-gapi.data',
Expand Down
4 changes: 4 additions & 0 deletions testing/mozharness/configs/single_locale/tc_common.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
config = {
"simple_name_move": True,
"vcs_share_base": "/builds/hg-shared",
"upload_env": {
'UPLOAD_PATH': '/builds/worker/artifacts/',
},
}
3 changes: 0 additions & 3 deletions testing/mozharness/configs/single_locale/tc_linux32.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@
"L10NBASEDIR": "../../l10n",
'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE'),
},
"upload_env": {
'UPLOAD_PATH': '/builds/worker/artifacts/',
},
}
5 changes: 0 additions & 5 deletions testing/mozharness/configs/single_locale/tc_linux_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@
"L10NBASEDIR": "../../l10n",
'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE'),
},
"upload_env": {
'UPLOAD_PATH': '/builds/worker/artifacts/',
},

"vcs_share_base": "/builds/hg-shared",
}
5 changes: 0 additions & 5 deletions testing/mozharness/configs/single_locale/tc_macosx64.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,5 @@
"L10NBASEDIR": "../../l10n",
'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE'),
},
"upload_env": {
'UPLOAD_PATH': '/builds/worker/artifacts/',
},

"vcs_share_base": "/builds/hg-shared",
}

10 changes: 1 addition & 9 deletions testing/mozharness/configs/single_locale/tc_win32.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
import os

config = {
'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
"bootstrap_env": {
"NO_MERCURIAL_SETUP_CHECK": "1",
"MOZ_OBJDIR": "%(abs_obj_dir)s",
"EN_US_BINARY_URL": os.environ["EN_US_BINARY_URL"],
"DIST": "%(abs_obj_dir)s",
"L10NBASEDIR": "../../l10n",
'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE', 'c:/builds/tooltool_cache'),
'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE'),
'EN_US_PACKAGE_NAME': 'target.zip',
},
"upload_env": {
'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
},

'tooltool_manifest_src': "browser/config/tooltool-manifests/win32/releng.manifest",

# use mozmake?
"enable_mozmake": True,
'exes': {}
}
11 changes: 1 addition & 10 deletions testing/mozharness/configs/single_locale/tc_win64.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
import os

config = {
'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
"bootstrap_env": {
"NO_MERCURIAL_SETUP_CHECK": "1",
"MOZ_OBJDIR": "%(abs_obj_dir)s",
"EN_US_BINARY_URL": os.environ["EN_US_BINARY_URL"],
"DIST": "%(abs_obj_dir)s",
"L10NBASEDIR": "../../l10n",
'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE', 'c:/builds/tooltool_cache'),
'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE'),
'EN_US_PACKAGE_NAME': 'target.zip',
},
"upload_env": {
'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
},

'tooltool_manifest_src': "browser/config/tooltool-manifests/win64/releng.manifest",

# use mozmake?
"enable_mozmake": True,
'exes': {},
}

0 comments on commit 52a0abe

Please sign in to comment.