Skip to content

Commit 75e2d87

Browse files
committed
Add release kind
1 parent 6501a2c commit 75e2d87

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

taskcluster/kinds/release/kind.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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+
- frontend
11+
12+
tasks:
13+
github:
14+
description: Create GitHub release
15+
run-on-tasks-for:
16+
- github-release
17+
run-on-git-branches:
18+
- "v*"
19+
worker-type: b-linux
20+
worker:
21+
docker-image: { in-tree: taskboot }
22+
max-run-time: 3600
23+
taskcluster-proxy: true
24+
env:
25+
TASKCLUSTER_SECRET: "project/relman/code-review/release"
26+
scopes:
27+
- "secrets:get:project/relman/code-review/release"
28+
run:
29+
using: run-task
30+
checkout: false
31+
command: taskboot github-release mozilla/code-review {head_ref}
32+
task-context:
33+
from-parameters:
34+
head_ref: head_ref
35+
substitution-fields:
36+
- run.command
37+
dependencies:
38+
backend: build-backend
39+
bot: build-bot
40+
integration: build-integration
41+
frontend: frontend-build

0 commit comments

Comments
 (0)