File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ main() {
61
61
62
62
mkdir -p ${buildpath}
63
63
rm -rf ${buildpath:? } /*
64
- build macOS osx darwin amd64
65
64
build GNU/Linux linux linux amd64
65
+ # build macOS osx darwin amd64
66
66
67
67
echo " Binaries found in:"
68
- ls -1 $buildpath /gh-ost-binary * ${timestamp} .tar.gz
68
+ find $buildpath /gh-ost* -type f -maxdepth 1
69
69
}
70
70
71
71
main " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Usage:
4
- # dock <test|alpine| packages> [arg]
4
+ # dock <test|packages> [arg]
5
5
# dock test: build gh-ost & run unit and integration tests
6
- # docker alpine: build and run gh-ost on alpine linux
7
6
# docker pkg [target-path]: build gh-ost release packages and copy to target path (default path: /tmp/gh-ost-release)
8
7
9
8
command=" $1 "
@@ -13,10 +12,6 @@ case "$command" in
13
12
docker_target=" gh-ost-test"
14
13
docker build . -f Dockerfile.test -t " ${docker_target} " && docker run --rm -it " ${docker_target} :latest"
15
14
;;
16
- " alpine" )
17
- docker_target=" gh-ost-alpine"
18
- docker build . -f Dockerfile -t " ${docker_target} " && docker run --rm -it -p 3000:3000 " ${docker_target} :latest"
19
- ;;
20
15
" pkg" )
21
16
packages_path=" ${2:-/ tmp/ gh-ost-release} "
22
17
docker_target=" gh-ost-packaging"
You can’t perform that action at this time.
0 commit comments