-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorial Creating a Task
dm03514 edited this page Apr 24, 2017
·
23 revisions
In this tutorial, we will create, develop and execute a new task.
The task we create will be used as a functional test for func-y task engine itself. Creating a task consists of:
- Creating a yaml file to house our task
- Defining the states of our task
- Defining metadata associated with the task
- Incrementally developing task
- Debugging Task
- Running tasks as a unit test
For this tutorial, we are creating a func-y task to test func-y task engine itself. Func-y tasks can live anywhere in your project but we'll be putting ours in:
func-y-task-engine/tests/funcy/
We are going to be cross-cutting a number of features:
- env var preprocessing
- UUID preprocessing
- nsq plugin
- postgres plugin
Because of this we'll name our test envvar-uuid-nsq-postgres.yml