summaryrefslogtreecommitdiffstats
path: root/.taskcluster.yml
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-02-21 16:52:11 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-02-21 16:52:11 +0100
commitbfebc6fe2d191092baec4a3f8106288e910c752e (patch)
tree42a64174d4e4961971e3d8d25e397ce4be941949 /.taskcluster.yml
parent65cec7539e036a9224d9df8e77cfd37f5970d3b5 (diff)
downloadbugzilla-bfebc6fe2d191092baec4a3f8106288e910c752e.tar.gz
bugzilla-bfebc6fe2d191092baec4a3f8106288e910c752e.tar.xz
- Adding .taskcluster.yml file to master branch for Treeherder/Taskcluster testing.
Diffstat (limited to '.taskcluster.yml')
-rw-r--r--.taskcluster.yml168
1 files changed, 168 insertions, 0 deletions
diff --git a/.taskcluster.yml b/.taskcluster.yml
new file mode 100644
index 000000000..96089a4f9
--- /dev/null
+++ b/.taskcluster.yml
@@ -0,0 +1,168 @@
+version: 0
+metadata:
+ name: "BMO CI Tests"
+ description: "A suite of tests to check the quality of the BMO codebase."
+ owner: "bugzilla-admin@mozilla.org"
+ source: "{{ event.head.repo.url }}"
+tasks:
+ - provisionerId: "{{ taskcluster.docker.provisionerId }}"
+ workerType: "{{ taskcluster.docker.workerType }}"
+ routes:
+ - "notify.email.bugzilla-admin@mozilla.org.on-failed"
+ - "notify.email.bugzilla-admin@mozilla.org.on-exception"
+ - "notify.irc-channel.#bteam.on-failed"
+ - "notify.irc-channel.#bteam.on-exception"
+ - "tc-treeherder.v2.mozilla-bteam/bmo-master.{{ event.head.sha }}"
+ extra:
+ github:
+ env: true
+ events:
+ - pull_request.opened
+ - pull_request.synchronize
+ - pull_request.reopened
+ - push
+ treeherder:
+ symbol: "San"
+ machine:
+ platform: "linux64"
+ build:
+ platform: "linux64"
+ payload:
+ maxRunTime: 3600
+ image: "mozillabteam/bmo-ci"
+ command:
+ - "runtests.sh"
+ env:
+ TEST_SUITE: "sanity"
+ artifacts:
+ public/runtests_log:
+ type: "file"
+ path: "/var/log/runtests.log"
+ metadata:
+ name: "Basic Sanity Tests"
+ description: "Basic Sanity Tests"
+ owner: "bugzilla-admin@mozilla.org"
+ source: "{{ event.head.repo.url }}"
+ - provisionerId: "{{ taskcluster.docker.provisionerId }}"
+ workerType: "{{ taskcluster.docker.workerType }}"
+ routes:
+ - "notify.email.bugzilla-admin@mozilla.org.on-failed"
+ - "notify.email.bugzilla-admin@mozilla.org.on-exception"
+ - "notify.irc-channel.#bteam.on-failed"
+ - "notify.irc-channel.#bteam.on-exception"
+ - "tc-treeherder.v2.mozilla-bteam/bmo-master.{{ event.head.sha }}"
+ extra:
+ github:
+ env: true
+ events:
+ - pull_request.opened
+ - pull_request.synchronize
+ - pull_request.reopened
+ - push
+ treeherder:
+ symbol: "Doc"
+ machine:
+ platform: "linux64"
+ build:
+ platform: "linux64"
+ payload:
+ maxRunTime: 3600
+ image: "mozillabteam/bmo-ci"
+ command:
+ - "runtests.sh"
+ env:
+ TEST_SUITE: "docs"
+ artifacts:
+ public/runtests_log:
+ type: "file"
+ path: "/var/log/runtests.log"
+ metadata:
+ name: "Documentation Build Test"
+ description: "Documentation Build Test"
+ owner: "bugzilla-admin@mozilla.org"
+ source: "{{ event.head.repo.url }}"
+ - provisionerId: "{{ taskcluster.docker.provisionerId }}"
+ workerType: "{{ taskcluster.docker.workerType }}"
+ routes:
+ - "notify.email.bugzilla-admin@mozilla.org.on-failed"
+ - "notify.email.bugzilla-admin@mozilla.org.on-exception"
+ - "notify.irc-channel.#bteam.on-failed"
+ - "notify.irc-channel.#bteam.on-exception"
+ - "tc-treeherder.v2.mozilla-bteam/bmo-master.{{ event.head.sha }}"
+ extra:
+ github:
+ env: true
+ events:
+ - pull_request.opened
+ - pull_request.synchronize
+ - pull_request.reopened
+ - push
+ treeherder:
+ symbol: "API"
+ machine:
+ platform: "linux64"
+ build:
+ platform: "linux64"
+ payload:
+ maxRunTime: 3600
+ image: "mozillabteam/bmo-ci"
+ command:
+ - "runtests.sh"
+ env:
+ TEST_SUITE: "webservices"
+ artifacts:
+ public/runtests_log:
+ type: "file"
+ path: "/var/log/runtests.log"
+ public/httpd_error_log:
+ type: "file"
+ path: "/var/log/httpd/error_log"
+ metadata:
+ name: "WebService API Tests"
+ description: "WebService API Tests"
+ owner: "bugzilla-admin@mozilla.org"
+ source: "{{ event.head.repo.url }}"
+ - provisionerId: "{{ taskcluster.docker.provisionerId }}"
+ workerType: "{{ taskcluster.docker.workerType }}"
+ routes:
+ - "notify.email.bugzilla-admin@mozilla.org.on-failed"
+ - "notify.email.bugzilla-admin@mozilla.org.on-exception"
+ - "notify.irc-channel.#bteam.on-failed"
+ - "notify.irc-channel.#bteam.on-exception"
+ - "tc-treeherder.v2.mozilla-bteam/bmo-master.{{ event.head.sha }}"
+ extra:
+ github:
+ env: true
+ events:
+ - pull_request.opened
+ - pull_request.synchronize
+ - pull_request.reopened
+ - push
+ treeherder:
+ symbol: "Sel"
+ machine:
+ platform: "linux64"
+ build:
+ platform: "linux64"
+ payload:
+ maxRunTime: 3600
+ image: "mozillabteam/bmo-ci"
+ command:
+ - "runtests.sh"
+ env:
+ TEST_SUITE: "selenium"
+ artifacts:
+ public/runtests_log:
+ type: "file"
+ path: "/var/log/runtests.log"
+ public/httpd_error_log:
+ type: "file"
+ path: "/var/log/httpd/error_log"
+ public/selenium_log":
+ type: "file"
+ path: "/selenium.log"
+ metadata:
+ name: "Selenium Tests"
+ description: "Selenium Tests"
+ owner: "bugzilla-admin@mozilla.org"
+ source: "{{ event.head.repo.url }}"