forked from mozilla/DeepSpeech
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Schedule a scriptWorker task on push of tag
- Loading branch information
Alexandre Lissy
committed
Nov 17, 2017
1 parent
1c38190
commit 4d6d659
Showing
6 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
build: | ||
template_file: simple-task.tyml | ||
dependencies: | ||
# Make sure builds are ready | ||
- "darwin-amd64-cpu-opt" | ||
- "linux-amd64-cpu-opt" | ||
- "linux-rpi3-cpu-opt" | ||
# For those we have tests, ensure they pass. | ||
- "test-python_27-linux-amd64-opt" | ||
- "test-python_34-linux-amd64-opt" | ||
- "test-python_35-linux-amd64-opt" | ||
- "test-python_36-linux-amd64-opt" | ||
- "test-nodejs_4x-linux-amd64-opt" | ||
- "test-nodejs_5x-linux-amd64-opt" | ||
- "test-nodejs_6x-linux-amd64-opt" | ||
allowed: | ||
- "push" | ||
ref_match: "refs/tags/" | ||
routes: | ||
- "notify.irc-channel.${notifications.irc}.on-exception" | ||
- "notify.irc-channel.${notifications.irc}.on-failed" | ||
artifacts_deps: | ||
- "darwin-amd64-cpu-opt" | ||
- "linux-amd64-cpu-opt" | ||
- "linux-rpi3-cpu-opt" | ||
metadata: | ||
name: "DeepSpeech Packages" | ||
description: "Trigger Uploading of DeepSpeech Packages to the Internets" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
$if: '(event.event in build.allowed) && (build.ref_match in event.head.ref)' | ||
then: | ||
taskId: ${taskcluster.taskId} | ||
provisionerId: ${taskcluster.script.provisionerId} | ||
workerType: ${taskcluster.script.workerType} | ||
taskGroupId: ${taskcluster.taskGroupId} | ||
schedulerId: ${taskcluster.schedulerId} | ||
dependencies: | ||
$map: { $eval: build.dependencies } | ||
each(b): | ||
$eval: as_slugid(b) | ||
created: { $fromNow: '0 sec' } | ||
deadline: { $fromNow: '1 day' } | ||
expires: | ||
$if: 'event.event == "push"' | ||
then: { $fromNow: '6 months' } | ||
else: { $fromNow: '7 days' } | ||
|
||
extra: | ||
github: | ||
$if: 'event.event == "push"' | ||
then: { $eval: taskcluster.github_events.merge } | ||
else: { $eval: taskcluster.github_events.pull_request } | ||
|
||
routes: | ||
{ $eval: build.routes } | ||
|
||
payload: | ||
artifacts_deps: | ||
$map: { $eval: build.artifacts_deps } | ||
each(b): | ||
$eval: as_slugid(b) | ||
|
||
metadata: | ||
name: ${build.metadata.name} | ||
description: ${build.metadata.description} | ||
owner: ${event.head.user.email} | ||
source: ${event.head.repo.url} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters