Questions tagged [drone.io]

Drone is a hosted continuous integration service. It enables you to conveniently set up projects to automatically build, test, and deploy as you make changes to your code.

Drone is an open source continuous integration project, with an optional enterprise version. It enables you to conveniently set up projects to automatically build, test, and deploy as you make changes to your code.

Drone integrates seamlessly with GitHub, Bitbucket and Google Code as well as third party services such as Heroku, Dotcloud, Google AppEngine and more.

It is developed by Brad Rydzewski and Adam Singer - the free plan provides unlimited builds for open source projects.

It supports many languages and frameworks like

  • C / C++
  • Dart
  • Go
  • Haskell
  • Groovy
  • Java
  • Node.js
  • PHP (Beta)
  • Python (Beta)
  • Ruby (Beta)
  • Scala

GitHub Website

401 questions
1
vote
0 answers

Get file from private repo into dockerfile

I currently split my frontend and backend into two separate git repos. Each repo has a dockerfile that creates an image and publishes it in a private registry. Now, for the backend repo, I'd like to get the compiled production JS/CSS assets from the…
Tarlen
  • 3,657
  • 8
  • 30
  • 54
1
vote
0 answers

plugin/docker : Is passing id_rsa priv key using build_args correct?

Secret I added a secret to drone.io using: drone org secret add --image=* --conceal --skip-verify=true octocat SSH_KEY @/home/me/.ssh/id_rsa Dockerfile Because npm install needs to access private repositories, I specify an ARG in my Dockerfile, to…
Sulliwane
  • 410
  • 6
  • 16
1
vote
0 answers

Drone local and local.properties

I'm using drone for a ci/dev environment for building Android. When running drone exec --local It gives an error: The SDK directory '/Users/zxxxxx/Library/Android/sdk' does not exist. This is the location of the sdk on my machine not on the docker…
jessehensold
  • 657
  • 5
  • 15
1
vote
1 answer

continuous integration with drone and github: build is not triggering on commit

I'm using open source edition of drone. docker-compose.yml: version: '2' services: drone-server: image: drone/drone:0.5 ports: - 80:8000 volumes: - ./drone:/var/lib/drone/ restart: always environment: -…
Andrey Khataev
  • 1,303
  • 6
  • 20
  • 46
1
vote
1 answer

Sonarqube analysis from Drone.io in Github PRs

I'm trying to run Sonar scans at Github's Pull Requests from Drone.io. This is the sequence: PR is made Drone.io build is triggered Gradle task is executed Gradle's Sonar plugin with Drone's environment is run This is the command used in Drone's…
jaguililla
  • 1,916
  • 18
  • 21
1
vote
1 answer

Drone.io OAuth issues with Github

I am currently trying to set up Drone.io with my Github account. I installed the drone.io and that works - I am able to get to the drone.io login page on localhost. The problem begins when I try to login to authorize access to Github, as Github…
qwerty
  • 321
  • 1
  • 5
  • 13
1
vote
1 answer

Part of Drone.io configuration were lost after reboot the server

I have a Drone.io 0.5 server working great on a personal server. However, after reboot the physical server where Drone runs, its configuration, builds and secrets were lost. To be exact, part of the information were lost. It looks like the shutdown…
Mario S
  • 1,914
  • 1
  • 19
  • 32
1
vote
1 answer

How to disable simultaneous build on drone io?

I use drone as CI and want to know how I can disable simultaneous build. What's happening is that when I submit two commits to git repo, drone will trigger two build on each of the submit. How can I let the second build wait until the first one…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
1
vote
2 answers

Cannot Trigger Build Java Project in Local Drone

I've followed the installation instructions to set up a local drone server and agent via Docker containers. The Drone server is able to authenticate against my Github account and list all of my repos, however I am unable to actually trigger a…
timmy
  • 1,752
  • 6
  • 23
  • 35
1
vote
2 answers

How to run integration test inside a docker container in drone pipeline

I have a docker image built up for mongodb test. You can be found from zhaoyi0113/mongo-uat. When start a docker container from this image, it will create a few mongodb instances which will take a few minutes to startup. Now I want to run my…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
1
vote
1 answer

Whether drone.io support creating docker during build process

I am using maven-docker-plugin in my project. This plugin will create docker containers during integration tests. Since drone.io put the build process inside a docker container, whether I can still use maven-docker-plugin during maven build? How to…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
1
vote
1 answer

What is the default admin password for DRONE_ADMIN users?

On first installation using a docker-compose file and following the installation instructions what is the default password for Closed Registration DRONE_ADMIN users? The web frontend won't let you access it without a logon and it's not possible to…
SDK
  • 820
  • 1
  • 12
  • 24
1
vote
1 answer

Whether drone.io support reusing docker container for build

I have setup drone.io locally and created a .drone.yml for CI build. But I found drone removes the docker container after finishing the build. Whether it support reusing the docker container? I am working on gradle project and the initial build…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
1
vote
1 answer

setting up a drone server to use TLS/SSL

The default installation instructions show how to set up a server on port 80 using HTTP and WS (i.e. unencrypted). The agent installation shows that TLS enabled servers are possible (I'l link here, but I'm not allowed). The server configuration…
fommil
  • 5,757
  • 8
  • 41
  • 81
1
vote
1 answer

drone build error: unable to locate package git

My drone.yml file is as follows.. Keep getting the error unable to locate package git. Any suggestions? pipeline: build: image: python:3.5.1-slim commands: - apt update && apt install git-core …
Atlantic0
  • 3,271
  • 5
  • 17
  • 24