development

Development

How to run SparrowCI pipelines locally. Useful for SparrowCI developers.

  1. First install SparrowCI as a self-hosted service, please see selfhosted.md

  2. Now you can run pipeline locally from the machine where SparrowCI is hosted

Pull some(*) docker image:

docker pull melezhik:alpine

(*) Follow this link to see SparrowCI supported Linux distributions.

Run a pipeline:

sparrowdo \
--color \
--localhost \
--no_sudo \
--with_sparky \
--sparrowfile ci.raku \
--tags tasks_config=$PWD/examples/go/make.yaml,\
scm=https://git.sr.ht/~craftyguy/superd\,
image=melezhik/sparrow:alpine \ 
--desc "build pipeline"

If you an image where Sparrow agent is not installed use sparrowdo_bootstrap tag:

--tags=sparrowdo_bootstrap=on
  1. Watch reports

See also

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.