-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish releases to github via travis
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
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters