diff --git a/.gitignore b/.gitignore index 781ba00..a464e20 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/build/ /docker-compose.yml /testdata/docker-compose.yml muss.user.yaml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ebe26f1 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b568f73 --- /dev/null +++ b/CHANGELOG.md @@ -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 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5211dc7 --- /dev/null +++ b/Makefile @@ -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 ./... diff --git a/README.md b/README.md index 0bf3749..59d66a8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/instructure/muss.svg?branch=master)](https://travis-ci.org/instructure/muss) + # muss Definition: