alertmanager2es icon indicating copy to clipboard operation
alertmanager2es copied to clipboard

Add promu support to build binary

Open CharlesJUDITH opened this issue 7 years ago • 4 comments

  • Modify Makefile for promu
  • Add VERSION file
  • Add promu.yml

CharlesJUDITH avatar Jan 08 '18 07:01 CharlesJUDITH

I can add the .travis.yml in the same commit.

CharlesJUDITH avatar Jan 08 '18 07:01 CharlesJUDITH

Regarding the travis build you'll need something like:

sudo: required

services:
- docker

language: go

go:
- 1.7.x
- 1.8.x
- master

matrix:
  allow_failures:
  - go: master

script:
- make style test

before_deploy:
- make promu
- promu crossbuild
- promu crossbuild tarballs
- promu checksum .tarballs

deploy:
  provider: releases
  api_key:
    secure: $GITHUB_OAUTH_TOKEN
  file_glob: true
  file: .tarballs/*
  skip_cleanup: true
  on:
    tags: true

There is a useful documentation here: https://docs.travis-ci.com/user/build-stages/deploy-github-releases/

CharlesJUDITH avatar Jan 08 '18 17:01 CharlesJUDITH

You can see the releases from my fork https://github.com/CharlesJUDITH/alertmanager2es/releases

CharlesJUDITH avatar Jan 10 '18 21:01 CharlesJUDITH

This issue can be closed

CharlesJUDITH avatar Jun 14 '20 14:06 CharlesJUDITH