diff options
Diffstat (limited to '')
-rw-r--r-- | taskcluster/ci/updatebot/kind.yml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/taskcluster/ci/updatebot/kind.yml b/taskcluster/ci/updatebot/kind.yml new file mode 100644 index 0000000000..1fd36e6c52 --- /dev/null +++ b/taskcluster/ci/updatebot/kind.yml @@ -0,0 +1,69 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +--- +loader: taskgraph.loader.transform:loader + +transforms: + - taskgraph.transforms.release_notifications:transforms + - taskgraph.transforms.job:transforms + - taskgraph.transforms.task:transforms + +jobs: + verify: + description: Verify Job for Updatebot + run-on-projects: [] + treeherder: + kind: other + platform: updatebot/all + symbol: verify + tier: 1 + worker-type: b-linux + worker: + docker-image: {in-tree: debian10-amd64-build} + max-run-time: 3600 + env: + PYTHONUNBUFFERED: "1" + run: + using: run-task + cwd: '{checkout}' + command: $GECKO_PATH/taskcluster/scripts/misc/verify-updatebot.py + notifications: + subject: 'updatebot verify job failed' + message: 'updatebot verify job failed' + status-types: + - on-failed + - on-exception + emails: ["tom@mozilla.com", "jewilde@mozilla.com"] + + cron: + description: Cron Job for Updatebot + run-on-projects: [] + treeherder: + kind: other + platform: updatebot/all + symbol: cron + tier: 1 + worker-type: b-linux + worker: + docker-image: {in-tree: updatebot} + max-run-time: 3600 + taskcluster-proxy: true + scopes: + - secrets:get:project/updatebot/{level}/try-sshkey + - secrets:get:project/updatebot/{level}/phabricator-token + - secrets:get:project/updatebot/{level}/bugzilla-api-key + - secrets:get:project/updatebot/{level}/database-password + - secrets:get:project/updatebot/{level}/sentry-url + - secrets:get:project/updatebot/{level}/sql-proxy-config + - hooks:trigger-hook:project-gecko/in-tree-action-1-generic/* + run: + using: run-task + command: /builds/worker/run.py + notifications: + subject: 'updatebot cron failed' + message: 'updatebot cron failed' + status-types: + - on-failed + - on-exception + emails: ["tom@mozilla.com", "jewilde@mozilla.com"] |