selfhosted

Self-hosted

SparrowCI self-hosted installation

Install

  • Install docker

You need to install docker on the same machine where Sparky and SparrowCI are installed.

  • Install Sparky and initialize Sparky database

Follow sparky#installation document. Please don't run sparkyd and sparky-web services, as they will be run later, see Run SparrowCI stack.

  • Install SparrowCI web app

git clone https://github.com/melezhik/SparrowCI.git
cd SparrowCI
zef install . --/test
  • Initialize SparrowCI DB

raku db-init.raku
  • Setup SparrowCI configuration

One has to choose database login type.

cat << 'HERE' > ~/sparkyci.yaml
login_type: DB
HERE

Run SparrowCI stack

Use spaman - cli application that comes with SparrowCI to run underlying SparrowCI components:

Run sparkyd - Sparrow jobs worker

sparman.raku --env SPARROWCI_HOST=http://127.0.0.1:2222 worker start

Run sparky-web - worker UI (aka Sparky Web UI)

Sparky UI will be accessible on http://127.0.0.1:4000 , use user as a login and password as a password.

sparman.raku worker_ui start

Run SparrowCI UI

sparman.raku ui start

SparrowCI UI will be accessible on http://127.0.0.1:2222 , use admin as a login and passW0rd as a password.

Please, change the admin user password after the first successful login.

See also

sparman - SparrowCI management tool

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.