Difference between revisions of "Dronie"

From OSGeo
Jump to navigation Jump to search
(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...")
 
(5 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
= Administration =
 
= Administration =
  
At the moment [[User:robe|Regina Obe]] (creator of the container) have admin privileges from the web UI though this seems to provide no useful settings.
+
At the moment [[User:robe|Regina Obe]] (creator of the container) and [[User:strk|Sandro Santilli]] are admin users, although from the web UI this seems to provide no useful settings.
  
 
= Drone agents =
 
= Drone agents =
Line 21: Line 21:
 
As of 2019 there are 3 known such slaves:                                                       
 
As of 2019 there are 3 known such slaves:                                                       
 
                                                        
 
                                                        
  - One on [[User:Robe|Regina Obe]] host (debbie.postgis.net)        
+
  - One on [[User:Robe|Regina Obe]] host (host.postgis.net) (debbie-docker lxd container) IP 209.208.108.14       
  - One on [[User:Robe|Regina Obe]] winnie.postgis.net (ianna VM) with IP 50.78.240.108  
+
  - <del>One on [[User:Robe|Regina Obe]] winnie.postgis.net (ianna VM) with IP 50.78.240.108</del>
  - One on [[User:Robe|Regina Obe]] dronie.osgeo.org (A slave docker image running on same container as Dronie Server) with IP 50.78.240.108
+
  - <del>One on [[User:Robe|Regina Obe]] h.pcorp.us (docker-debian lxd container) with IP 209.208.26.115</del> 
 +
- One on [[osgeo7]] dronie.osgeo.org (A slave docker image running on same container as Dronie Server)  
 +
- One on [[osgeo4]] dronie-client container
  
 
A list of known agents can be fetched from the server with this command:
 
A list of known agents can be fetched from the server with this command:
Line 33: Line 35:
 
Scripts to run the docker with appropriate configuration are                                         
 
Scripts to run the docker with appropriate configuration are                                         
 
currently stored in a private repository under Gitea:                                                 
 
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
 
   https://git.osgeo.org/gitea/sac/drone-agent-config
  
Those willing to setup an agent please contact the administrator of the service.  
+
Those willing to setup an agent please put in a [[https://trac.osgeo.org/osgeo|SAC Ticket]]
  
 
[[Category:Infrastructure]]
 
[[Category:Infrastructure]]
 
[[Category:Services]]
 
[[Category:Services]]

Revision as of 11:52, 26 October 2019

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) 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

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]