mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #21821 - servo:up, r=SimonSapin
Move etc/ci/taskcluster one level up
This commit is contained in:
commit
de415e35fc
10 changed files with 7 additions and 7 deletions
|
@ -53,4 +53,4 @@ tasks:
|
|||
cd repo &&
|
||||
git fetch --depth 1 "$GIT_URL" "$GIT_REF" &&
|
||||
git reset --hard "$GIT_SHA" &&
|
||||
python3 etc/ci/taskcluster/decision-task.py
|
||||
python3 etc/taskcluster/decision-task.py
|
||||
|
|
|
@ -40,7 +40,7 @@ to build an arbitrary [task graph].
|
|||
## Servo’s decision task
|
||||
|
||||
This repository’s [`.taskcluster.yml`][tc.yml] schedules a single task
|
||||
that runs the Python 3 script [`etc/ci/taskcluster/decision-task.py`](decision-task.py).
|
||||
that runs the Python 3 script [`etc/taskcluster/decision-task.py`](decision-task.py).
|
||||
It is called a *decision task* as it is responsible for deciding what other tasks to schedule.
|
||||
|
||||
The Docker image that runs the decision task
|
||||
|
@ -73,7 +73,7 @@ when a `Dockerfile` first line is `% include` followed by a filename,
|
|||
that line is replaced with the content of that file.
|
||||
|
||||
For example,
|
||||
[`etc/ci/taskcluster/docker/build.dockerfile`](docker/build.dockerfile) starts like so:
|
||||
[`etc/taskcluster/docker/build.dockerfile`](docker/build.dockerfile) starts like so:
|
||||
|
||||
```Dockerfile
|
||||
% include base.dockerfile
|
|
@ -50,7 +50,7 @@ def linux_tidy_unit():
|
|||
./mach package --dev
|
||||
./mach test-tidy --no-progress --self-test
|
||||
python2.7 ./etc/memory_reports_over_time.py --test
|
||||
python3 ./etc/ci/taskcluster/mock.py
|
||||
python3 ./etc/taskcluster/mock.py
|
||||
./etc/ci/lockfile_changed.sh
|
||||
./etc/ci/check_no_panic.sh
|
||||
""",
|
||||
|
@ -145,7 +145,7 @@ def wpt_chunk(release_build_task, total_chunks, this_chunk, extra):
|
|||
|
||||
def create_run_task(*, build_task, script, **kwargs):
|
||||
fetch_build = """
|
||||
./etc/ci/taskcluster/curl-artifact.sh ${BUILD_TASK_ID} target.tar.gz | tar -xz
|
||||
./etc/taskcluster/curl-artifact.sh ${BUILD_TASK_ID} target.tar.gz | tar -xz
|
||||
"""
|
||||
kwargs.setdefault("env", {})["BUILD_TASK_ID"] = build_task
|
||||
kwargs.setdefault("dependencies", []).append(build_task)
|
|
@ -69,8 +69,8 @@ files = [
|
|||
"./tests/wpt/mozilla/tests/css/pre_with_tab.html",
|
||||
"./tests/wpt/mozilla/tests/mozilla/textarea_placeholder.html",
|
||||
# Python 3 syntax causes "E901 SyntaxError" when flake8 runs in Python 2
|
||||
"./etc/ci/taskcluster/decision-task.py",
|
||||
"./etc/ci/taskcluster/decisionlib.py",
|
||||
"./etc/taskcluster/decision-task.py",
|
||||
"./etc/taskcluster/decisionlib.py",
|
||||
]
|
||||
# Directories that are ignored for the non-WPT tidy check.
|
||||
directories = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue