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 and run Sparky
You need to install Sparky on the same machine where SparrowCI is installed.
Sparky API must listen to http://0.0.0.0:4000 so that docker instances could access it via host-gateway network
Follow https://github.com/melezhik/sparky#installation for installation details.
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 web app
cro runSparrowCI API will be accessible on http://127.0.0.1:2222 , use admin as a login
and passW0rd as a password.
Please change the password after the first successful login.