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
2
votes
1 answer

drone "Insufficient privileges to use privileged mode"

i had write a .drone.yml in my gogs git repository. but when i push the git change , drone web tell me Insufficient privileges to use privileged mode. how can i fix it? this is my .drone.yml: pipeline: build: image:…
2
votes
0 answers

Variable expansion in image and repo name

Am using drone docker plugin to build and publish docker images, while building the docker image, i want refer some of the env variables exposed by Drone in drone docker plugin repo and tags parameters. What is needed repo = first three…
Sandeep Sharma
  • 111
  • 1
  • 6
2
votes
1 answer

Error authenticating exit status 1

The plugins/docker (:latest and :17.05) pipeline (with private registry v2) always throws a "Error authenticating: exit status 1" This is the debug log: + /usr/local/bin/dockerd -g /var/lib/docker level=warning msg="the \"-g / --graph\" flag is…
Amine
  • 41
  • 1
  • 6
2
votes
1 answer

Using dind on drone.io

I'm trying move from gitlab ci to drone.io. But I can't make DIND works well as on gitlab. Above is how I did on gitlab. variables: NODE_ENV: 'test' DOCKER_DRIVER: overlay image: gitlab/dind services: - docker:dind cache: untracked:…
2
votes
1 answer

Drone CI does not see secret variables when using drone-email plugin

I'm using drone-ci (0.8.0-rc.5) as CI tool and drone-email plugin for sending emails. I would like to send notifications if a build succeeded or failed. I use the Gmail SMTP server for sending emails. My .drone.yml file: notify: image:…
Aliaksei Maniuk
  • 1,534
  • 2
  • 18
  • 30
2
votes
0 answers

Prevent build concurrency in drone ci

My Jenkins setup that provides this feature saves me alot of headache when I get 100 callbacks from services telling me that data has changed asking to rebuild the same build. If I ask for 100 new builds Jenkins just add one in the que pipeline…
Gert Cuykens
  • 6,845
  • 13
  • 50
  • 84
2
votes
0 answers

Is there a way for Drone to detect open-pull-request vs. push-on-pull-request event?

I have a use case that we want to automate testing with a Drone job and we notify stakeholders with the test results. We want to be able to test on every push on a pull request but we don't really want to notify on every subsequent pull request…
ttback
  • 2,051
  • 5
  • 27
  • 40
2
votes
2 answers

drone.io 0.5 slack no longer working

We had slack notification working in drone.io 0.4 just fine, but since we updated to 0.5 I can't get it working despite trying out the documentation. Before, it was like this build: build and deploy stuff... notify: slack: webhook_url:…
2
votes
1 answer

setup drone continuous integration with github

I'm trying to setup a CI server inside a corporate network with drone (open source edition). Its author describes drone as very simple solution even for programmer (as I am), though some moments are not clear for me (may be official documentation…
Andrey Khataev
  • 1,303
  • 6
  • 20
  • 46
2
votes
1 answer

failed to generate token from DRONE_AGENT_SECRET

Im running gogs with success by: docker run --name=gogs --restart always -p 10080:3000 -v /home/gogs:/data -d gogs/gogs its working... link: removed And I want to add a drone.io container with: docker run -it --name=drone -p 8080:80 -v…
Cracker0dks
  • 2,422
  • 1
  • 24
  • 39
2
votes
1 answer

Is it possible to inject your own set of variables into a Drone build?

I'm using Drone 0.5. Our build process compiles code to generate an artifact that is deployed to an artifact repository. I need a reference to this artifact for use in later build steps. Is there a way to pass arbitrary data between build steps?…
Daniel Cerecedo
  • 6,071
  • 4
  • 38
  • 51
2
votes
1 answer

How to set memory on drone.yml file to configure docker container memory

I setup drone.io instance locally and use it as our CI environment. I need to setup the docker container memory for running my test cases. Below is my .drone.yml file. pipeline: build: image: centor commands: - mvn clean install Is…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
2
votes
1 answer

Gogs + Drone getsockopt: connection refused

In the Gogs/webhooks interface when i click the test delivery button i got this error; Delivery: Post…
2
votes
0 answers

How go install finds out when to rebuild?

I'm trying to use go install inside a drone build with caching(whole $GOPATH, see http://readme.drone.io/usage/caching/) and it works but go install rebuilds all packages doesn't matter what I do with the cache(I checked and cache store/restore…
let4be
  • 1,048
  • 11
  • 30
2
votes
1 answer

Drone CI "Error: missing Docker image"

I'm hosting my own Drone instance. My .drone.yml is as follows: build: image: node:latest commands: - npm install - npm run compile However, whenever it runs it spits out the error: Error: missing Docker image with no context…
Ryan Kennedy
  • 3,275
  • 4
  • 30
  • 47