From 6715b91a6cae408d16d56f3f16347635556af1b5 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 25 Jul 2016 08:10:46 +0200 Subject: [PATCH] build: Remove unused docker-* commands --- build.sh | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) diff --git a/build.sh b/build.sh index 0aeb98f87..4a2d3e82e 100755 --- a/build.sh +++ b/build.sh @@ -131,55 +131,6 @@ case "${1:-default}" in go2xunit -output tests.xml -fail < tests.out ;; - docker-all) - img=${DOCKERIMG:-syncthing/build:latest} - docker run --rm -h syncthing-builder -u $(id -u) -t \ - -v $(pwd):/go/src/github.com/syncthing/syncthing \ - -w /go/src/github.com/syncthing/syncthing \ - -e "STTRACE=$STTRACE" \ - "$img" \ - sh -c './build.sh clean \ - && ./build.sh test-cov \ - && ./build.sh bench \ - && ./build.sh all' - ;; - - docker-test) - img=${DOCKERIMG:-syncthing/build:latest} - docker run --rm -h syncthing-builder -u $(id -u) -t \ - -v $(pwd):/go/src/github.com/syncthing/syncthing \ - -w /go/src/github.com/syncthing/syncthing \ - -e "STTRACE=$STTRACE" \ - "$img" \ - sh -euxc './build.sh clean \ - && go run build.go -race \ - && export GOPATH=$(pwd)/Godeps/_workspace:$GOPATH \ - && cd test \ - && go test -tags integration -v -timeout 90m -short \ - && git clean -fxd .' - ;; - - docker-lint) - img=${DOCKERIMG:-syncthing/build:latest} - docker run --rm -h syncthing-builder -u $(id -u) -t \ - -v $(pwd):/go/src/github.com/syncthing/syncthing \ - -w /go/src/github.com/syncthing/syncthing \ - -e "STTRACE=$STTRACE" \ - "$img" \ - sh -euxc 'go run build.go lint' - ;; - - - docker-vet) - img=${DOCKERIMG:-syncthing/build:latest} - docker run --rm -h syncthing-builder -u $(id -u) -t \ - -v $(pwd):/go/src/github.com/syncthing/syncthing \ - -w /go/src/github.com/syncthing/syncthing \ - -e "STTRACE=$STTRACE" \ - "$img" \ - sh -euxc 'go run build.go vet' - ;; - *) echo "Unknown build command $1" ;;