quickstart

Quick Start

SparrowCI quick start

Create pipeline

Just create a file sparrow.yaml in your repository root folder:

tasks:
    -
      name: unit_tests
      language: Bash
      default: true
      code: |
        set -e
        cd source/
        sudo pip3 install -r requirements.txt
        pytest

This simple code snippet represents a minimalist CICD for a Python project.

Commit sparrow.yaml and push changes to Git:

git add sparrow.yaml
git commit -a -m "SparrowCI pipeline"
git push

Add git repository to SparrowCI

  • Go to https://ci.sparrowhub.io, sign in using your GitHub credentials

  • Go to "My Repos" page and add a repository to your repository list

Trigger a build

That is it. A build will be triggered soon!

Examples

See more examples at SparrowCI examples.

Documentation

Or get documentation for many different topics.

Author

Alexey Melezhik

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.