diff --git a/build.sh b/build.sh index b7f3a54..46db9c2 100755 --- a/build.sh +++ b/build.sh @@ -61,11 +61,11 @@ main() { mkdir -p ${buildpath} rm -rf ${buildpath:?}/* - build macOS osx darwin amd64 build GNU/Linux linux linux amd64 + # build macOS osx darwin amd64 echo "Binaries found in:" - ls -1 $buildpath/gh-ost-binary*${timestamp}.tar.gz + find $buildpath/gh-ost* -type f -maxdepth 1 } main "$@" diff --git a/script/dock b/script/dock index d17ae5d..486061d 100755 --- a/script/dock +++ b/script/dock @@ -1,9 +1,8 @@ #!/bin/bash # Usage: -# dock [arg] +# dock [arg] # dock test: build gh-ost & run unit and integration tests -# docker alpine: build and run gh-ost on alpine linux # docker pkg [target-path]: build gh-ost release packages and copy to target path (default path: /tmp/gh-ost-release) command="$1" @@ -13,10 +12,6 @@ case "$command" in docker_target="gh-ost-test" docker build . -f Dockerfile.test -t "${docker_target}" && docker run --rm -it "${docker_target}:latest" ;; - "alpine") - docker_target="gh-ost-alpine" - docker build . -f Dockerfile -t "${docker_target}" && docker run --rm -it -p 3000:3000 "${docker_target}:latest" - ;; "pkg") packages_path="${2:-/tmp/gh-ost-release}" docker_target="gh-ost-packaging"