Dronie

From OSGeo
Revision as of 09:01, 4 February 2019 by Robe (talk | contribs) (Created page with "Dronie is an experimental instance of the [http://drone.io Drone CI] server that runs in an LXD 3 container in Osgeo7 and provides build services for software hosted on th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Dronie is an experimental instance of the Drone CI server that runs in an LXD 3 container in Osgeo7 and provides build services for software hosted on the Gitea service.

It can be accessed via https://dronie.osgeo.org/ (login with your OSGeo Userid)

Files location and configuration

The setup and setup for dronie agents is detailed in - Dronie Server container

It runs in a docker image currently 1.0.0rc5.


Data is in an sql lite database.

Administration

At the moment Regina Obe (creator of the container) have admin privileges from the web UI though this seems to provide no useful settings.

Drone agents

The CI service relies on people to donate agents (build slaves). As of 2019 there are 3 known such slaves:

- One on Regina Obe host (debbie.postgis.net)          
- One on Regina Obe winnie.postgis.net (ianna VM) with IP 50.78.240.108 
- One on Regina Obe dronie.osgeo.org (A slave docker image running on same container as Dronie Server) with IP 50.78.240.108 

A list of known agents can be fetched from the server with this command:

 zgrep ' path="/ws/broker"' /var/log/drone.log*  | sed 's/.* ip=//;s/ .*//' | sort -u


Running an agent is a matter of running a docker container. Scripts to run the docker with appropriate configuration are currently stored in a private repository under Gitea: TODO: put the config info here too for the dronie slave

 https://git.osgeo.org/gitea/sac/drone-agent-config

Those willing to setup an agent please contact the administrator of the service.