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
Christopher Miller
@chrismillah
thoughts
?
Brad Rydzewski
@bradrydzewski
@chrismillah sounds like maybe you want to use the trigger section instead of when?
Christopher Miller
@chrismillah
thanks @bradrydzewski ill take a look at that, just having the clone default step run for branches i dont care about rn
yep triggers looks perf, ty
Nuno Ferreira
@numiralofe
hi, does anyone knows what will be date for the next drone release ? and also if this ( drone/drone-ui#329 ) will get included ?
ashwilliams1
@ashwilliams1
@numiralofe we are waiting on the author to re-submit the pull request
the pull request included some elements that can be merged right away, and some elements that require further discussions and modification, which is why we asked the to break into separate pull requests. The author is not a Drone employee, therefore we cannot really estimate when they will be able to resubmit.
Ian Duffy
@imduffy15
Hi all. Is it possible to use the triggers feature to trigger when another pipeline finishes? The example is A pushes a docker image of a:latest and B depends on a:latest I'd like B to run when A finishes.
Actually, I think https://github.com/UKHomeOffice/drone-trigger has my answer :)
Mikhail Boronin
@mboronin
Hi all, trying to store DRONE_RPC_SECRET in the kubectl secret same as DRONE_GITHUB_CLIENT_SECRET, but get an error during installation drone:
  • env: DRONE_RPC_SECRET is required
    What am I doing wrong?
Ardian Syla
@ArdianBSyla
Hi everyone! Here is my .drone.yml file
pipeline:
deps:image: ubuntu
commands:`
  - /bin/bash ./build.sh deps
when i execute this i get an error like this
./build.sh: line 10: git: command not found
  • /bin/bash ./build.sh deps
am i executing correctly bash file ?
ashwilliams1
@ashwilliams1
@ArdianBSyla the reason you are seeing git: command not found error is because you are using the ubuntu image which does not have git installed. You should choose a docker image that has your required software installed.
also, it looks like you might be using the old 0.8 yaml syntax. The current version of Drone 1.7.x and has a very different syntax
classicsla
@classicsla
I wish to mix drone with ansible. I could not find generic examples of the execution, is there any suggested/integrated way to do so?
Merlin Pong
@MerlinPong
Hi there, I was trying to use drone cli to manually build repo, things are quite tricky for me, I can list the repo's build by api, but can not manually use build create function by api, response as {"message":"Not Found"}
"
Merlin Pong
@MerlinPong
image.png
POST /api/repos/{namespace}/{name}/builds
my url should be [/api/repos/tfr/tfr-server/builds] right, but why the post request reponse is always "Not Found"
Merlin Pong
@MerlinPong
need support on edge... guys, please
Chris Pritchard
@chriscpritchard
When building the OSS version of drone, do you still need to build the drone-agent and drone-controller?
if so, do I still need to use the -tags "oss nolimit" ?
Ardian Syla
@ArdianBSyla
@ashwilliams1 thanks, but my build.sh file has a lot of commands ex. git, go, npm ... and how to execute this file to execute all these commands?
techknowlogick
@techknowlogick
@chriscpritchard OSS version doesn't support agents
ashwilliams1
@ashwilliams1
yep, OSS version has an embedded docker agent. This means you only need to install the server, and pipelines run on the same machine as the server.
dineshsalunke
@dineshsalunke
Hello All
dineshsalunke
@dineshsalunke
Can i use the docker plugins in the digital ocean pipelines ?
dineshsalunke
@dineshsalunke
what I want to do is generate a build using digitalocean pipeline, then send status message based on build status using the rocket chat plugin
Rajat Soni
@rajat-np
Hey folks.
Rajat Soni
@rajat-np
After starting drone exec runner, there is no error msg in the shell but the log file I created is empty and the pipeline says default: Pending
Samuel Alfageme
@SamuAlfageme
Hey guys, I was wondering if there's some way of running some sort of 'before_script' for a drone plugin (e.g. to apk add git) without interfering with its entrypoint
context: I'm using setuptools-scm together with plugins/drone-pypi to release a python package while getting its version from git. But as git is not installed on the plugin image, the pipeline fails
Thomas Boerger
@tboerger
@SamuAlfageme :tada: Nice to see you alive :D
Samuel Alfageme
@SamuAlfageme
@tboerger hehe alive and kickin'
Thomas Boerger
@tboerger
Plugins don't offer any commands blocks, but I'm open to accept git as a package within the plugin, mind opening a PR to the repo? ;)
Samuel Alfageme
@SamuAlfageme
Sure thing, will do! Is it also an interesting scenario to add to the docs?
Or is it better to keep them nice and simple?
Thomas Boerger
@tboerger
I would keep that simple
The plugin index will change anyway a lot hopefully soon...
Samuel Alfageme
@SamuAlfageme
:+1:
Thomas Boerger
@tboerger
@SamuAlfageme merged
Nathan Cooke
@3choBoomer

The documentation is not very clear on the difference between a pipeline trigger and a step trigger.

specifically, would the step foo ever get triggered on a pull request?

trigger:
  event:
    - push

steps:
  - name: foo
.....
    trigger:
      event:
      -  push
      - pull_request
softshipper
@softshipper
Hi all
What is the difference between Environment and Setting?
When should I use Setting and when Environment
Carl Menezes
@carl-menezes-aql
hi all, is there a way to get a human readable timestamp from "drone build ls"?