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

Calculating coordinates of an oblique aerial image

I am using a GoPro HERO 4 on a drone to capture images that need to be georeferenced. Ideally I need coordinates of the captured image's corners relative to the drone. I have the camera's: Altitude Horizontal and vertical field of view Rotation in…
Milan Zelenka
  • 416
  • 1
  • 7
  • 11
3
votes
2 answers

Drone.io build locally without pushing to the repo

io team and lovers. I tested Drone.io in a locally way and I like it. Is there a way to use Drone.io locally without pushing to a repository?. I would like to use it on developer environments, that means the developers can test their code before…
Eddy Hernandez
  • 5,150
  • 1
  • 24
  • 31
3
votes
2 answers

setting up local drone server: Unable to login. Registration is closed

I'm trying to set up a local drone.io server for CD with my github account. I'm using the official docker container. The setup instructions says to add an application in github settings to get the client id and secret needed for drone github remote…
Juancho
  • 629
  • 7
  • 17
3
votes
0 answers

relation "django_content_type" does not exist during CI tests

I am hitting psycopg2.ProgrammingError: relation "django_content_type" does not exist error during CI builds: https://travis-ci.org/VeggieSailor/vegbasket/jobs/91277871 https://drone.io/github.com/VeggieSailor/vegbasket/119 however I have…
bluszcz
  • 4,054
  • 4
  • 33
  • 52
2
votes
0 answers

What is a more reliable way to wait for a service to be up and running in Drone before one of the steps tries to connect to it?

See this section from Drone's official documentation: kind: pipeline type: docker name: default steps: - name: ping image: redis commands: - sleep 5 - redis-cli -h cache ping services: - name: cache image:…
2
votes
1 answer

Why does a triggered building always need approval or decline in Drone?

I had created a new gitlab project copied from an existed project. After i commit sth to the new project, Drone successfully received the event, and a new building triggered, but always need confirm, approve or decline. Drone Project…
2
votes
2 answers

Drone CI - How to set pipeline env var to result of CLI output

I recognize that within a pipeline step I can run a simple export, like: commands: - export MY_ENV_VAR=$(my-command) ...but if I want to use this env var throughout the whole pipeline, is it possible to do something like…
Ben
  • 60,438
  • 111
  • 314
  • 488
2
votes
4 answers

Is there C++ SDK for mavlink - Ardupilot?

I want to control Ardupilot drones (for example in Gazebo simulator) using C++ (NOT ROS). Dronekit is a great tool for python but I want something similar using C++. MAVSDK is only compatible with PX4 but I need it for Ardupilot. Is there C++ SDK…
Roy Amoyal
  • 717
  • 4
  • 14
2
votes
0 answers

Drone CI ECR Plugin - Cannot connect to docker daemon

I have a drone server and runner running on an EC2 machine, seems to be working fine until the publish to ECR step. I keep running into the error in the screenshot below: Below is the code for the publish step in my drone.yml, any help is much…
coops22
  • 401
  • 7
  • 15
2
votes
0 answers

Drone and Gitea behind an nginx reverse proxy

I have been digging through the internet for 3 days now. I'm sure at this point I'm just doing something silly, but I'm hoping someone can point out what that is as I've gone through so many troubleshooting posts on this I don't know which way is up…
TheTrooble
  • 53
  • 9
2
votes
1 answer

Different Build steps according to external variable in Drone CI

I use Drone CI for handling CI/CD process. I am working on a use case where I take input variables and run different pipelines according to the key value pair. Inputs to the deploy pipeline. Currently in my pipeline I use Ansible Plugin to push the…
Pratiksha
  • 23
  • 6
2
votes
1 answer

Drone CI/CD has Login Failed. Invalid Response on my VM

I have an error when I am trying to start my Drone server with Bitbucket Server. I have one VM with Centos7 with nginx. I started my bitbucket server with docker on 127.0.0.1:7990 and configure nginx for proxy pass on it. server { server_name…
FunnyCOFE
  • 59
  • 6
2
votes
0 answers

How location.global_relative_frame.alt measure altitude?

I'm working on a Drone project with a Raspberry Pi connected with the Pixhawk4 via MAVLink protocol. I'm trying to understand how the following method is measuring the altitude of the drone: my_drone.location.global_relative_frame.alt Maybe it is…
ljuk
  • 701
  • 3
  • 12
2
votes
0 answers

Pipeline occurs "Could not resolve host" when I use Gogs and Drone to build a CI/CD platform

Physical machine hosts file 192.168.32.103 gogs.com 192.168.32.105 drone.com Gogs virtual machine /etc/hosts file 192.168.32.105 drone.com Drone virtual machine /etc/hosts file 192.168.32.103 gogs.com The following commands are all operated on…
Yokefellow
  • 21
  • 1
2
votes
1 answer

Drone - Name docker image tag with customize datetime string format using drone.yml

I have this drone.yml which is running fine and generating a docker image. I am building the docker image with 2 tags. SHA of commit in GitHub. latest What I want to do is to append the date & time of image creation in the format of…