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

    评论

报告相同问题?

悬赏问题

  • ¥60 许可证msc licensing软件报错显示已有相同版本软件,但是下一步显示无法读取日志目录。
  • ¥15 Attention is all you need 的代码运行
  • ¥15 一个服务器已经有一个系统了如果用usb再装一个系统,原来的系统会被覆盖掉吗
  • ¥15 使用esm_msa1_t12_100M_UR50S蛋白质语言模型进行零样本预测时,终端显示出了sequence handled的进度条,但是并不出结果就自动终止回到命令提示行了是怎么回事:
  • ¥15 前置放大电路与功率放大电路相连放大倍数出现问题
  • ¥30 关于<main>标签页面跳转的问题
  • ¥80 部署运行web自动化项目
  • ¥15 腾讯云如何建立同一个项目中物模型之间的联系
  • ¥30 VMware 云桌面水印如何添加
  • ¥15 用ns3仿真出5G核心网网元