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 . --/testInitialize SparrowCI DB
raku db-init.rakuSetup SparrowCI configuration
One has to choose database login type.
cat << 'HERE' > ~/sparkyci.yaml
login_type: DB
HERERun 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 startRun 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 startRun SparrowCI UI
sparman.raku ui startSparrowCI 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