alertmanager2es
alertmanager2es copied to clipboard
Add promu support to build binary
- Modify Makefile for promu
- Add VERSION file
- Add promu.yml
I can add the .travis.yml in the same commit.
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/
You can see the releases from my fork https://github.com/CharlesJUDITH/alertmanager2es/releases
This issue can be closed