summaryrefslogtreecommitdiffstats
path: root/.taskcluster.yml
blob: a72aa72ed29f2ef350b43f2c7b41412f04ab6dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
version: 0
metadata:
  name: "Bugzilla CI Tests"
  description: "A suite of tests to check the quality of the Bugzilla 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.#bugzilla.on-failed"
      - "notify.irc-channel.#bugzilla.on-exception"
      - "tc-treeherder.v2.bugzilla/bugzilla-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: "bugzilla/bugzilla-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.#bugzilla.on-failed"
      - "notify.irc-channel.#bugzilla.on-exception"
      - "tc-treeherder.v2.bugzilla/bugzilla-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: "bugzilla/bugzilla-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.#bugzilla.on-failed"
      - "notify.irc-channel.#bugzilla.on-exception"
      - "tc-treeherder.v2.bugzilla/bugzilla-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: "bugzilla/bugzilla-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.#bugzilla.on-failed"
      - "notify.irc-channel.#bugzilla.on-exception"
      - "tc-treeherder.v2.bugzilla/bugzilla-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: "bugzilla/bugzilla-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 }}"