blob: f85c3dfa87976f88d45f2237236bc98796308d7a [file] [log] [blame]
.. Apchae Liminal documentation master file, created by
sphinx-quickstart on Sun Nov 15 08:45:27 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
..
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
..
.. http://www.apache.org/licenses/LICENSE-2.0
..
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
..
Tasks
=====
``task`` is the definition of a specific step in your pipeline, and is part of the ``tasks`` list
in your pipeline definition.
For fully detailed information on pipelines see: `pipelines`_.
.. _pipelines: ../pipelines.html
.. code-block:: yaml
- task: my_python_task
type: python
image: myorg/myrepo:mypythonapp
cmd: python -u my_module.py
env_vars:
env: {{env}}
fizz: buzz
..
A ``task`` is defined by the following attributes:
In the ``images`` section you can configure how to pack your code into docker images. This can be
achieved in liminal easily, without any Docker knowledge needed by setting just a few attributes:
task attributes
''''''''''''''''
``task``: name of your task (must be made of alphanumeric, dash and/or underscore characters only).
``type``: type of the task.
Different task types require their own additional configuration. For example, ``python`` task
requires ``image`` to be configured.
task types
''''''''''
.. toctree::
:maxdepth: 1
python