mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Auto merge of #22419 - servo:tc-dev, r=jdm
Buildbot: disable jobs that have moved to Taskcluster For now the Buildbot jobs are made no-ops. A separate PR to https://github.com/servo/saltfs will disable them. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22419) <!-- Reviewable:end -->
This commit is contained in:
commit
4ef1db879c
4 changed files with 41 additions and 78 deletions
|
@ -40,15 +40,6 @@ mac-rel-wpt4:
|
||||||
- ./mach test-wpt --release --pref dom.servoparser.async_html_tokenizer.enabled --processes=8 --log-raw test-async-parsing.log --log-errorsummary async-parsing-errorsummary.log --always-succeed domparsing html/syntax html/dom/documents html/dom/dynamic-markup-insertion
|
- ./mach test-wpt --release --pref dom.servoparser.async_html_tokenizer.enabled --processes=8 --log-raw test-async-parsing.log --log-errorsummary async-parsing-errorsummary.log --always-succeed domparsing html/syntax html/dom/documents html/dom/dynamic-markup-insertion
|
||||||
- ./mach filter-intermittents async-parsing-errorsummary.log --log-intermittents async-parsing-intermittents.log --log-filteredsummary filtered-async-parsing-errorsummary.log --tracker-api default --reporter-api default
|
- ./mach filter-intermittents async-parsing-errorsummary.log --log-intermittents async-parsing-intermittents.log --log-filteredsummary filtered-async-parsing-errorsummary.log --tracker-api default --reporter-api default
|
||||||
|
|
||||||
mac-dev-unit:
|
|
||||||
- ./mach clean-nightlies --keep 3 --force
|
|
||||||
- ./mach clean-cargo-cache --keep 3 --force
|
|
||||||
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig ./mach build --dev
|
|
||||||
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig ./mach test-unit
|
|
||||||
- python ./etc/memory_reports_over_time.py --test
|
|
||||||
- ./mach package --dev
|
|
||||||
- bash ./etc/ci/lockfile_changed.sh
|
|
||||||
|
|
||||||
mac-rel-css1:
|
mac-rel-css1:
|
||||||
- ./mach clean-nightlies --keep 3 --force
|
- ./mach clean-nightlies --keep 3 --force
|
||||||
- ./mach clean-cargo-cache --keep 3 --force
|
- ./mach clean-cargo-cache --keep 3 --force
|
||||||
|
@ -105,28 +96,6 @@ mac-rel-intermittent:
|
||||||
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig ./mach build --release
|
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig ./mach build --release
|
||||||
- ./etc/ci/check_intermittents.sh --log-raw intermittents.log
|
- ./etc/ci/check_intermittents.sh --log-raw intermittents.log
|
||||||
|
|
||||||
linux-dev:
|
|
||||||
env:
|
|
||||||
CCACHE: sccache
|
|
||||||
RUSTC_WRAPPER: sccache
|
|
||||||
CC: gcc-5
|
|
||||||
CXX: g++-5
|
|
||||||
commands:
|
|
||||||
- ./mach clean-nightlies --keep 3 --force
|
|
||||||
- ./mach clean-cargo-cache --keep 3 --force
|
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
|
||||||
- ./mach test-tidy --no-progress --all
|
|
||||||
- ./mach test-tidy --no-progress --self-test
|
|
||||||
- ./mach build --dev -p servo
|
|
||||||
- ./mach test-unit
|
|
||||||
- python ./etc/memory_reports_over_time.py --test
|
|
||||||
- ./mach package --dev
|
|
||||||
- ./mach build --libsimpleservo
|
|
||||||
- ./mach build --dev --no-default-features --features default-except-unstable -p servo
|
|
||||||
- bash ./etc/ci/lockfile_changed.sh
|
|
||||||
- bash ./etc/ci/check_no_panic.sh
|
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
|
||||||
|
|
||||||
linux-rel-wpt:
|
linux-rel-wpt:
|
||||||
env:
|
env:
|
||||||
CCACHE: sccache
|
CCACHE: sccache
|
||||||
|
@ -178,21 +147,6 @@ linux-nightly:
|
||||||
- rm -rf ./python/_virtualenv
|
- rm -rf ./python/_virtualenv
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
- ./etc/ci/clean_build_artifacts.sh
|
||||||
|
|
||||||
android:
|
|
||||||
env:
|
|
||||||
HOST_CC: gcc-5
|
|
||||||
HOST_CXX: g++-5
|
|
||||||
commands:
|
|
||||||
- ./mach clean-nightlies --keep 3 --force
|
|
||||||
- ./mach clean-cargo-cache --keep 3 --force
|
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
|
||||||
- ./mach bootstrap-android --accept-all-licences --build
|
|
||||||
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach build --android --dev
|
|
||||||
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach package --android --dev
|
|
||||||
- bash ./etc/ci/lockfile_changed.sh
|
|
||||||
- python ./etc/ci/check_dynamic_symbols.py
|
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
|
||||||
|
|
||||||
android-mac:
|
android-mac:
|
||||||
commands:
|
commands:
|
||||||
- ./mach clean-nightlies --keep 3 --force
|
- ./mach clean-nightlies --keep 3 --force
|
||||||
|
@ -203,19 +157,6 @@ android-mac:
|
||||||
- bash ./etc/ci/lockfile_changed.sh
|
- bash ./etc/ci/lockfile_changed.sh
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
- ./etc/ci/clean_build_artifacts.sh
|
||||||
|
|
||||||
android-x86:
|
|
||||||
env:
|
|
||||||
HOST_CC: gcc-5
|
|
||||||
HOST_CXX: g++-5
|
|
||||||
commands:
|
|
||||||
- ./mach clean-nightlies --keep 3 --force
|
|
||||||
- ./mach clean-cargo-cache --keep 3 --force
|
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
|
||||||
- ./mach bootstrap-android --accept-all-licences --build --emulator-x86
|
|
||||||
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach build --target i686-linux-android --release
|
|
||||||
- bash ./etc/ci/lockfile_changed.sh
|
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
|
||||||
|
|
||||||
android-nightly:
|
android-nightly:
|
||||||
env:
|
env:
|
||||||
HOST_CC: gcc-5
|
HOST_CC: gcc-5
|
||||||
|
@ -320,16 +261,6 @@ arm64:
|
||||||
- bash ./etc/ci/lockfile_changed.sh
|
- bash ./etc/ci/lockfile_changed.sh
|
||||||
- ./etc/ci/clean_build_artifacts.sh
|
- ./etc/ci/clean_build_artifacts.sh
|
||||||
|
|
||||||
windows-msvc-dev:
|
|
||||||
env:
|
|
||||||
CARGO_HOME: C:\buildbot\.cargo
|
|
||||||
commands:
|
|
||||||
- mach.bat clean-cargo-cache --keep 3 --force
|
|
||||||
- mach.bat clean-nightlies --keep 3 --force
|
|
||||||
- mach.bat build --dev
|
|
||||||
- mach.bat test-unit
|
|
||||||
- mach.bat package --dev
|
|
||||||
|
|
||||||
windows-msvc-nightly:
|
windows-msvc-nightly:
|
||||||
env:
|
env:
|
||||||
CARGO_HOME: C:\buildbot\.cargo
|
CARGO_HOME: C:\buildbot\.cargo
|
||||||
|
@ -339,3 +270,10 @@ windows-msvc-nightly:
|
||||||
- mach.bat build --release
|
- mach.bat build --release
|
||||||
- mach.bat package --release
|
- mach.bat package --release
|
||||||
- mach.bat upload-nightly windows-msvc
|
- mach.bat upload-nightly windows-msvc
|
||||||
|
|
||||||
|
# Moved to Taskcluster
|
||||||
|
linux-dev: []
|
||||||
|
mac-dev-unit: []
|
||||||
|
windows-msvc-dev: []
|
||||||
|
android: []
|
||||||
|
android-x86: []
|
||||||
|
|
|
@ -14,7 +14,9 @@ def main(task_for, mock=False):
|
||||||
CONFIG.treeherder_repo_name = "servo-" + CONFIG.git_ref.split("/")[-1]
|
CONFIG.treeherder_repo_name = "servo-" + CONFIG.git_ref.split("/")[-1]
|
||||||
|
|
||||||
linux_tidy_unit()
|
linux_tidy_unit()
|
||||||
android_arm32()
|
android_arm32_dev()
|
||||||
|
android_arm32_release()
|
||||||
|
android_x86_release()
|
||||||
windows_unit()
|
windows_unit()
|
||||||
macos_unit()
|
macos_unit()
|
||||||
|
|
||||||
|
@ -24,13 +26,12 @@ def main(task_for, mock=False):
|
||||||
windows_release()
|
windows_release()
|
||||||
linux_wpt()
|
linux_wpt()
|
||||||
linux_build_task("Indexed by task definition").find_or_create()
|
linux_build_task("Indexed by task definition").find_or_create()
|
||||||
android_x86()
|
android_x86_wpt()
|
||||||
|
|
||||||
# https://tools.taskcluster.net/hooks/project-servo/daily
|
# https://tools.taskcluster.net/hooks/project-servo/daily
|
||||||
elif task_for == "daily":
|
elif task_for == "daily":
|
||||||
daily_tasks_setup()
|
daily_tasks_setup()
|
||||||
with_rust_nightly()
|
with_rust_nightly()
|
||||||
android_arm32()
|
|
||||||
|
|
||||||
else: # pragma: no cover
|
else: # pragma: no cover
|
||||||
raise ValueError("Unrecognized $TASK_FOR value: %r", task_for)
|
raise ValueError("Unrecognized $TASK_FOR value: %r", task_for)
|
||||||
|
@ -77,6 +78,8 @@ def linux_tidy_unit():
|
||||||
./mach build --dev
|
./mach build --dev
|
||||||
./mach test-unit
|
./mach test-unit
|
||||||
./mach package --dev
|
./mach package --dev
|
||||||
|
./mach build --dev --libsimpleservo
|
||||||
|
./mach build --dev --no-default-features --features default-except-unstable
|
||||||
./mach test-tidy --no-progress --self-test
|
./mach test-tidy --no-progress --self-test
|
||||||
./etc/memory_reports_over_time.py --test
|
./etc/memory_reports_over_time.py --test
|
||||||
./etc/taskcluster/mock.py
|
./etc/taskcluster/mock.py
|
||||||
|
@ -117,7 +120,20 @@ def with_rust_nightly():
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def android_arm32():
|
def android_arm32_dev():
|
||||||
|
return (
|
||||||
|
android_build_task("Dev build")
|
||||||
|
.with_treeherder("Android ARMv7")
|
||||||
|
.with_script("""
|
||||||
|
./mach build --android --dev
|
||||||
|
./etc/ci/lockfile_changed.sh
|
||||||
|
python ./etc/ci/check_dynamic_symbols.py
|
||||||
|
""")
|
||||||
|
.create()
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def android_arm32_release():
|
||||||
return (
|
return (
|
||||||
android_build_task("Release build")
|
android_build_task("Release build")
|
||||||
.with_treeherder("Android ARMv7")
|
.with_treeherder("Android ARMv7")
|
||||||
|
@ -130,8 +146,8 @@ def android_arm32():
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def android_x86():
|
def android_x86_release():
|
||||||
build_task = (
|
return (
|
||||||
android_build_task("Release build")
|
android_build_task("Release build")
|
||||||
.with_treeherder("Android x86")
|
.with_treeherder("Android x86")
|
||||||
.with_script("./mach build --target i686-linux-android --release")
|
.with_script("./mach build --target i686-linux-android --release")
|
||||||
|
@ -141,6 +157,10 @@ def android_x86():
|
||||||
)
|
)
|
||||||
.find_or_create("build.android_x86_release." + CONFIG.git_sha)
|
.find_or_create("build.android_x86_release." + CONFIG.git_sha)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def android_x86_wpt():
|
||||||
|
build_task = android_x86_release()
|
||||||
return (
|
return (
|
||||||
DockerWorkerTask("WPT")
|
DockerWorkerTask("WPT")
|
||||||
.with_treeherder("Android x86")
|
.with_treeherder("Android x86")
|
||||||
|
|
|
@ -26,9 +26,13 @@ def livelog():
|
||||||
files = win2016["secrets"]["files"]
|
files = win2016["secrets"]["files"]
|
||||||
assert all(f["encoding"] == "base64" for f in files)
|
assert all(f["encoding"] == "base64" for f in files)
|
||||||
files = {f.get("description"): f["content"] for f in files}
|
files = {f.get("description"): f["content"] for f in files}
|
||||||
|
cert = files["SSL certificate for livelog"]
|
||||||
|
key = files["SSL key for livelog"]
|
||||||
return {
|
return {
|
||||||
"livelog_cert": base64.b64decode(files["SSL certificate for livelog"]),
|
"livelog_cert_base64": cert,
|
||||||
"livelog_key": base64.b64decode(files["SSL key for livelog"]),
|
"livelog_key_base64": key,
|
||||||
|
"livelog_cert": base64.b64decode(cert),
|
||||||
|
"livelog_key": base64.b64decode(key),
|
||||||
"livelog_secret": win2016["secrets"]["generic-worker"]["config"]["livelogSecret"],
|
"livelog_secret": win2016["secrets"]["generic-worker"]["config"]["livelogSecret"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,8 @@ def main(*args):
|
||||||
env = dict(os.environ)
|
env = dict(os.environ)
|
||||||
env["PACKET_AUTH_TOKEN"] = terraform_vars["packet_api_key"]
|
env["PACKET_AUTH_TOKEN"] = terraform_vars["packet_api_key"]
|
||||||
env.update({"TF_VAR_" + k: v for k, v in terraform_vars.items()})
|
env.update({"TF_VAR_" + k: v for k, v in terraform_vars.items()})
|
||||||
sys.exit(subprocess.call(["terraform"] + list(args), env=env))
|
cwd = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
sys.exit(subprocess.call(["terraform"] + list(args), env=env, cwd=cwd))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue