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

How to set retention policy in Drone CI

I'm using 0.8 version of Drone-CI tool. I would like to keep only 10 last builds. Is it possible to configure retention policy in the current version? If yes, how can I do it?
Aliaksei Maniuk
  • 1,534
  • 2
  • 18
  • 30
1
vote
1 answer

Running Docker Interactive Shell

I am trying to run interactive shell for an image which I am running using docker-compose. I tried docker-run and docker-exec xyz@abc:~$ sudo docker exec -it 235197ff4f0e /bin/bash rpc error: code = 2 desc = oci runtime error: exec failed:…
Shaurya Chaudhuri
  • 3,772
  • 6
  • 28
  • 58
1
vote
1 answer

access environment variables of drone in drone plugins

I am completely new to drone CI/CD. I am facing issue on passing environment variables to drone plugin. What i did upto now is I deployed drone docker image drone/drone:0.7 in one of my server (my.drone.com) (both server and agent working.…
REDDY PRASAD
  • 1,309
  • 2
  • 14
  • 29
1
vote
0 answers

Installing drone on a sub-directory/path

I am trying to install drone in a particular path of a domain, but it still tries to find it's resources in root directory. It's behind a Caddy Server. Example:- Want to install in http://abc.xyz.com/drone/ While it should find its…
Shaurya Chaudhuri
  • 3,772
  • 6
  • 28
  • 58
1
vote
1 answer

gitlab-ce and drone: 0.8, but drone's builds do not work

I use gitlab-ce and drone: 0.8, but drone's builds do not work. "Build list is empty" will be displayed I also put .drone.yml under the gitlab-ce repository. gitlab-ce's docker-compose.yml version: '2' services: proxy: image:…
mpc1000
  • 11
  • 3
1
vote
1 answer

"fatal: could not read Username for 'https://XXX': No such device or address" with drone.io and Gogs

I want to use drone.io and gogs in order to have some CI features in my environment. The documentation of drone.io (http://docs.drone.io/) is not up-to-date, and I had to dig a lot in order to launch it. My docker-compose.yml file is the…
Blusky
  • 3,470
  • 1
  • 19
  • 35
1
vote
1 answer

Installing a plugin into Drone CI (the Trigger plugin)

I'm new to Drone, and I want to use my first plugin, namely this one: http://addons.drone.io/trigger/ However, the Drone documentation doesn't really explain how to install plugins. What I've done is copy the example yaml into my .drone.yml,…
Migwell
  • 18,631
  • 21
  • 91
  • 160
1
vote
1 answer

Drone CI get and use build metadata

I'm using Drone CI (0.7) in a self-hosted system. It's hooked up to GitLab and my private registry and working great! However, I'd like to do more with the .drone.yml file. Especially when publishing images to the registry. The docs show how to do…
BurtonR
  • 13
  • 2
  • 5
1
vote
1 answer

drone CI push to ECR failure

when i try pushing image using drone plugin for amazon ECR i'm getting the following message: "no basic auth credentials" my .drone.yml file pipline: publish-to-ecr: image: plugins/ecr repo: foo registry:…
gCoh
  • 2,719
  • 1
  • 22
  • 46
1
vote
0 answers

switch between tabs in chrome using arquillian graphene

I need to switch tabs using Graphene and continue the test without failing. I am testing an application that creates a project and then opens that project from a link on a page. My issue is that it opens the project in a new tab and to continue…
Sharon
  • 146
  • 1
  • 8
1
vote
1 answer

How to use custom DNS settings in Drone Docker plugin

I am using Drone behind a corporate proxy. When I'm building Docker containers there, Docker inserts the correct search server as well as DNS addresses into the container's /etc/resolv.conf. However, when using the Docker plugin, only the search…
1
vote
1 answer

Can't push to gcr with drone plugins/docker

i have been trying out drone and have been unsuccessful in pushing the docker image to gcr. pipeline: build: image: plugins/docker dockerfile: docker/Dockerfile registry: gcr.io repo: gcr.io/ tags: "${DRONE_COMMIT_SHA}" …
hyper20
  • 21
  • 2
1
vote
0 answers

Is it possible to write Groovy tests with Arquillian/Drone/Graphene

I'm writing function UI tests and need to know does Arquillian/Drone/Graphene frameworks support Groovy tests. I'm finding it hard to find information online. Can groovy be implemented in this way or should is it easier to stick with Spock and Geb…
user7813528
1
vote
1 answer

Drone.io with Github redirect_uri_mismatch

I am trying to setup Drone CI 0.6 with Github. However I keep getting oauth errors. Perhaps someone can point out what I am doing wrong. I have tried both with & without DRONE_HOST, but it always says there is a mismatch. Error: cannot authenticate…
Brenwell
  • 767
  • 10
  • 24
1
vote
1 answer

Selenium setup with drone.io 0.6

I'm trying to set up Selenium testing for my node.js app with drone.io following this example: http://docs.drone.io/selenium-example/. My .drone.yml looks like this: pipeline: test: image: node:latest commands: - yarn install -…