dag

DAG

Directed acycling graph of tasks explanation

Create SparrowCI pipeline

Consider this build scenario sparrow.yaml:

- 
  tasks:
    -
      name: main_task
      language: Python
      default: true
      code: |
        print("hello from Python")
      depends:
        - 
          name: install-python
    -
      name: install-python
      language: Bash
      code: |
       sudo apk apk add --no-cache python3 py3-pip    

In this example task "main_task" executes some Python code.

To make sure we have a Python runtime, the dependency task "install-python" is executed.

This example illustrates the core idea behind SparrowCI pipeline - to have a collection of dependent tasks (DAG) that executed in a particular order.

SparrowCI v0.0.11

SparrowCI - super fun and flexible CI system with many programming languages support

Authors

  • Alexey Melezhik

License

Artistic-2.0

Dependencies

YAMLishJSON::Fast:ver<0.17>DBIishDigest::SHA1::Native:ver<0.05+>Cro::HTTP:ver<0.8.9+>Cro::WebApp:ver<0.8.9+>Text::Markdown:ver<1.1.1+>File::Directory::Tree

Test Dependencies

Provides

  • SparrowCI
  • SparrowCI::Conf
  • SparrowCI::DB
  • SparrowCI::HTML
  • SparrowCI::News
  • SparrowCI::Repo
  • SparrowCI::Security
  • SparrowCI::User

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.