kind.yml (10451B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 --- 5 loader: taskgraph.loader.transform:loader 6 7 transforms: 8 - gecko_taskgraph.transforms.test_apk:transforms 9 - gecko_taskgraph.transforms.job:transforms 10 - gecko_taskgraph.transforms.task:transforms 11 12 kind-dependencies: 13 - signing-apk 14 15 task-defaults: 16 run-on-repo-type: [hg] 17 description: Runs UI tests for sanity checking startup on Nightly 18 treeherder: 19 kind: test 20 tier: 1 21 worker-type: t-linux-docker-amd 22 worker: 23 docker-image: {in-tree: android-ui-tests} 24 max-run-time: 7200 25 env: 26 GOOGLE_APPLICATION_CREDENTIALS: '.firebase_token.json' 27 artifacts: 28 - name: public 29 path: /builds/worker/artifacts 30 type: directory 31 retry-exit-status: [20] 32 run: 33 using: run-commands 34 run-on-projects: [] 35 routes: 36 by-level: 37 '3': 38 - notify.slack-channel.C0134KJ4JHL.on-failed 39 'default': [] 40 scopes: 41 by-level: 42 '3': 43 - queue:route:notify.slack-channel.C0134KJ4JHL.on-failed 44 - notify:slack-channel:C0134KJ4JHL 45 'default': [] 46 extra: 47 notify: 48 by-level: 49 '3': 50 slackText: '${rootUrl}/tasks/${status.taskId} | ${task.metadata.name} | ${task.metadata.source}' 51 slackBlocks: | 52 [ 53 { 54 "type": "header", 55 "text": { 56 "type": "plain_text", 57 "text": "firefox-android :firefox: ${task.metadata.name} :x:\n " 58 } 59 }, 60 { 61 "type": "divider" 62 }, 63 { 64 "type": "section", 65 "text": { 66 "type": "mrkdwn", 67 "text": "*Task*: <${rootUrl}/tasks/${status.taskId}|Taskcluster>" 68 } 69 }, 70 { 71 "type": "section", 72 "text": { 73 "type": "mrkdwn", 74 "text": "*Owner*: ${task.metadata.owner}" 75 } 76 }, 77 { 78 "type": "section", 79 "text": { 80 "type": "mrkdwn", 81 "text": "*Source*: <${task.payload.env.GECKO_BASE_REPOSITORY}/rev/${task.payload.env.GECKO_HEAD_REV}|Commit> :hg:" 82 } 83 }, 84 { 85 "type": "divider" 86 }, 87 { 88 "type": "context", 89 "elements": [ 90 { 91 "type": "mrkdwn", 92 "text": ":testops-notify: created by <https://mozilla-hub.atlassian.net/wiki/spaces/MTE/overview|Mobile Test Engineering>" 93 } 94 ] 95 } 96 ] 97 'default': {} 98 tasks: 99 fenix-arm64-v8a-nightly-robo-opt: 100 attributes: 101 build-type: fenix-nightly 102 shipping-product: fenix 103 description: Fenix Nightly Opt Robo Test (arm64-v8a) 104 dependencies: 105 signing: signing-apk-fenix-nightly 106 fetches: 107 signing: 108 - artifact: target.arm64-v8a.apk 109 extract: false 110 run: 111 secrets: 112 - name: project/gecko/level-any/firefox-android/fenix/firebase 113 key: firebaseToken 114 path: mobile/android/test_infra/.firebase_token.json 115 json: true 116 commands: 117 - [python3, taskcluster/scripts/tests/test-lab.py, fenix/arm-start-test-robo.yml, /builds/worker/fetches/target.arm64-v8a.apk] 118 treeherder: 119 platform: fenix-android-all/opt 120 symbol: fenix-nightly(startup-arm64-robo-opt) 121 worker: 122 env: 123 GOOGLE_PROJECT: moz-fenix 124 125 fenix-arm64-v8a-nightly: 126 attributes: 127 build-type: fenix-nightly-firebase 128 shipping-product: fenix 129 dependencies: 130 signing: signing-apk-fenix-nightly-firebase 131 signing-android-test: signing-apk-fenix-android-test-nightly 132 fetches: 133 signing: 134 - artifact: target.arm64-v8a.apk 135 extract: false 136 signing-android-test: 137 - artifact: target.noarch.apk 138 extract: false 139 run: 140 secrets: 141 - name: project/gecko/level-any/firefox-android/fenix/firebase 142 key: firebaseToken 143 path: mobile/android/test_infra/.firebase_token.json 144 json: true 145 commands: 146 - [python3, taskcluster/scripts/tests/test-lab.py, fenix/arm-start-test.yml, /builds/worker/fetches/target.arm64-v8a.apk, --apk_test, /builds/worker/fetches/target.noarch.apk] 147 treeherder: 148 platform: fenix-android-all/opt 149 symbol: fenix-nightly(startup-arm64-v8a) 150 worker: 151 env: 152 GOOGLE_PROJECT: moz-fenix 153 154 fenix-armeabi-v7a-nightly: 155 attributes: 156 build-type: fenix-nightly-firebase 157 shipping-product: fenix 158 dependencies: 159 signing: signing-apk-fenix-nightly-firebase 160 signing-android-test: signing-apk-fenix-android-test-nightly 161 fetches: 162 signing: 163 - artifact: target.armeabi-v7a.apk 164 extract: false 165 signing-android-test: 166 - artifact: target.noarch.apk 167 extract: false 168 run: 169 secrets: 170 - name: project/gecko/level-any/firefox-android/fenix/firebase 171 key: firebaseToken 172 path: mobile/android/test_infra/.firebase_token.json 173 json: true 174 commands: 175 - [python3, taskcluster/scripts/tests/test-lab.py, fenix/armeabi-v7a-start-test.yml, /builds/worker/fetches/target.armeabi-v7a.apk, --apk_test, /builds/worker/fetches/target.noarch.apk] 176 treeherder: 177 platform: fenix-android-all/opt 178 symbol: fenix-nightly(startup-armeabi-v7a) 179 worker: 180 env: 181 GOOGLE_PROJECT: moz-fenix 182 183 focus-arm64-v8a-nightly: 184 attributes: 185 build-type: focus-nightly-firebase 186 shipping-product: focus 187 dependencies: 188 signed-apk-debug-apk: signing-apk-focus-nightly-firebase 189 signed-apk-android-test: signing-apk-focus-android-test-nightly 190 fetches: 191 signed-apk-debug-apk: 192 - artifact: target.arm64-v8a.apk 193 extract: false 194 signed-apk-android-test: 195 - artifact: target.noarch.apk 196 extract: false 197 run: 198 secrets: 199 - name: project/gecko/level-any/firefox-android/focus-android/firebase 200 key: firebaseToken 201 path: mobile/android/test_infra/.firebase_token.json 202 json: true 203 commands: 204 - [python3, taskcluster/scripts/tests/test-lab.py, focus/arm-start-test.yml, /builds/worker/fetches/target.arm64-v8a.apk, --apk_test, /builds/worker/fetches/target.noarch.apk] 205 treeherder: 206 platform: focus-android-all/opt 207 symbol: focus-nightly(startup-arm64-v8a) 208 worker: 209 env: 210 GOOGLE_PROJECT: moz-focus-android 211 212 focus-armeabi-v7a-nightly: 213 attributes: 214 build-type: focus-nightly-firebase 215 shipping-product: focus 216 dependencies: 217 signed-apk-debug-apk: signing-apk-focus-nightly-firebase 218 signed-apk-android-test: signing-apk-focus-android-test-nightly 219 fetches: 220 signed-apk-debug-apk: 221 - artifact: target.armeabi-v7a.apk 222 extract: false 223 signed-apk-android-test: 224 - artifact: target.noarch.apk 225 extract: false 226 run: 227 secrets: 228 - name: project/gecko/level-any/firefox-android/focus-android/firebase 229 key: firebaseToken 230 path: mobile/android/test_infra/.firebase_token.json 231 json: true 232 commands: 233 - [python3, taskcluster/scripts/tests/test-lab.py, focus/armeabi-v7a-start-test.yml, /builds/worker/fetches/target.armeabi-v7a.apk, --apk_test, /builds/worker/fetches/target.noarch.apk] 234 treeherder: 235 platform: focus-android-all/opt 236 symbol: focus-nightly(startup-armeabi-v7a) 237 worker: 238 env: 239 GOOGLE_PROJECT: moz-focus-android 240 241 focus-arm64-v8a-nightly-robo-opt: 242 attributes: 243 build-type: focus-nightly 244 shipping-product: focus 245 description: Focus Nightly Opt Robo Test (ARM) 246 dependencies: 247 signing: signing-apk-focus-nightly 248 fetches: 249 signing: 250 - artifact: target.arm64-v8a.apk 251 extract: false 252 run: 253 secrets: 254 - name: project/gecko/level-any/firefox-android/focus-android/firebase 255 key: firebaseToken 256 path: mobile/android/test_infra/.firebase_token.json 257 json: true 258 commands: 259 - [python3, taskcluster/scripts/tests/test-lab.py, focus/arm-start-test-robo.yml, /builds/worker/fetches/target.arm64-v8a.apk] 260 treeherder: 261 symbol: focus-nightly(startup-arm64-robo-opt) 262 platform: focus-android-all/opt 263 worker: 264 env: 265 GOOGLE_PROJECT: moz-focus-android