Skip to content

Commit 850bdee

Browse files
committed
Add release kind
1 parent 0056451 commit 850bdee

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

taskcluster/kinds/release/kind.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
loader: taskgraph.loader.transform:loader
2+
3+
transforms:
4+
- taskgraph.transforms.task_context
5+
- taskgraph.transforms.run
6+
- taskgraph.transforms.task
7+
8+
kind-dependencies:
9+
- build
10+
11+
tasks:
12+
github:
13+
description: Create GitHub release
14+
run-on-tasks-for:
15+
- github-release
16+
run-on-git-branches:
17+
- "v*"
18+
worker-type: b-linux
19+
worker:
20+
docker-image: { in-tree: taskboot }
21+
max-run-time: 3600
22+
taskcluster-proxy: true
23+
env:
24+
TASKCLUSTER_SECRET: "project/relman/code-coverage/release"
25+
scopes:
26+
- "secrets:get:project/relman/code-coverage/release"
27+
run:
28+
using: run-task
29+
checkout: false
30+
command: taskboot github-release mozilla/code-coverage {head_ref}
31+
task-context:
32+
from-parameters:
33+
head_ref: head_ref
34+
substitution-fields:
35+
- run.command
36+
dependencies:
37+
build: build-bot

0 commit comments

Comments
 (0)