Skip to content

Instantly share code, notes, and snippets.

@lightsofapollo
Last active August 29, 2015 14:17
Show Gist options
  • Save lightsofapollo/21593a20ec97193de5ac to your computer and use it in GitHub Desktop.
Save lightsofapollo/21593a20ec97193de5ac to your computer and use it in GitHub Desktop.
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
routes:
- "tc-treeherder-stage.{{project}}.{{revision_hash}}"
payload:
image: 'quay.io/mozilla/decision:0.0.3'
maxRunTime: 500
command:
- /bin/bash
- -c
- >
echo "ERROR Generating task graph (no tests/build will be created)";
echo "$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