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.
374
questions
0
votes
0
answers
12
views
Intermittent Error on truffle test - Error: PollingBlockTracker - encountered an error while attempting to update latest block:
I have a CI pipeline on drone - This is how it executes
- 'cd project'
- 'npm install -g truffle'
- 'npm i -g ganache@7.0.1'
- 'ganache -p 9546'
- 'echo "---> ...
0
votes
1
answer
20
views
Dockerizing a React project via Pipeline
Expanding on what I'm trying to accomplish:
After committing code to a locally-hosted Git server, a Drone pipeline is to test, then build, and finally deploy a React project on said server.
...
-2
votes
0
answers
16
views
How can I find the frame of DodecaHexa on mission planner?
I am building a dodecacopter (12 motors drone) and using pixhawk as a flight controller.
DodecaHexa + frame does not show up in my mission planner how should I fo please ?
Thanks,
0
votes
0
answers
33
views
tello drone streamon with python
I was given an assignment at school to research something I liked. I thought that programming drones would be interesting, so I chose tello. I managed to get the drone to work, but I just couldn't get ...
0
votes
0
answers
9
views
Drone Displays AP mode but laptop wont connect to it
I have a working drone that flies with no issues on CL mode. How ever, when trying to use AP mode the network appears but my laptop wont connect to it. On other laptops its the same issue on AP mode. ...
0
votes
0
answers
55
views
I can't reach gps location with my drone. How can i reach location?
We are making drone with my friends in university. We are using Raspberry Pi 3B and Pixhawk Cube Orange.
Here is my code for takeoff the drone and after that go back to home.
from pymavlink import ...
0
votes
0
answers
37
views
drone-ci: get status of previous step
I am writing an email plugin with pgp encryption for drone which must react of the status of previous step to send the right email template, but I don't know how I get this information.
I take a look ...
0
votes
0
answers
70
views
Problem setting up Cypress component tests for CRA with ejected Webpack config
I am trying to set up Cypress component tests with the following specs:
Cypress 10
CRA with ejected config
TypeScript
webpack 4
webpack-dev-server 3
Running in Drone CI
I've taken two different ...
0
votes
0
answers
71
views
Random Sonar analysis fail with "Failed to download analysis cache"
I am facing a recurrent and yet random problem during the sonarqube analysis step of a Drone CI build.
Here is the .drone.yaml part:
- name: code-analysis
image: aosapps/drone-sonar-plugin
...
0
votes
1
answer
67
views
How to make Drone Docker Plugin use self-signed certs?
I'm facing the same problem as here - I have set up a private Docker Registry with TLS certification (certificates generated via Certbot), and I can interact with it directly via curl etc. (thus ...
0
votes
0
answers
31
views
I'm facing a problem while initializing submodules for ardupilot
every time I try
git submodule update --init --recursive
I recieve
Failed to recurse into submodule path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan'
Failed to recurse into submodule path '...
0
votes
1
answer
117
views
Drone + nftables: Could not resolve host
I use drone with nftables. For nftables, I need to set the ip address and port to allow the drone/git, otherwise during cloning I get an error : Could not resolve host: gitlab.com
Drone and agent ...
1
vote
1
answer
87
views
Upload files in Drone Pipeline to Google Cloud Storage using gcs plugin
I have a drone cicd pipeline that builds a npm project which I want to upload to Google Cloud Storage (gcs). I found a drone gcs plugin which seems to be able to do so.
But I don't know what to use ...
1
vote
1
answer
107
views
Drone Cron Job Not Firing
I've created a cron job in Drone CI using the following command
drone cron add --branch master "foo/bar" "every-5-mins" "0 */5 * * * *"
And when I look in the UI, I can ...
1
vote
1
answer
80
views
How does the drone clone the repository?
For gitlab, if I get the client_id and client_secret, how can I clone the repository, just like what drone does. Is there any API or something?
-1
votes
2
answers
23
views
How to remove all Text before and after in notepad++
I have GPS .SRT file of DJI Mavic Pro, I want to only Longitude and Latitude values, and delete all other text.
GPS string as per below
1
00:00:00,000 --> 00:00:00,020
[iso : 450] [shutter : 1/50.0]...
0
votes
0
answers
10
views
How do I resolve Problem building "LS2N_PX4_ROS2" package in ROS2?
I found this package: https://univ-nantes.io/ls2n-drones/ls2n_drone_ros2/-/tree/mpc_flip_uncomplete
I am trying to build it, I followed every step as mentioned in the git.
but I am getting errors:
[I ...
0
votes
0
answers
83
views
Error sim_vehicle.py Ardupilot: ../../libraries/AP_GPS/AP_GPS.cpp: In member function ‘void AP_GPS::send_mavlink_gps2_raw(mavlink_channel_t)’
My goal is to simulate the ArduCopter in Gazebo, I am on Linux Ubuntu 20.04. After building the setup for Ardupilot like in the description:
https://ardupilot.org/dev/docs/building-setup-linux.html#...
2
votes
1
answer
298
views
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:
...
4
votes
2
answers
97
views
Can Drone be run in a platform agnostic way (like a manual webhook mode)?
When trying to setup Drone, the getting started guides all describe how to link Drone with an existing git service provider (like GitHub, BitBucket, etc).
The integration is tight, all your ...
0
votes
0
answers
294
views
Gitea + drone ruuner-ssh and runner-exec not working
I had deploy Gitea + drone + runner for my group. Normally runner-docker works fine, but runner-ssh and runner-exec don't work
deploy by docker compose
gitea
version: "3"
services:
gitea:
...
0
votes
1
answer
158
views
Drone Kubernetes Runner appending CA Certificate
I have a Microk8s cluster running gitea, harbor and droneci. Everything is hosted under *.dev.mydomain.com and there is a wildcard certificate for that. The certificate is signed using a private CA.
I'...
0
votes
0
answers
457
views
Drone template not triggering build
Following is how our.drone.yml looks like (and template also listed below) this an example configuration very much how we want in our production. The reason we are using a template is that our staging ...
2
votes
2
answers
759
views
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 ...
0
votes
0
answers
23
views
How to put a timer to QGroundcontrol?
I am running QGroundcontrol which will check a station status via TCP communication every 5 seconds.
When I look at the source code of QT and C++, I do not know where should I put the timer.
I know I ...
0
votes
1
answer
58
views
Obstacle Avoidance in DJI Mobile SDK
I am working with dronelink sdk from https://github.com/dronelink/dronelink-dji-example-android.git In this example, there is no obstacle avoidance feature be implemented. How can I add that feature ...
2
votes
4
answers
342
views
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 ...
1
vote
2
answers
252
views
Drone version not obtained M300 OSDK
I am trying to use an Nvidia Jetson Nano as an onboard computer to communicate with the Matrice 300 RTK using the OSDK. The computer and drone are connected using the OSDK Expansion module, and I am ...
0
votes
1
answer
473
views
ImportError: DLL Load failed while importing LeapPython: The Specified module could not be found
Some Context: I am currently working on a project to communicate between a PyParrot Mambo drone and the Leap Motion Controller. The issue that I am having is that the Leap Motion Controller Software ...
0
votes
0
answers
532
views
Drone CI can't authenticate with private repository
The following .drone.yml:
kind: pipeline
steps:
- name: publish
image: registry.example.com/hub/plugins/docker
settings:
registry: registry.example.com
repo: registry.example.com/some/...
0
votes
0
answers
60
views
Tests running on Drone fail with IllegalArgumentException/IllegalStateException
I am trying to run UI tests on drone (selenium/java Springboot tests), but they keep failing with the exception:
TestClass > testName() FAILED
java.lang.IllegalStateException at ...
0
votes
1
answer
223
views
Drone sometimes fail with error related to "No space left on device"
Sometimes we experience a drone pipeline failing due to a lack of disk space, but there is a lot of space.
drone@drone2:~$ df -H
Filesystem Size Used Avail Use% Mounted on
udev 8.4G ...
0
votes
0
answers
78
views
Conditional value in a drone pipeline
Is it possible to do something like this in a drone pipeline...
- name: publish-some-image
image: plugins/ecr
settings:
dryrun: ${DRONE_BRANCH != master}
...
...and if yes, how ...
0
votes
1
answer
50
views
how can i increment the count of same type of box if it gets the same type of box after scanning the qrcode?
Im using the qrcode scanner to detect and decode and it decodes the output properly.
Here im using the "text" as the decoded output of qrcode. If It gets same type of box like APPLE,it must ...
1
vote
1
answer
106
views
Issue: Unity Project - Drone-Simulation : Change camera perspective (C#)
for my university research, I am currently building a simulation environment via Unity (including a drone which has to fly through a factory).
What I have done:
created environment
implemented a ...
0
votes
0
answers
16
views
Random trajectories appear while tracking cars
Hey i've been using this algorithm to track moving cars captured by drone:
https://github.com/mabhisharma/Multi-Object-Tracking-with-Kalman-Filter.git but have made some changes so it takes the images ...
0
votes
0
answers
83
views
pan/tilt - DJI SDK - OpenCV
I am working on my master thesis to control gimbal of drone using parameters coming from openCV for image processing
is this possible through windows SDK to control pan and tilt angle of the gimbal as ...
1
vote
0
answers
36
views
how do I request enum values from a drone via mavlink?
I am programming a drone with java script and using node-mavlink https://github.com/padcom/node-mavlink. I am trying to figure out how to detect if the drone is taking off, in the middle of flying or ...
0
votes
0
answers
73
views
i want to exclude specific file from codecov from drone CI config
i have this below config of drone in my .drone.jsonnet
is there any way to exclude any specific file from codecov under this below config.
local unitTestPipeline = testPipeline {
name: 'unit',
...
0
votes
0
answers
116
views
Right usage of caching in drone with ECR
I’m building a docker image and pushing it to ECR. My docker contains some bigger python packages like pandas etc. which takes some time around 40 to 50 mins. I’m using cache_from step in my ...
0
votes
0
answers
52
views
multiple instance in drone pipline not working?
I install drone runner on multiple linux machine correctly and named them as run-1 and run-2.
this is my pipline:
---
kind: pipeline
type: exec
name: running PHP API update
clone:
disable: true
...
-2
votes
1
answer
402
views
How to build a drone with ROS2 and (indoor) navigation function [closed]
my name is chaos and I am learning how to control a drone with ROS2.
My current goal is to master indoor drone navigation. I don't have any experience with this, so I found and tried The Construct's
...
0
votes
2
answers
593
views
Drone - build based on branch
I am using Drone as my CI/CD tool and now I'm facing an issue with this. My team consists of developers and testers (who also are developers), and the Test Team wants to put a specific branch in the ...
0
votes
1
answer
98
views
Unable to increase timeout or add myself as admin
I'm currently using DRONE_SERVER=https://cloud.drone.io as SERVER URL and I'm trying to increase the timeout on my repository but it keeps reverting back to 60 minutes. I've tried adding myself as ...
0
votes
2
answers
202
views
Offline git clone Drone CI using proxy as Nexus
I am running :
drone-server on top of kubernetes
and drone-kubernetes-runner to dynamically provisioning runner as pods.
After investigation, i found the Pod YAML of each runner defines the 1st step ...
0
votes
1
answer
401
views
Shared Storage/Caching in Drone CI Runs
I'm trying to dynamically generate a client library off an OpenAPI specification as a build artifact in my Drone CI/CD pipeline and publish it to an Artifactory registry. For numerous reasons this has ...
0
votes
3
answers
216
views
exclude one file in 'for file in ; do ; done' command
since a few weeks I've been using Drone.io a CI/CD tool and found out that only bin/sh commands can be executed in it and not bin/bash. Now I'm looking for a one line command to find files on '*.yaml' ...
1
vote
1
answer
439
views
How can I verify an HTTP HMAC Signature in Bash?
I'm needing to verify an HTTP HMAC signature for a program I use (Drone CI, trying to create an extension), but nothing I'm trying is getting the results to match.
Specifically, the HTTP request looks ...
1
vote
0
answers
416
views
How can I access redirect url from keycloak inside Docker container with cy.Visit()?
State:
I've got an application, that is built with Angular (as Front-End) and Quarkus as (Back-End).
The application first redirects the user to KeyCloak, and redirects back to the application (does ...
1
vote
0
answers
226
views
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 ...