Skip to content

Instantly share code, notes, and snippets.

@gregarndt
Last active September 12, 2016 21:26
Show Gist options
  • Save gregarndt/8fc123be2408180c2f13 to your computer and use it in GitHub Desktop.
Save gregarndt/8fc123be2408180c2f13 to your computer and use it in GitHub Desktop.
error message for failed decision task
metadata:
name: 'Error Message Task'
description: |
There was an error creating the decision task.
owner: "{{owner}}"
source: "{{{source}}"
tasks:
taskId: '{{#as_slugid}}decision-task{{/as_slugid}}'
task:
created: '{{now}}'
deadline: '{{#from_now }}5 minutes{{/from_now}}'
metadata:
source: '{{{source}}}'
owner: '{{owner}}'
name: Error message...
description: |
Error creating decision task...
workerType: gecko-decision
provisionerId: aws-provisioner-v1
routes:
- "tc-treeherder-stage.{{project}}.{{revision_hash}}"
- "tc-treeherder.{{project}}.{{revision_hash}}"
payload:
image: 'quay.io/mozilla/decision:0.0.3'
maxRunTime: 500
command:
- /bin/bash
- -c
- >
echo "[taskcluster:error] ERROR Generating task graph (no tests/build will be created)";
echo "[taskcluster:error] $ERROR_MSG";
exit 1
extra:
treeherder:
symbol: D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment