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
140
votes
5 answers

GitLab CI vs. Jenkins

What is the difference between Jenkins and other CI like GitLab CI, drone.io coming with the Git distribution. On some research I could only come up that GitLab community edition doesn't allow Jenkins to be added, but GitLab enterprise edition does.…
Ravikiran butti
  • 1,668
  • 2
  • 11
  • 18
20
votes
1 answer

How to run build in local machine with drone.io

Does the build have to run on the drone.io server? Can I run the build locally? Since developers need to pass the build first before pushing code to github, I am looking for a way to run the build on developer local machine. Below is my .drone.yml…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
12
votes
3 answers

Building Docker Images with Drone.io

I'm running my own Drone instance in AWS and I want it to build a docker image and push it to my repo. Drone runs its build environment in a docker container, so I basically want to build docker images from inside a docker container. I found this…
Bernie Perez
  • 12,513
  • 13
  • 46
  • 55
10
votes
2 answers

drone (Docker-Compose in docker?)

I’d like to do docker-compose up -d Seems like plugins/docker is able to do what I want, but it fails if I don’t specify the publish-related stuff. I want to use it without publishing. Another alternative could be services, but I try always…
Custer
  • 145
  • 2
  • 8
10
votes
1 answer

Drone 0.8: build stuck in pending state

Installed Drone 0.8 on virtual machine with the following Docker Compose file: version: '2' services: drone-server: image: drone/drone:0.8 ports: - 8080:8000 - 9000:9000 volumes: - /var/lib/drone:/var/lib/drone/ …
vania-pooh
  • 2,933
  • 4
  • 24
  • 42
9
votes
3 answers

Using "Drone Conditions" for running builds part of a repository

Our project is nested inside a mono-repository. Imagine this, we have a project in a "projects" folder. For example "projects/our-project". Well, we would like to be able to check our .drone.yml into just "our-project" but it appears Drone wants the…
7
votes
1 answer

Limit Github OAuth scope to organization repositories

I'm currently working on setting up Drone for CI and I've already managed to register it as an OAuth app with our Github Enterprise. In our case, the Drone OAuth app is owned by one of the organizations I'm part of. Our organizations host private…
pklndnst
  • 726
  • 2
  • 10
  • 27
7
votes
1 answer

What are the minimum permissions/role for a service account required to read/write to Google Container Registry?

I am trying to create a service role for a drone instance which builds and pushed a docker image to Google Container Registry. It works with the role project>owner (presumably project>editor would work too). I have not been able to find a way to…
Stan Bondi
  • 4,118
  • 3
  • 24
  • 35
6
votes
2 answers

Cypress tests failing because Chrome Renderer is crashing in CI (using drone)

We are using drone for our CI and run Cypress inside drone to test our application (Angular 7). All the test are running fine on my local machine, but in the CI the tests fail because Chrome Renderer crashed. Around 50% fail, even though they are…
tommueller
  • 2,358
  • 2
  • 32
  • 44
6
votes
1 answer

change user for Exec Runner in Drone

I've set up the Drone on my remote Ubuntu 18.04 Linux host. To make it easy I've installed drone-runner-exec. I've successfully connected it to my GitHub etc. So now it works fine, i.e. it clones the repository and begins to run my pipeline. One of…
folibis
  • 12,048
  • 6
  • 54
  • 97
5
votes
0 answers

How to authenticate with Dockerhub using Drone CI on Ubuntu?

Since November 2nd Dockerhub is enforcing a limit on pulls from their registry. My Drone CI publish (to a private registry) is failing because it's based on openjdk:14-jdk-alpine which has to be pulled from a registry. So I created an account on…
5
votes
3 answers

how to create a drone secret file?

the docs show how to set a file to a secret envvar http://readme.drone.io/0.5/secrets/ is there a convenient way to do the opposite? e.g. have this ssh key be available in .ssh/id_rsa with all the correct permissions. And by "convienient" I…
fommil
  • 5,757
  • 8
  • 41
  • 81
5
votes
4 answers

How to stop (kill) a build in drone

Is there a way to kill a build in drone before it finishes or times out? The default timeout in drone is 6 hours (https://github.com/drone/drone/blob/master/cmd/drone/drone.go#L32) And if you have a mistake in your makefile that just get's stuck…
Ali
  • 18,665
  • 21
  • 103
  • 138
4
votes
1 answer

drone cli can not execute

I can't use the drone cli, it just told me: Stage '' not found in build file : resource not found What the problem is? And it also told me: proto: duplicate proto type registered: PluginSpec proto: duplicate proto type registered:…
4
votes
1 answer

Drone IO Difference between when and trigger?

My need is to run drone build when create a new tag in Gitea. I can see two options there in Drone documentation. Please find below: When when: event: tag branch: master Trigger trigger: branch: - master ref: include: …
Prasanna Kumar J
  • 225
  • 1
  • 13
1
2 3
26 27