!XsXwjEyShgVdawLXRz:matrix.org

drone-support

1280 Members
Get help for all aspects of Drone CI29 Servers

Load older messages


SenderMessageTime
7 Apr 2021
@djaffer-60650e3c6da037398478d9ad:gitter.imdjaffer (Danish J.) It is not doing it in my case can you please tell what you find incorrect. It is only doing when it is merged. Is this not enabled by default.
@bradrydzewski
21:42:20
@djaffer-60650e3c6da037398478d9ad:gitter.imdjaffer (Danish J.)
kind: pipeline
name: production deployment
steps:
  - name: setup/install
    image: node:14.16.0
    commands:
      - yarn install --silent
  - name: build
    image: node:14.16.0
    commands:
      - cd app
      - rm -rf build
      - yarn run build
      - ls build
trigger:
  branch:
    - master
21:43:35
@djaffer-60650e3c6da037398478d9ad:gitter.imdjaffer (Danish J.) *
kind: pipeline
name: production deployment
steps:
  - name: setup/install
    image: node:14.16.0
    commands:
      - yarn install --silent
  - name: build
    image: node:14.16.0
    commands:
      - cd app
      - rm -rf build
      - yarn run build
      - ls build
trigger:
  branch:
    - master
21:43:50
@djaffer-60650e3c6da037398478d9ad:gitter.imdjaffer (Danish J.) * It is not doing it in my case can you please tell what you find incorrect. It is only doing when it is merged. Is this not enabled by default.
@bradrydzewski
21:44:38
8 Apr 2021
@alex-fomin-54ae7c88db8155e6700e7791:gitter.imalex-fomin (Alex Fomin) Hi, is it possible to use CCMenu for drone with Bitbucket authorization? 10:27:50
@fllooo:matrix.orgUnknown Fllooo joined the room.14:22:48
@fllooo:matrix.orgUnknown FlloooHey14:22:54
@qqn:matrix.orgquelqun changed their profile picture.15:37:30
@smokieg-606f7d346da037398479b04a:gitter.imsmokieg (smokieg) joined the room.22:03:41
@smokieg-606f7d346da037398479b04a:gitter.imsmokieg (smokieg) is it possible to run shell scripts via commands in a step (docker pipeline)? everything i've tried fails with no error 22:03:42
9 Apr 2021
@timorantalaiho-553e561d15522ed4b3df9484:gitter.imtimorantalaiho (Timo Rantalaiho) joined the room.13:38:38
@timorantalaiho-553e561d15522ed4b3df9484:gitter.imtimorantalaiho (Timo Rantalaiho) Hello! We have an involved build that has greatly benefited from being converted from yaml to jsonnet. 13:38:38
@timorantalaiho-553e561d15522ed4b3df9484:gitter.imtimorantalaiho (Timo Rantalaiho) However our .drone.jsonnet has grown rather large and complex too :) 13:38:54
@timorantalaiho-553e561d15522ed4b3df9484:gitter.imtimorantalaiho (Timo Rantalaiho) So I started splitting it to several files, testing happily the results with drone jsonnet --stream locally 13:39:16
@timorantalaiho-553e561d15522ed4b3df9484:gitter.imtimorantalaiho (Timo Rantalaiho) and then pushed to our self-hosted Drone server, just to find out it didn't find my imports at all :) 13:39:42
@timorantalaiho-553e561d15522ed4b3df9484:gitter.imtimorantalaiho (Timo Rantalaiho) Is there any hope in getting the imports work in Drone? So far I have only found this one third party plugin that seems rather old and not maintained https://discourse.drone.io/t/can-you-import-your-own-jsonnet-libraries/7741 13:40:18
@bradrydzewski-5439cf15db8155e6700cacc9:gitter.imbradrydzewski (Brad Rydzewski) jsonnet imports are not supported natively by the Drone server. You can use the jsonnet plugin (mentioned at https://discourse.drone.io/t/can-you-import-your-own-jsonnet-libraries/7741) ... it is no longer being actively developed, but it still works just fine, and you always have the option to fork and modify as needed. 17:43:48
@dhoffmann:matrix.orgdhoffmann joined the room.20:00:34
@dhoffmann:matrix.orgdhoffmannHello - I have an urgent licensing issue - is there someone I can get into contact with directly?20:01:09
@drgrove-548f2c23db8155e6700df73a:gitter.imdrGrove (Daniel Grove) joined the room.20:09:35
@drgrove-548f2c23db8155e6700df73a:gitter.imdrGrove (Daniel Grove) Yes, are they set as executable? 20:09:35
@drgrove-548f2c23db8155e6700df73a:gitter.imdrGrove (Daniel Grove) @bradrydzewski, we could really use some help on this 20:12:30
@dhoffmann:matrix.orgdhoffmannWe were able to get our issue resolved with support. Thanks!20:38:06
@halfwalker-602adee26da03739846213ce:gitter.imHalfwalker (Halfwalker) I have gitea and drone running in docker containers on a test box. Just rebooted box, it pulled latest docker images, and logging into drone now gives 21:45:42
@halfwalker-602adee26da03739846213ce:gitter.imHalfwalker (Halfwalker)
Post "http://test2.local:3000/login/oauth/access_token": dial tcp: lookup test2.local on 8.8.8.8:53: no such host
Any ideas ? Why is it querying 8.8.8.8 ? My /etc/resolv.conf has nameserver 127.0.0.53 (It's Ubuntu 18.04 with systemd-resolve)
21:47:06
@tklk_:matrix.orgtechknowlogickdocker injects custom dns config into containers, you'll need to configure your docker daemon to change that, however 127.0.0.53 would'nt work inside docker containers since localhost means something else.21:48:38
@halfwalker-602adee26da03739846213ce:gitter.imHalfwalker (Halfwalker) OK, I take it all back. Just restarted the drone container, and now it's OK 21:49:15
10 Apr 2021
@timorantalaiho-553e561d15522ed4b3df9484:gitter.imtimorantalaiho (Timo Rantalaiho) OK, thankyou for the confirmation! 03:47:49
@michael.:matrix.orgMichael Amoani changed their profile picture.12:46:40
11 Apr 2021
@halfwalker-602adee26da03739846213ce:gitter.imHalfwalker (Halfwalker) To complete this - the gitea container has its /etc/resolv.conf pointing to 8.8.8.8, not the actual DNS server handed out by dhcp. Not sure why, but a restart of the containers had them get the proper nameserver line, and it all worked again. 00:23:14

There are no newer messages yet.


Back to Room List