Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 20 2020 05:53
    @ashwilliams1 banned @matrixbot
  • Oct 18 2019 03:30
    @bradrydzewski banned @vityafx
  • May 07 2019 20:55
    @bradrydzewski banned @izznogooood
Brad Rydzewski
@bradrydzewski
yep
sorry, you can't have your cake and eat it too :)
brandoncollins7
@brandoncollins7
it's nice having this one master compose file that does it all haha
Brad Rydzewski
@bradrydzewski
I guess your only other option is to use an exec runner
brandoncollins7
@brandoncollins7
not sure what that is?
it provides an overview of each type of runner, when to use, and when to avoid
brandoncollins7
@brandoncollins7
oh so this allows users to run the drone script on their machine? and ci would use the kubernetes runner?
Pedro Parra Ortega
@pedroparraortega
hi all, is there any known issue with kubernetes >1.19?? i’m testing the cluster upgrade and since i upgraded it is not possible to run any pipeline, i always get an error
 is invalid: spec: Forbidden: pod updates may not change fields other than `spec.containers[*].image`, `spec.initContainers[*].image`, `spec.activeDeadlineSeconds` or `spec.tolerations` (only additions to existing tolerations)   core.PodSpec{    ... // 10 identical fields    AutomountServiceAccountToken: nil,
sjdrc
@sjdrc
What could cause logs to be missing for a step and for it to only display "Step does not exist"?
it was building fine
Pedro Parra Ortega
@pedroparraortega

hi all, is there any known issue with kubernetes >1.19?? i’m testing the cluster upgrade and since i upgraded it is not possible to run any pipeline, i always get an error

 is invalid: spec: Forbidden: pod updates may not change fields other than `spec.containers[*].image`, `spec.initContainers[*].image`, `spec.activeDeadlineSeconds` or `spec.tolerations` (only additions to existing tolerations)   core.PodSpec{    ... // 10 identical fields    AutomountServiceAccountToken: nil,

Just for your info…. Drone is not compatible with kubernetes >1.18 using PSP

Michael Armijo
@mjarmijo
Is there any problem with telling Drone to run cron jobs more often than the default of once an hour? The example for the DRONE_CRON_INTERVAL is "DRONE_CRON_INTERVAL=5m", which we used. I have a cron job that wants to run every 20 minutes.
Hugh Cannon
@hugecannon
:point_up: June 10, 2021 5:09 PM
Is there a good way of verifying I'm using the latest container image?
Meisam Emamjome
@misamae
Hello, where can I find the documentation about notify section in the yml. I have seen examples in the email plugin. The plugin works is put as an step in the pipeline but it doesn't work if it is put as a top level notify section .
pipeline:
  notify:
    image: drillster/drone-email
    host: smtp.some-server.com
    username: foo
    password: bar
    from: drone@your-domain.com
    when:
      status: [ changed, failure ]
v-byte-cpu
@v-byte-cpu
Hi there! Сan anyone please tell me how I can contact the cloud.drone.io support team ?
Shagon94
@Shagon94
is there a way to run cockroach db as a service in drone io?
Raz Luvaton
@rluvaton
Is there an expected date for version 2 to get out of the beta?
Shagon94
@Shagon94

I've spent close to 8h trying to have a service that has cockroach db as a service, the closest thing I've gotten to is:

kind: pipeline
type: docker
name: default

steps:
  - name: database setup
    image: cockroachdb/cockroach:latest
    commands:
      - sleep 5

  - name: build
    image: golang
    commands:
      - ping -c 2 database

services:
  - name: database
    image: cockroachdb/cockroach:latest
    command:
      [
        "start-single-node",
        "--insecure",
        "--listen-addr=0.0.0.0:26257",
        "--background",
      ]

but the image golang doesn't see the cockroachdb database, [build:1] ping: database: Name or service not known

Thomas Boerger
@tboerger
The array notation doesn't look right to me. Does cockroach start correctly?
Drone 2.0.0 have already been published?
Shagon94
@Shagon94
I think the database doesn't start correctly, redis example works, but for the life of me i dont know whats wrong with cockroachdb
endigma
@endigma
@Shagon94 have you tried extending the delay before pinging the db?
endigma
@endigma
I've tested locally, and after printing it's MOTD cockroachdb exits. This isn't a DroneCI issue, you've misconfigured the container somehow.
Thomas Boerger
@tboerger
He is sending the database into the background, that's the problem
PKiran
@kiranparajuli589
Is there any mechanism to stop a build with pass (green) status explicitly??
Can we propagate environment variables between different steps, in a pipeline?
Shagon94
@Shagon94
@tboerger oh my god, this is it, you've solved it! thank you very much, this is of great help!
Shagon94
@Shagon94
ah but as always another error pops up, it seems that drone endpoint /api/hook does not exist as that's the endpoint gitlab is using to send the webhook info about its triggers
Shagon94
@Shagon94
I've raised a ticket in gitlab tracker for the integration not working
zshaik
@zillani
Hi team,
subject: [BITBUCKET SERVER INTEGRATION]
is there a way to authenticate bitbucket repositories using ssh instead of username & password?
we are currently using, DRONE_GIT_PASSWORD & DRONE_GIT_USERNAME
we want to use SSH instead.
Reinitialized
@Reinitialized
Hey there! I'm using docker-compose with Gitea and DroneCI, and was looking to take advantage of Docker Secrets. However, it DroneCI is unable to read the secrets path, and was wondering if there was a way to resolve this so I don't have to keep my secrets exposed.
4 replies
sjdrc
@sjdrc
I've got a question about Debug Mode (currently in feature preview). Is it possible to globally have debug mode enabled, so that if a step fails I wont need to restart and wait for the entire build again before inspecting the container?
zshaik
@zillani
Hi team,
subject: [BITBUCKET SERVER INTEGRATION]
is there a way to authenticate bitbucket repositories using ssh instead of username & password?
we are currently using, DRONE_GIT_PASSWORD & DRONE_GIT_USERNAME
we want to use SSH instead.
can you help me here please.. @bradrydzewski
abhyudaya119
@abhyudaya119
How to trigger a drone build from an airflow dag?
4 replies
bitblt
@bitblt:matrix.org
[m]
Hello! I'm using drone with drone kubernetes runner. For each pipeline/build a new container is spinned up that does the each step/task. I want to be able to annotate these runner containers in order for them to get processed by a global mutating admission webhook in k8s
3 replies
Can I do that? If not, what project/source should I look for providing a PR for this?
kiranhomeoffice
@kiranhomeoffice
Hi I want to use a step in a different pipeline of same drone.yml is that possible?
Ebenezer Isaac
@major7x
Hello, I'm running drone 2.x in our new Kubernetes cluster (version 1.20) to be specific. Docker runtime has been removed in this K8 version hence we defaulted to kubernetes-runner and using this runner all the builds are failing with error <Name>- clone: skipped. I added config to disable clone in the yaml pipeline but it resulted to error of the first step in the pipeline <Name>- install: skipped. In the server logs, it appears to be triggered but no error logs to identify the issue.
How can one resolve this issues?
5 replies
image.png
image.png
image.png
Jessica de Lima Fileto
@jtlimo

Hi, my webhook it's receiving this error:
{"message":"invalid character 'p' looking for beginning of value"}

Someone can help me to discover what is wrong?

2 replies
bitblt
@bitblt:matrix.org
[m]
@bradrydzewski: I managed to solve the drone problem with git clone step from my cluster gitea that uses certificate issued from my self-signed local CA using the DRONE_RUNNER_ENVIRON: "GIT_SSL_NO_VERIFY:true". Do you believe there is a better way to do this?
Dmitriy Komarov
@cn-dmitriy-komarov
is there any requirements to match drone runner version to drone server version? which should be upgraded first or do they need to be upgraded at the same time
James Callahan
@james-callahan
@shubhankarpaul could you add multiarch support to drone-kaniko? https://github.com/GoogleContainerTools/kaniko#--customplatform
otherwise it would be great to give drone-kaniko some docs

misc annoyance: if you're using no_push without a username it fails with

Username must be specified