Skip to main content CI setup CI setup is a Continuous Integration for Github and Bitbucket that monitors your code for bugs. It uses GitHub (or some other online service) to fetch repositories and Docker containers to run the build process.
It can be used as a service (free for public projects), or set up on a custom server for free.
On this page it is described how Drone was configured to build OpenWrt project hosted on GitHub.


Install and start Docker

This step depends on your build machine so it is not going to be covered here. Please refer to official Docker documentation and see how to install Docker on your machine.

Create Github application

Click the link and create a new application. In this example we are using:
Homepage URL: 
Authorization callback URL:
There you will get Client ID and Client Secret. You will use that in the next step.

Create Drone config file

On the host create the file /etc/drone/dronerc with the following content:


Create //.drone.yml// file

In this customized version the .drone.yml must be located on the path /var/lib/drone/.drone.yml. This path is now hard-coded. An example .drone.yml is given as follows:
  image: "sartura/drone-openwrt-builder:arch"
    - make defconfig
    - make -j8
Or to build with a customized configuration:
  image: "owrt/drone-openwrt-builder:arch"
    - make defconfig
    - wget '' -O .config
    - ./scripts/config/conf --alldefconfig
    - make -j8

Run Drone Docker container

We are hosting prebuilt Drone Docker images in Docker Hub using the owrt id. That said, if you have followed the above instructions and have Docker up and running this should bring up your own Drone instance:
docker run \\
  --volume /var/lib/drone:/var/lib/drone \\
  --volume /var/run/docker.sock:/var/run/docker.sock \\
  --env-file /etc/drone/dronerc \\
  --restart=always \\
  --publish=80:8000 \\
  --detach=true \\
  --name=drone \\

Drone customization

Since OpenWrt builds take a while to complete make sure to increase Timeout in Minutes to a maximum value of 900 minutes.


Builds for all architectures

At the moment only the defconfig is built. We should change it so every supported architecture is build tested with Drone CI.

Customization of the drone "continuous-integration/drone" string per architecture and donation

In the Drone CI version 0.4.2 shows hardcoded string on GitHub builds ("continuous-integration/drone"). We are going to chage this so it is clearly visisible which drone build what and if it was sucessful.

Package builds

When a pull request is made for a certain package we should build this minimal version of OpenWrt with the package in question and its dependencies. This can be done but additional scripting inside Drone CI system is needed.

Optimization of the build process

Now, on every pull request everything is built from scratch. We should optimize the process so it does not build the entire toolchain every time and that we use a mirror close to the build servers to download all 3rd party sources.

Popular posts from this blog

camtasia 9 key

1.abul hossain Key : BBCUV-UVDRC-M8C5S-CHMX7-2M3A5 2.YR-Invasion Key=BBCUVUVDRCM8C5SCHMX72M3A5

Hidden Wiki

Welcome to The Hidden WikiNew hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!!
Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it.
The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with.
Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction - Clearnet search engine for Tor Hidden Services (allows you to add new sites to its database). DuckDuckGo - A Hidden S…


Good News [May 08, 2015]: IDM developers got smarter, but the crackers are always a step ahead. Follow this article and send an email to [email protected] if you are desperate. I can NOT post any crack here for legal reasons. Happy Downloading with IDM. ;) *********** first tip is to use latest crack for idm from idm universal web crack and make sure u are using all latest vers I am sure many of us are too much dependent on Internet Download Manager a.k.a. IDM. The main reason didn’t permanently switch to linux was IDM. I mainly use it for batch downloading and download streaming videos. Till yesterday, IDM was working fine with me (of course with fake serial numbers, keygen, crack, patch etc. which could be found with little effort). But few days ago, with the latest update version 6.18 build 7 (released on Nov 09, 2013) Internet Download Manager was literally had a breakthrough and crushed all the serial numbers, …