Bug 1413976: Build docker images, rather than using indexed images; r?dustin
MozReview-Commit-ID: BnEz6K6tjny
new file mode 100644
--- /dev/null
+++ b/taskcluster/ci/docker-image/kind.yml
@@ -0,0 +1,22 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+loader: taskgraph.loader.transform:loader
+
+transforms:
+ - taskgraph.transforms.docker_image:transforms
+ - taskgraph.transforms.task:transforms
+
+# make a task for each docker-image we might want. For the moment, since we
+# write artifacts for each, these are whitelisted, but ideally that will change
+# (to use subdirectory clones of the proper directory), at which point we can
+# generate tasks for every docker image in the directory, secure in the
+# knowledge that unnecessary images will be omitted from the target task graph
+jobs:
+ desktop1604-test:
+ symbol: I(dt16t)
+ desktop-build:
+ symbol: I(db)
+ lint:
+ symbol: I(lnt)
--- a/taskcluster/ci/source-test/mozlint.yml
+++ b/taskcluster/ci/source-test/mozlint.yml
@@ -3,22 +3,18 @@ eslint:
platform: lint/opt
treeherder:
symbol: ES
kind: test
tier: 1
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
docker-image:
- indexed: "docker.images.v2.level-3.lint.latest"
+ in-tree: "lint"
max-run-time: 1800
- # FIXME: https://bugzilla.mozilla.org/show_bug.cgi?id=1408574
- volumes:
- - /builds/worker/checkouts
- - /builds/worker/.cache
run:
using: run-task
comm-checkout: true
command: >
cd /builds/worker/checkouts/gecko/ &&
cp -r /build/node_modules_eslint node_modules &&
ln -s ../tools/lint/eslint/eslint-plugin-mozilla node_modules &&
ln -s ../tools/lint/eslint/eslint-plugin-spidermonkey-js node_modules &&