Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
106 lines (106 loc) · 3.19 KB

File metadata and controls

106 lines (106 loc) · 3.19 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: 1
reporting: checks-v1
policy:
pullRequests: public
autoCancelPreviousChecks: true
tasks:
$let:
should_run:
$if: 'tasks_for == "github-pull-request"'
then: {$eval: 'event["action"] in ["opened", "reopened", "synchronize"]'}
else: {$eval: 'tasks_for == "github-push"'}
clone_url:
$if: 'tasks_for == "github-pull-request"'
then: ${event.pull_request.head.repo.clone_url}
else: ${event.repository.clone_url}
sha:
$if: 'tasks_for == "github-pull-request"'
then: ${event.pull_request.head.sha}
else: ${event.after}
in:
- $if: should_run
then:
provisionerId: proj-taskcluster
workerType: ci
deadline: {$fromNow: '1 day'}
payload:
maxRunTime: 3600
image: "node:22"
command:
- "/bin/bash"
- "-lc"
- "git clone ${clone_url} repo && cd repo && git checkout ${sha} && yarn install && yarn test"
metadata:
name: "taskcluster-lib-urls node.js test"
description: "Library for building taskcluster urls"
owner: taskcluster-internal@mozilla.com
source: ${clone_url}
- $if: should_run
then:
provisionerId: proj-taskcluster
workerType: ci
deadline: {$fromNow: '1 day'}
payload:
maxRunTime: 3600
image: 'golang:1.23'
command:
- /bin/bash
- '-c'
- |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0 &&
git clone ${clone_url} repo
cd repo
git config advice.detachedHead false
git checkout ${sha}
go test -v -race ./...
golangci-lint run
metadata:
name: "taskcluster-lib-urls go test"
description: Run library test suite - golang 1.23
owner: taskcluster-internal@mozilla.com
source: ${clone_url}
- $if: should_run
then:
provisionerId: proj-taskcluster
workerType: ci
deadline: {$fromNow: '1 day'}
payload:
maxRunTime: 3600
image: 'maven:3.9-eclipse-temurin-21'
command:
- /bin/bash
- '-c'
- |
git clone ${clone_url} repo
cd repo
git config advice.detachedHead false
git checkout ${sha}
mvn -X -e install
metadata:
name: taskcluster-lib-urls java test
description: Run library test suite - java
owner: taskcluster-internal@mozilla.com
source: ${clone_url}
- $if: should_run
then:
provisionerId: proj-taskcluster
workerType: ci
deadline: {$fromNow: '1 day'}
payload:
maxRunTime: 3600
image: 'python:3.12'
command:
- /bin/bash
- '-c'
- |
git clone ${clone_url} repo
cd repo
git config advice.detachedHead false
git checkout ${sha}
pip install tox
tox -e py312
metadata:
name: taskcluster-lib-urls python 3.12 test
description: Run library test suite - python3.12
owner: taskcluster-internal@mozilla.com
source: ${clone_url}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.