Move etc/ci/taskcluster one level up

This commit is contained in:
Simon Sapin 2018-09-27 18:22:31 +02:00
parent 515afac456
commit 5a48669e90
10 changed files with 7 additions and 7 deletions

View file

@ -40,7 +40,7 @@ to build an arbitrary [task graph].
## Servos decision task
This repositorys [`.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

View file

@ -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)