summaryrefslogtreecommitdiff
path: root/automation/taskcluster/graph/tools/clang-format.yml
diff options
context:
space:
mode:
Diffstat (limited to 'automation/taskcluster/graph/tools/clang-format.yml')
-rw-r--r--automation/taskcluster/graph/tools/clang-format.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/automation/taskcluster/graph/tools/clang-format.yml b/automation/taskcluster/graph/tools/clang-format.yml
new file mode 100644
index 000000000..75f190edd
--- /dev/null
+++ b/automation/taskcluster/graph/tools/clang-format.yml
@@ -0,0 +1,35 @@
+---
+- reruns: 0
+ task:
+ created: !from_now 0
+ deadline: !from_now 24
+ provisionerId: aws-provisioner-v1
+ workerType: hg-worker
+ schedulerId: task-graph-scheduler
+
+ metadata:
+ owner: !env TC_OWNER
+ source: !env TC_SOURCE
+ name: clang-format-3.8
+ description: clang-format-3.8
+
+ payload:
+ maxRunTime: 3600
+ image: ttaubert/nss-ci:0.0.16
+
+ command:
+ - "/bin/bash"
+ - "-c"
+ - "bin/checkout.sh && nss/automation/taskcluster/scripts/run_clang_format.sh nss/lib/ssl"
+
+ env:
+ NSS_HEAD_REPOSITORY: !env NSS_HEAD_REPOSITORY
+ NSS_HEAD_REVISION: !env NSS_HEAD_REVISION
+
+ extra:
+ treeherder:
+ build:
+ platform: nss-tools
+ symbol: clang-format-3.8
+ revision: !env TC_REVISION
+ revision_hash: !env TC_REVISION_HASH