зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1471541 - switch to new tooltool url, r=jlund
--HG-- extra : rebase_source : 85cd6f1e78ec293d5c9fba8d41b31b5ca8bc521e
This commit is contained in:
Родитель
1384968ccc
Коммит
2a544047c6
|
@ -69,7 +69,7 @@ On Error GoTo 0
|
|||
' Download installer
|
||||
On Error Resume Next
|
||||
Download "https://conemu.github.io/install2.ps1", "install2.ps1"
|
||||
conemuSettingsURI = "https://api.pub.build.mozilla.org/tooltool/sha512/9aa384ecc8025a974999e913c83064b3b797e05d19806e62ef558c8300e4c3f72967e9464ace59759f76216fc2fc66f338a1e5cdea3b9aa264529487f091d929"
|
||||
conemuSettingsURI = "https://tooltool.mozilla-releng.net/sha512/9aa384ecc8025a974999e913c83064b3b797e05d19806e62ef558c8300e4c3f72967e9464ace59759f76216fc2fc66f338a1e5cdea3b9aa264529487f091d929"
|
||||
' Run installer
|
||||
errorCode = shell.Run("powershell.exe -NoProfile -ExecutionPolicy Unrestricted set dst '" & conemuPath & "'; set ver 'stable'; set lnk 'Mozilla Development Shell'; set xml '" & conemuSettingsURI & "'; set run $FALSE; .\install2.ps1", 0, true)
|
||||
' Delete ConEmu installer
|
||||
|
|
|
@ -23,7 +23,7 @@ config = {
|
|||
# from android_common.py
|
||||
"download_tooltool": True,
|
||||
"download_minidump_stackwalk": True,
|
||||
"tooltool_servers": ['https://api.pub.build.mozilla.org/tooltool/'],
|
||||
"tooltool_servers": ['https://tooltool.mozilla-releng.net/'],
|
||||
# minidump_tooltool_manifest_path is relative to workspace/build/tests/
|
||||
"minidump_tooltool_manifest_path": "config/tooltool-manifests/linux64/releng.manifest",
|
||||
"xpcshell_extra": "--remoteTestRoot=/data/local/tests",
|
||||
|
|
|
@ -29,7 +29,7 @@ config = {
|
|||
|
||||
# ToolTool
|
||||
"tooltool_manifest_src": 'browser\\config\\tooltool-manifests\\{}\\releng.manifest'.format(platform),
|
||||
'tooltool_url': 'https://api.pub.build.mozilla.org/tooltool/',
|
||||
'tooltool_url': 'https://tooltool.mozilla-releng.net/',
|
||||
'tooltool_cache': os.environ.get('TOOLTOOL_CACHE'),
|
||||
|
||||
'run_configure': False,
|
||||
|
|
|
@ -29,7 +29,7 @@ config = {
|
|||
|
||||
# ToolTool
|
||||
"tooltool_manifest_src": 'browser\\config\\tooltool-manifests\\{}\\releng.manifest'.format(platform),
|
||||
'tooltool_url': 'https://api.pub.build.mozilla.org/tooltool/',
|
||||
'tooltool_url': 'https://tooltool.mozilla-releng.net/',
|
||||
'tooltool_cache': os.environ.get('TOOLTOOL_CACHE'),
|
||||
|
||||
'run_configure': False,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd $DIR
|
||||
|
||||
echo "To complete this script you will need the following tokens from https://api.pub.build.mozilla.org/tokenauth/"
|
||||
echo "To complete this script you will need the following tokens from https://mozilla-releng.net/tokens"
|
||||
echo " - tooltool.upload.public"
|
||||
echo " - tooltool.download.public"
|
||||
echo ""
|
||||
|
@ -14,7 +14,7 @@ read -p "Are these tokens visible at the above URL (y/n)?" choice
|
|||
case "$choice" in
|
||||
y|Y )
|
||||
echo ""
|
||||
echo "1. Go to https://api.pub.build.mozilla.org/"
|
||||
echo "1. Go to https://mozilla-releng.net"
|
||||
echo "2. Log in using your Mozilla LDAP account."
|
||||
echo "3. Click on \"Tokens.\""
|
||||
echo "4. Issue a user token with the permissions tooltool.upload.public and tooltool.download.public."
|
||||
|
@ -49,10 +49,10 @@ tar cvz -f eslint-plugin-mozilla.tar.gz node_modules
|
|||
|
||||
echo "Adding eslint-plugin-mozilla.tar.gz to tooltool..."
|
||||
rm -f manifest.tt
|
||||
../../../../python/mozbuild/mozbuild/action/tooltool.py add --visibility public --unpack eslint-plugin-mozilla.tar.gz --url="https://api.pub.build.mozilla.org/tooltool/"
|
||||
../../../../python/mozbuild/mozbuild/action/tooltool.py add --visibility public --unpack eslint-plugin-mozilla.tar.gz --url="https://tooltool.mozilla-releng.net/"
|
||||
|
||||
echo "Uploading eslint-plugin-mozilla.tar.gz to tooltool..."
|
||||
../../../../python/mozbuild/mozbuild/action/tooltool.py upload --authentication-file=~/.tooltool-token --message "node_modules folder update for tools/lint/eslint/eslint-plugin-mozilla" --url="https://api.pub.build.mozilla.org/tooltool/"
|
||||
../../../../python/mozbuild/mozbuild/action/tooltool.py upload --authentication-file=~/.tooltool-token --message "node_modules folder update for tools/lint/eslint/eslint-plugin-mozilla" --url="https://tooltool.mozilla-releng.net/"
|
||||
|
||||
echo "Cleaning up..."
|
||||
rm eslint-plugin-mozilla.tar.gz
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd $DIR
|
||||
|
||||
echo "To complete this script you will need the following tokens from https://api.pub.build.mozilla.org/tokenauth/"
|
||||
echo "To complete this script you will need the following tokens from https://mozilla-releng.net/tokens"
|
||||
echo " - tooltool.upload.public"
|
||||
echo " - tooltool.download.public"
|
||||
echo ""
|
||||
|
@ -14,7 +14,7 @@ read -p "Are these tokens visible at the above URL (y/n)?" choice
|
|||
case "$choice" in
|
||||
y|Y )
|
||||
echo ""
|
||||
echo "1. Go to https://api.pub.build.mozilla.org/"
|
||||
echo "1. Go to https://mozilla-releng.net"
|
||||
echo "2. Log in using your Mozilla LDAP account."
|
||||
echo "3. Click on \"Tokens.\""
|
||||
echo "4. Issue a user token with the permissions tooltool.upload.public and tooltool.download.public."
|
||||
|
@ -56,10 +56,10 @@ tar cvz --exclude=eslint-plugin-mozilla --exclude=eslint-plugin-spidermonkey-js
|
|||
|
||||
echo "Adding eslint.tar.gz to tooltool..."
|
||||
rm tools/lint/eslint/manifest.tt
|
||||
./python/mozbuild/mozbuild/action/tooltool.py add --visibility public --unpack eslint.tar.gz --url="https://api.pub.build.mozilla.org/tooltool/"
|
||||
./python/mozbuild/mozbuild/action/tooltool.py add --visibility public --unpack eslint.tar.gz --url="https://tooltool.mozilla-releng.net/"
|
||||
|
||||
echo "Uploading eslint.tar.gz to tooltool..."
|
||||
./python/mozbuild/mozbuild/action/tooltool.py upload --authentication-file=~/.tooltool-token --message "node_modules folder update for tools/lint/eslint" --url="https://api.pub.build.mozilla.org/tooltool/"
|
||||
./python/mozbuild/mozbuild/action/tooltool.py upload --authentication-file=~/.tooltool-token --message "node_modules folder update for tools/lint/eslint" --url="https://tooltool.mozilla-releng.net/"
|
||||
|
||||
echo "Cleaning up..."
|
||||
mv manifest.tt tools/lint/eslint/manifest.tt
|
||||
|
|
Загрузка…
Ссылка в новой задаче