Bug 1271622: Add taskcluster taskgraphs for linux64-valgrind build
The graph executes the mozharness script with the custom build variant 'valgrind',
and executes mach's valgrind-test via mozharness.
MozReview-Commit-ID: 9KozkwMQ8Nk
--- a/testing/taskcluster/tasks/branches/base_job_flags.yml
+++ b/testing/taskcluster/tasks/branches/base_job_flags.yml
@@ -93,16 +93,17 @@ flags:
- android-api-15
- android-api-15-frontend
- android-partner-sample1
- linux
- linux64
- linux64-st-an
- linux64-artifact
- linux64-pgo
+ - linux64-valgrind
- macosx64
- macosx64-st-an
tests:
- cppunit
- crashtest
- crashtest-e10s
- external-media-tests
--- a/testing/taskcluster/tasks/branches/base_jobs.yml
+++ b/testing/taskcluster/tasks/branches/base_jobs.yml
@@ -65,16 +65,22 @@ builds:
- js/public/**
- js/src/**
linux64-pgo:
platforms:
- Linux64 PGO
types:
opt:
task: tasks/builds/opt_linux64_pgo.yml
+ linux64-valgrind:
+ platforms:
+ - Linux64 Valgrind
+ types:
+ debug:
+ task: tasks/builds/dbg_linux64_valgrind.yml
macosx64:
platforms:
- MacOSX64
types:
opt:
task: tasks/builds/opt_macosx64.yml
debug:
task: tasks/builds/dbg_macosx64.yml
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/dbg_linux64_valgrind.yml
@@ -0,0 +1,31 @@
+$inherits:
+ from: 'tasks/builds/base_linux64.yml'
+ variables:
+ build_name: 'linux64-valgrind'
+ build_type: 'dbg'
+task:
+ metadata:
+ name: '[TC] Linux64 Valgrind Dbg'
+ description: 'Linux64 Valgrind Dbg'
+
+ routes:
+ - 'index.buildbot.branches.{{project}}.linux64-valgrind'
+ - 'index.buildbot.revisions.{{head_rev}}.{{project}}.linux64-valgrind'
+
+ workerType: dbg-linux64
+
+ payload:
+ env:
+ MH_CUSTOM_BUILD_VARIANT_CFG: 'valgrind'
+ MOZHARNESS_ACTIONS: 'get-secrets build valgrind-test generate-build-stats update'
+
+ maxRunTime: 72000
+
+ extra:
+ treeherder:
+ groupSymbol: tc
+ groupName: Submitted by taskcluster
+ symbol: V
+ machine:
+ # see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
+ platform: linux64
\ No newline at end of file