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
Hunter Wittenborn
@hunter:hunterwittenborn.com
[m]

My bad, thought you were part of the company :P

I'll find and check out the email though, thanks

techknowlogick
@tklk_:matrix.org
[m]
no worries, I'm just a happy user. I have a license so I can't exactly remember what the limitations were prior to that.
Hunter Wittenborn
@hunter:hunterwittenborn.com
[m]
Oh while I'm at it then
Just so I know if it is working(or at least if we see the same thing), but does being an admin user give you more options in the UI?
nvm already asked that
Would you know if it is though?
Looked around on YouTube, nothing's really showing me what anything look's like
Mainly just looking for these things:
  • Edit Repository Details
  • Edit Repository Trusted Flag
techknowlogick
@tklk_:matrix.org
[m]
Yeah, you have additional options for repos to change them to privileged mode etc.., and in Drone 2.0 there are more admin things in the UI for controlling users etc..
Hunter Wittenborn
@hunter:hunterwittenborn.com
[m]
Weird, never saw any of that
techknowlogick
@tklk_:matrix.org
[m]
Hunter Wittenborn
@hunter:hunterwittenborn.com
[m]
Thanks then, Imma go try to troubleshoot it
Yeeah definitely never seen that
techknowlogick
@tklk_:matrix.org
[m]
this is what one of the repos settings page looks like in 2.0
the same options are available in drone 1.0 too
Hunter Wittenborn
@hunter:hunterwittenborn.com
[m]
Mine looked way different than that
Everything was laid out differently
techknowlogick
@tklk_:matrix.org
[m]
I just updated to the beta recently so I'm afraid I don't have the ability to screenshot any 1.0 things
Hunter Wittenborn
@hunter:hunterwittenborn.com
[m]
Oh ok, that makes more sense
I'll go try that and whatever else then
Unless you got anything else
If not, peace ✌️
Hunter Wittenborn
@hunter:hunterwittenborn.com
[m]
Going with the latest build did it
thanks
Halfwalker
@Halfwalker
When starting extra containers with the services: stanza, it seems drone starts the container with a randomized name like drone-YvhdPt36nq37UaXdmBzp but with a docker-dns entry to map the name of the container to that drone-YvhdPt36nq37UaXdmBzp name ...
Can see this is the drone output - here the service container is named "mailhog"
+ ping -c 2 mailhog
PING mailhog (192.168.32.2) 56(84) bytes of data.
64 bytes from drone-YvhdPt36nq37UaXdmBzp.drone-HIlONzFoaQh2PDdtBT2O (192.168.32.2): icmp_seq=1 ttl=64 time=0.135 ms
64 bytes from drone-YvhdPt36nq37UaXdmBzp.drone-HIlONzFoaQh2PDdtBT2O (192.168.32.2): icmp_seq=2 ttl=64 time=0.064 ms
The drone CI job uses molecule to spin up another container for testing, and that is on the same network as the mailhog container - I've verified that externally on the host with docker inspect -f '{{range.NetworkSettings.Networks}}{{.NetworkID}}{{end}}' mailhog for example
Trouble is, that new container can't resolve "mailhog". It CAN however resolve "drone-YvhdPt36nq37UaXdmBzp"
Halfwalker
@Halfwalker
If I do all the steps externally/manually without drone - docker network create test1 and docker run --name mailhog ..... --network test1 mailhog/mailhog and run the molecule stuff to create the test container on the test1 network, then they can all see each other by name
Halfwalker
@Halfwalker
Is there any way to force the name of the service container ?
Helene
@helene-henrichsen-cko

I’d like to trigger independent deploy steps based on multiple pipelines. So that when I want to deploy one service the other service (in the same repo, but in a separate pipeline) does not get deployed as well. Something like:

when:
event:

     - deploy $SERVICE_NAME

If it's possible it would be great to only run the deploy step instead of the whole pipeline to run again when I click DEPLOY.
Is there a good way of doing this?

Brad Rydzewski
@bradrydzewski
@helene-henrichsen-cko see https://docs.drone.io/promote/
Will Salt
@william-salt-cko
If you can't trigger the promotion of a single pipeline in a build... do you think you might add dropdown lists for deployment targets and environment variable values at some point? I know in the backlog you have a ticket for this? https://github.com/drone/drone-ui/projects/3#card-15480771
But it seems like the ui isnt that active?
Brad Rydzewski
@bradrydzewski
you can trigger the promotion of a single pipeline in a build
you would use the environment parameter to do so
Johan Van de Wauw
@johanvdw
Drone supports storing log files in s3 buckets. But is there a way to export existing logs to s3?
(dropping old logs is an option, but if there is an easy way to migrate i prefer doing so)
zshaik
@zillani
hi,
anyone know where I can override this image?
drone/git
2 replies
Thomas Boerger
@tboerger
@johanvdw no migration, but old los aren't lost as drone got a builtin detection, if it can't find the logs on s3 it's doing a roundtrip through the db
Johan Van de Wauw
@johanvdw
yes, noticed that as well
Thomas Boerger
@tboerger
@xoxys:rknet.org haven't we written a migration tool back then at owncloud to migrate logs from in-database to minio?
or have we just delete the in-database logs? can't remember exactly.
Johan Van de Wauw
@johanvdw
looking in more detail it seems easy enough as the s3 key is the step , which is also the log_id
(with an optional prefix)
John-D8
@John-D8
How do I know the name of the network that the containers are running on (docker pipeline)?
I'm using a package that needs the name of the network as an env var
davehouser1
@davehouser1

Hello,
I am getting a "linter: duplicate step names" Error from drone after a push. We recently did an upgrade of our gitea, not sure if related.
I read from this dialog (https://gitter.im/drone/drone?at=5d320bee8285d81daa248e1b) , However our yaml looks correct, nothing changed on it, all step names are unique. What else could cause this issue?
Running the bin/drone --version shows we are at 1.2.1

kind: pipeline
type: docker
name: P3

clone:
disable: true

steps:
- name: clone
  image: alpine/git
  environment:
    SECRET_KEY:
      from_secret: secret_key_Misc_Projects
    KNOWN_HOSTS:
      from_secret: known_hosts_Misc_Projects

  commands:
    - mkdir "$HOME/.ssh"
    - echo "$SECRET_KEY" > "$HOME/.ssh/id_ed25519"
    - chmod 600 "$HOME/.ssh/id_ed25519"
    - echo "$KNOWN_HOSTS" > "$HOME/.ssh/known_hosts"
    - chmod 600 "$HOME/.ssh/known_hosts"
    - git clone "git@gitea.domain.internal:$DRONE_REPO.git" .
    - git checkout "$DRONE_COMMIT"

- name: Initial Test
  image: centos:6.7
  depends_on:
    - clone
  commands:
    - echo "I am alive and testable!"

Any idea what could cause this?

davehouser1
@davehouser1
nm, it was indentation. Now it works.
Johan Van de Wauw
@johanvdw
looking in more detail it seems easy enough as the s3 key is the step , which is also the log_id
I wrote a script, in case anyone else needs it
https://gist.github.com/johanvdw/4ee0a8f67f094cc953598248f46ba9a0
mikdusan
@mikdusan:matrix.org
[m]
hi, we have a hanging process in a drone aarch64 docker pipeline. There is no stdout/stderr and the pipeline hangs until timelimit is reached (2 hours) and it is killed. Initially we saw the pipeline succeed or fail somewhat randomly until a pattern emerged. The failure is when the host is a Cavium arm64 cpu, and success when Falkor cpu. Is there a machine that accepts ssh with Cavium ThunderX 88XX cpu we can further diagnose? Other recommendations?