Drone: Difference between revisions

No edit summary
No edit summary
Line 8: Line 8:


Dockerfiles to build an Alpine-based image can be found [https://github.com/drone/drone/tree/master/docker here].
Dockerfiles to build an Alpine-based image can be found [https://github.com/drone/drone/tree/master/docker here].
==Datastore==
Drone keeps its data in <tt>/data</tt> within the Docker container, presumably backed by some persistent file outside. This primarily consists of a single large SQLite file (mine ran just about 2GB after 5,000 builds).
===build_trigger===
Drone claims to cut off after 5,000 builds, but my database showed 5,037. Sorting by <tt>build_trigger</tt>, I counted 19 with "dankamongmen", and 18 with no data in this field. Clearing the column in all builds did not bypass the license, however. At that point, I used the splendid [https://sqlitebrowser.org/ SQLitebrowser] to remove the earliest 1,000 builds. Drone now started up without licensing problems.
Better would be to build the OSS binary and copy it into the container, now that I'm pretty sure they use the same schema etc.


==See also==
==See also==
* "[https://blog.almeroth.com/ Build & Run: Drone (Open Source Edition)]" by Jon Almeroth, 2020-05-12
* "[https://blog.almeroth.com/ Build & Run: Drone (Open Source Edition)]" by Jon Almeroth, 2020-05-12