Hello, World


Let's start by seeing Taskcluster in action.


Signing In

It's very easy to get started with Taskcluster, but we will need to know a little bit about you. We support sign-in by Mozillians, as well as by developers and employees with LDAP credentials. If that doesn't sound familiar to you, head over to Mozillians and set up a new account for yourself. Now you're a Mozillian -- thanks for rocking the free web with us!

Visit the Task Creator and click the "Sign In" link in the upper right corner. Sign in using whatever method best suits you. If you just set up a Mozillians account, use that. Click the "Grant Permission" button, which will return you to the task creator.

What you see in the text box is a bare-bones task description, looking something like this (the details may evolve as features are added):

provisionerId: aws-provisioner-v1
workerType: tutorial
created: '2017-09-27T15:24:45.442Z'
deadline: '2017-09-27T18:24:45.443Z'
payload:
  image: 'ubuntu:13.10'
  command:
    - /bin/bash
    - '-c'
    - for ((i=1;i<=600;i++)); do echo $i; sleep 1; done
  maxRunTime: 600
metadata:
  name: Example Task
  description: Markdown description of **what** this task does
  owner: name@example.com
  source: 'https://tools.taskcluster.net/task-creator/'

Happily, this is already set up to print "hello world"! Submit the task, and click the resulting task ID to load the task inspector while the task is scheduled and run.

The fields in the task description are explained in greater detail throughout the rest of this documentation, but briefly:

In the task inspector, you will see your task description as executed, and indications of the task's status: pending, executing, and then finished.

The log view shows the output of the task, including that from downloading the docker image. Scrolling all the way to the bottom, you should see the greeting output by the echo command.

You've run your first task!

See Also


Next Steps
Digging Deeper