douxian1923 2017-07-04 00:43
浏览 49
已采纳

端到端GoLang构建管道的示例

There seems to be little information around examples and best practices when building an end-to-end pipeline for a Go Lang application that can:

  • Calculate next version (ala semantic-release)
  • Run all tests
  • Build for the different supported platforms ((Linux, FreeBSD, Mac OS X, Windows) * (amd64, 386, arm, s390x, ppc64le))
  • Tag and Release in a SCM (github | gitlab | bitbucket)
  • Optionally create packages (deb, rpm, snaps, flatpaks, brew taps, Inno Setup).
  • Run this integrated in (TravisCI | CircleCI | Jenkins | Bamboo | others)

Is there any documentation, example project at this regard? I've checked some of the more famous Go projects (kubernetes, hashicorp/* and others) and they all seem to leave this part outside of the project.

  • 写回答

1条回答 默认 最新

  • dongmei3869 2017-07-04 02:57
    关注

    I am not sure if this is what you need, but you can take a look at this one goreleaser.

    GoReleaser builds Go binaries for several platforms, creates a GitHub release and then pushes a Homebrew formula to a repository. All that wrapped in your favorite CI.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 2024-五一综合模拟赛
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭