blob: 1cbdbaaa77c11e0c4fd9a0e892d73fe2658cf1d0 (
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
|
# 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: gecko_taskgraph.loader.transform:loader
kind-dependencies:
- fetch
- toolchain
transforms:
- gecko_taskgraph.transforms.release_notifications:transforms
- gecko_taskgraph.transforms.job:transforms
- gecko_taskgraph.transforms.task:transforms
jobs:
cron:
description: Cron Job for Updatebot
run-on-projects: []
treeherder:
kind: other
platform: updatebot/all
symbol: cron
tier: 1
worker-type: b-linux-gcp
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 /builds/worker/checkouts/gecko /builds/worker/updatebot
notifications:
subject: 'updatebot cron failed'
message: 'updatebot cron failed'
status-types:
- on-failed
- on-exception
emails: ["tom@mozilla.com", "jewilde@mozilla.com"]
fetches:
toolchain:
- linux64-rust
- linux64-cargo-vet
cron-win:
description: Cron Job for Updatebot (Windows)
run-on-projects: []
treeherder:
kind: other
platform: updatebot/all
symbol: w-cron
tier: 1
worker-type: b-win2012
worker:
max-run-time: 3600
taskcluster-proxy: true
# begin _GENERATE_DEPOT_TOOLS_BINARIES_
# artifacts:
# - type: directory
# name: public/depot_tools.zip
# path: build\src\obj-build\depot_tools
# end _GENERATE_DEPOT_TOOLS_BINARIES_
env:
TOOLTOOL_MANIFEST: "taskcluster/ci/updatebot/tooltool-manifests/updatebot.manifest"
MSYSTEM: "MINGW64"
run:
using: run-task
cwd: '{checkout}'
command: ./taskcluster/docker/updatebot/windows-setup.sh
tooltool-downloads: internal
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/*
fetches:
fetch:
- cloud-sql-proxy-1.25.0
- php-windows-7.4.24
- arcanist
- depot_tools
|