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

I want to run a specific drone pipeline in series

I have a drone.yml running 3 pipelines on my github repo. One for pullrequests that get run as soon as some one submits a pull request, a pipeline for releases that makes docker containers and outputs a docker-compose, and now I'm making a pipeline…
Nathan Smith
  • 37
  • 2
  • 6
1
vote
1 answer

How to stop a detached step in drone.io?

In drone you can detach steps as seen here: https://docs.drone.io/config/pipeline/steps/ Example use case: I started a detached database. Some tests run against it. Then the db is no longer needed so I would like to terminate that detached step.
RayB
  • 2,096
  • 3
  • 24
  • 42
1
vote
1 answer

Kubernetes secrets plugin not working with no useful logs

I deployed drone.io using the helm chart. Builds are working fine. For my secrets I folowed this docs : https://readme.drone.io/extend/secrets/kubernetes/install/ So I created a secret to hold the shared secret key between the plugin and the drone…
sebt3
  • 534
  • 6
  • 10
1
vote
1 answer

what is mean by event: tag in drone.yml?

I am going through the one of drone yml and i saw the below when: event: tag am not getting what is mean by tag event , i knew push event like for example when: event: push branch: master means trigger the build step only when…
Bravo
  • 8,589
  • 14
  • 48
  • 85
1
vote
1 answer

Kubernetes on an AWS-hosted cluster (not EKS): Where does infrastructure replication logic go?

I have a Kubernetes-orchestraded infrastructure that is served on an AWS-hosted cluster. I'd like to have routines that would allow me to spawn similar infrastructures. The difference between the original infrastructure and the newly-spawned ones…
bsam
  • 880
  • 1
  • 8
  • 18
1
vote
1 answer

Error response from daemon: Get https://gcr.io/v2/xxx/xxx/xxxx/xx: unknown: Unable to parse json key

I am trying to pull a private GCR image from my CD tool (DroneIO), but the following error is generated. Error response from daemon: Get https://gcr.io/v2/xxx/xxx/xxxx/xx: unknown: Unable to parse json key. I am using the json file that is generated…
1
vote
1 answer

Reading a text file from kubernetes root using java springboot

I am writing a secret to a file using Drone while deploying to Kubernates. How can read this file using java Springboot? Drone commands commands: - touch naspvtkey.txt - ls -a - echo "$NASPVTKEY" > naspvtkey.txt Drone outputs: + touch…
Hearaman
  • 8,466
  • 13
  • 41
  • 58
1
vote
1 answer

how to configure hard memory limit for builds in drone.io

Perhaps I am missing it, but I see no method to control the the hard memory limit for any given build (I have builds being murdered because of it). Is the build memory limit based on the build params supplied by the client (this means a single…
Christian Bongiorno
  • 5,150
  • 3
  • 38
  • 76
1
vote
2 answers

Are the drone.io apache instructions out of date?

The release notes for Drone.io 0.8 say "Please note that grpc uses http/2 and cannot be routed through a reverse proxy (i.e. nginx). If you are using nginx you must bypass and connect the agent directly with the server." but the Apache setup…
mikeLundquist
  • 769
  • 1
  • 12
  • 26
1
vote
0 answers

How to build drone image for ARMv7?

First, I downloaded the drone image: go get github.com/drone/drone/cmd/... Second, I built the image for arm: GOARM=7 go build -o release/drone-server github.com/drone/drone/cmd/drone-server After that, I built the image for docker: docker -f…
j3141592653589793238
  • 1,810
  • 2
  • 16
  • 38
1
vote
1 answer

How to intercept a smart RTH request and cancel it?

I want to enable smart RTH, but instead of allowing the aircraft to execute that action, I want to plan my own mission home. Is this possible by using DJIFlightControllerParamConfirmSmartReturnToHomeRequest?
Bryan
  • 614
  • 1
  • 8
  • 18
1
vote
0 answers

Unable to get the last last commit details from Drone

I am integrated Drone CI/CD with BitBucket server and suppose to push the Docker images to Gitlab Private Registry. Currently, I was stuck with Drone CI/CD I am unable to get the last commit details through Shell script. I have to build the Docker…
sravan
  • 19
  • 3
1
vote
1 answer

Passing build arguments in .drone.yml for docker plugin

I have the following Dockerfile FROM myabse ARG SERVER_CONTEXT_PATH=com-ifx COPY ./hue-com-ifx-front/target-server-side/com-ifx.war /opt/tomcat/webapps/${SERVER_CONTEXT_PATH}.war CMD ["/opt/tomcat/bin/catalina.sh", "run"] When I try build the…
kosta
  • 4,302
  • 10
  • 50
  • 104
1
vote
1 answer

Synchronizing two different git repos hosted on different git servers

I have two different git repositories hosted on two different gitlab servers say gitrepo1 and gitrepo2 gitrepo2 has CI configured to it (drone.io), so any updates to this repo automatically builds the code and performs some other tasks. However,…
kosta
  • 4,302
  • 10
  • 50
  • 104
1
vote
1 answer

How can I copy files from docker container to my host computer?

This may seem like duplicate question? But I think it's not, and also. I have tried google. This is the situation, I want to build a CI pipeline with Gogs and Drone, with their nice documents, I have build it up. But now, I am stucking on: How to…
Tab Gre
  • 57
  • 1
  • 9