dongzuo9096 2016-11-29 23:59
浏览 387

drone.io不使用GitHub repo的.drone.yml文件

I have a problem with the CI tool drone. At the Moment I'm using drone.io and with the selft-hosted version I have the same issue. When I try to build my golang test application drone.io always ignores my .drone.yml file.

The GitHub repo is: https://github.com/norbell/dronetest

My .drone.yml file looks like this:

pipeline:
  build:
    image: golang:1.6
    commands:
      - go get
      - go build

And the settings page of my drone.io project looks like this:

enter image description here

And when I click the build button it shows me that the project was successfully "build":

enter image description here

Obviously does everything but not building my project. I have done everything I found in the documentation but I can't get it working.

When I put go get and go build or go run main.go into the "commands" textarea field of the settings page, drone is suddenly able to build my go application.

I'm not sure what I'm doing wrong, so it would be very nice if someone could help me. :)

  • 写回答

2条回答 默认 最新

  • dongwei3866 2016-11-30 08:24
    关注

    https://drone.io/ - doesn't support .drone.yml file, this file supported by https://github.com/drone/drone

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器