Difference between revisions of "Dronie"

From OSGeo
Jump to navigation Jump to search
Line 1: Line 1:
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 the [[SAC:Gitea|Gitea service]].
+
Dronie is an instance of the [http://drone.io Drone CI] server that runs in an LXD container in [[Osgeo7]] and provides build services for software hosted on the [[SAC:Gitea|Gitea service]].
  
 
It can be accessed via https://dronie.osgeo.org/ (login with your [[SAC:LDAP|OSGeo Userid]])
 
It can be accessed via https://dronie.osgeo.org/ (login with your [[SAC:LDAP|OSGeo Userid]])

Revision as of 13:37, 11 January 2022

Dronie is an instance of the Drone CI server that runs in an LXD 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) and Sandro Santilli are admin users, although from the web UI 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 (host.postgis.net)  (debbie-docker lxd container) IP 209.208.108.14         
- One on Regina Obe winnie.postgis.net (ianna VM) with IP 50.78.240.108
- One on Regina Obe h.pcorp.us (docker-debian lxd container) with IP 209.208.26.115  
- One on osgeo7 dronie.osgeo.org (A slave docker image running on same container as Dronie Server) 
- One on osgeo4 dronie-client container
- One on osgeo3 dronie-client container
- One on osgeo9 dronie-client container

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:

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

Those willing to setup an agent please put in a [Ticket]