Skip to content

Commit 8838da4

Browse files
committed
Add release kind
1 parent 4f0a82f commit 8838da4

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

taskcluster/kinds/release/kind.yml

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

0 commit comments

Comments
 (0)