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

Drone CI can't find Node module that's 100% definitely there

My project is a pretty simple website compiled with gulp. Gulp does: PostCSS -> CSS; and Pug -> HTML; and Some image resizing Nothing too shocking. It runs on my machine. It runs on my other machine. No sweat. All good. It used to run on Travis CI…
hoobydooby
  • 93
  • 6
1
vote
3 answers

How to get the permission for CaaS Engine of Huawei Mobile Services(HMS)?

Would like to obtain permissions to use open APIs of Huawei CaaS Engine to share MeeTime video call which is from an flying drone. I would try to let users to get the video streaming through MeeTime. The code is almost ready but HwCaasServiceManager…
1
vote
1 answer

drone.io: disable/enable builds for some branches

For some projects I use the CI service drone.io. Currently every time I make a commit to any of my branches, drone.io launches a build process. In some situations I consider this a waste of energy and resources and thus want to prevent unnecessary…
cknoll
  • 2,130
  • 4
  • 18
  • 34
1
vote
1 answer

Drone CI - docker plugin - parse error. Why drone can't parse?

could somebody help me, please? I try to build and publish my image to a private docker registry: kind: pipeline name: default steps: - name: docker image: plugins/docker settings: username: **** password: **** repo:…
1
vote
1 answer

Is it possible to use drone in periodic pull mode?

So we have an environment that can't be accessed without a VPN and we want to use drone there but at this situation we can't use webhooks. Is it possible to make drone periodically check our scm and if there's new commit it should start doing its…
0xMH
  • 1,825
  • 20
  • 26
1
vote
0 answers

can not see and active a projects under subpath on gitlab

I'm trying to POC drone.io with my k8s & gitlab. so my gitlab has subpath like "gitlab.com/foo/bar/myproject" but in drone-UI it has seen only the projects under foo path. and I have a lot of projects in the subpath. so I cannot transfers it…
1
vote
2 answers

Where to put the compiled Go binary?

I am trying to build my first Dockerfile for a Go application and use DroneCI to build pipeline. The DroneCI configuration looks as follows: kind: pipeline type: docker name: Build auto git tagger steps: - name: test and build image:…
softshipper
  • 32,463
  • 51
  • 192
  • 400
1
vote
1 answer

How to get drone environment variables in custom plugin?

I am trying to write my first custom plugin for drone ci that will change git tag and push back to repository. The plugin will be written in GO. My question is, how to feed https://docs.drone.io/pipeline/environment/reference/ inside the GO…
softshipper
  • 32,463
  • 51
  • 192
  • 400
1
vote
0 answers

Drone update status of each job on github

I recently started using drone with my github repo. One problem i have facing past week was I was not able to add job status of drone to github repo. I am getting below status on my Github pr. I want to replace those status and add status for each…
Paras Jain
  • 51
  • 4
1
vote
1 answer

Creating spark cluster with drone.yml not working

I have docker-compose.yml with below image and configuration version: '3' services: spark-master: image: bde2020/spark-master:2.4.4-hadoop2.7 container_name: spark-master ports: - "8080:8080" - "7077:7077" environment: …
Bravo
  • 8,589
  • 14
  • 48
  • 85
1
vote
1 answer

Drone Invalid or missing pipeline section

I'm trying to use drone to run a Kafka service Here is my .drone.yml file kind: pipeline name: default steps: - name: tests image: docker.repo1.acme.com/golang environment: KAFKA_HOME: /drone/src KAFKA_BROKER: kafka:9092 …
user1866924
  • 431
  • 5
  • 17
1
vote
1 answer

How can I pass a external environment variable to drone docker runner?

The scene is: I want to exec docker run & push in docker runner, and the docker registry and docker runner is in same server. so I want to pass host ip as variable into drone pipeline container so I can push docker image without a remote registry…
AlphaDu
  • 71
  • 2
  • 5
1
vote
1 answer

Drone pushing to Dockerhub fails due to access denied

I have set up Drone with the Docker plugin. It is building just fine, but fails to push to a private Dockerhub repo. I have confirmed that dockerhub_username and dockerhub_password are environment variables. kind: pipeline type: exec name:…
1
vote
0 answers

How to sign in on locale drone instance

I'm running drone on my Synology NAS and can't find any hint what the password might be. I started with this instruction and added --env=DRONE_USER_CREATE=username:Imperative,admin:true. In gogs personal access tokes, an entry drone is created. Also…
Imperative
  • 3,138
  • 2
  • 25
  • 40
1
vote
1 answer

How do you kill a drone.io (0.8.1) job after a step takes a certain amount of time?

I'm using drone 0.8.1. I have some UI tests that run as steps and sometimes they get stuck and can hang for up to an hour. I'd rather kill the entire drone build after a step takes longer than a set amount of time (say, 5 minutes since I know that…
Steph M
  • 2,152
  • 1
  • 12
  • 11