Skip to content

Commit

Permalink
Publish releases to github via travis
Browse files Browse the repository at this point in the history
refs KZD-294

Change-Id: Ie518ea2f24c861cc95bbc17c74b6ac118ee339e3
Reviewed-on: https://gerrit.instructure.com/c/muss/+/221151
Tested-by: Service Cloud Jenkins <[email protected]>
Reviewed-by: Derek DeVries <[email protected]>
QA-Review: Derek DeVries <[email protected]>
Product-Review: Derek DeVries <[email protected]>
  • Loading branch information
Randy Stauner committed Dec 18, 2019
1 parent b7b47a9 commit b45f06e
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/build/
/docker-compose.yml
/testdata/docker-compose.yml
muss.user.yaml
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: go

go:
- 1.x

env:
global:
- GO111MODULE=on

deploy:
provider: releases
api_key:
secure: "v/iJArRWOHpzPssSgEBldwtXHu+WKCr165sYS4wh2qylQClJR/uJ3GWHLCuoKyVzMySO0z8Pw3f3V+cP2Lg+Se7+2KAF64Rx1BitmU4TWnZexErmXlZiKnLwbl8W7fYNhAHDMIBFCBR4+dCfZa1q1G9ql6YLRMOkOCu8QnWHs9M7xptNO3klNFSBFeg+YyytLLvFsUghNT1/Eb2QvQWbDfZBWc2AEG7rORLuHcD1hK4EnvsOhGyD7MEIfTk7O2VT/xLeqLoWrGKVt3HYtlNGd8jbIa9N2MRl0FQQjtKvCuAFxGxhHiolTpaSC5rDcHgj1WlUJGziykpBTOZC5JKRH3s4UWMAPwKDaFFjuA+VKpdyKjB6viQZPR6OWObizIZVRzAerGwJEYDUzNhjA0MYkAK7LinudfA/gkjlgndEc1WDl7ewg8/5rX77INUW2/aCl2WBF+5tnUJnfclHYbCmnzldPEPyu5atGApAXSx4J6nfUHHCJssyaldvNjr09IPUl5JY4nWrTqXz76M9odyHDrWveO33cGajgsoDiFx8hrAInJ/x3WAS15H3lJ8OlkcDWxXVyu604LgQtp9ECIeQHy3cXCYMWTtn/vD/HGaEFe1tE4/5bnHW+VWlWTKKRR1kPNfhrU5dIWEkzRSL+5DFRZ0X1bndPqvOLCeK1P939tM="
file_glob: true
file:
- build/muss*.zip*
- build/SHA256SUMS
overwrite: true # Ensure the binaries match the signatures.
skip_cleanup: true
on:
tags: true
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# v0.2 - UNRELEASED

- Enable command to add fixed status line to bottom of "up" output.
- Add start, stop, restart, and rm commands.
- Use existing docker-compose.yml if there are no service defs.
- Improve signal handling.

# v0.1 - 2019-11-04

Initial release
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
BUILD_OS_LIST = darwin linux
BUILD_ARCH_LIST = 386 amd64

.PHONY: build

all: test build

build:
for os in $(BUILD_OS_LIST); do \
for arch in $(BUILD_ARCH_LIST); do \
built=muss zip=muss-$$os-$$arch.zip; \
GOOS=$$os GOARCH=$$arch go build -o build/$$built \
&& (cd build && rm -f $$zip && zip $$zip $$built && rm -f $$built); \
done; \
done; \
(cd build && sha256sum *.zip > SHA256SUMS)

test:
go test -v ./...
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/instructure/muss.svg?branch=master)](https://travis-ci.org/instructure/muss)

# muss

Definition:
Expand Down

0 comments on commit b45f06e

Please sign in to comment.