Skip to content

Commit 7b81aa9

Browse files
author
Jeff McCormick
committed
fix Makefile and build doc
1 parent 6866aa2 commit 7b81aa9

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif
1414
macpgo: check-go-vars
1515
cd pgo && env GOOS=darwin GOARCH=amd64 go build pgo.go && mv pgo $(GOBIN)/pgo-mac
1616
setup:
17-
godep restore && ./bin/get-deps.sh
17+
./bin/get-deps.sh
1818
deployoperator:
1919
cd deploy && ./deploy.sh
2020
main: check-go-vars
@@ -33,7 +33,6 @@ runpgo: check-go-vars
3333
pgo --kubeconfig=/etc/kubernetes/admin.conf
3434
clean: check-go-vars
3535
rm -rf $(GOPATH)/pkg/* $(GOBIN)/postgres-operator $(GOBIN)/apiserver $(GOBIN)/*pgo
36-
godep restore
3736
operatorimage: check-go-vars
3837
go install postgres-operator.go
3938
cp $(GOBIN)/postgres-operator bin/postgres-operator/

bin/get-deps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ git checkout release-1.7
3434
#go get github.com/evanphx/json-patch
3535
#go get github.com/gorilla/websocket
3636
#go get github.com/gorilla/mux
37-
#go get github.com/spf13/cobra
38-
#go get github.com/spf13/viper
37+
go get github.com/spf13/cobra
38+
go get github.com/spf13/viper
3939

4040
cd $GOPATH/src/github.com/spf13/cobra
4141
git checkout a3cd8ab85aeba3522b9b59242f3b86ddbc67f8bd

docs/build.asciidoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,7 @@ make setup
182182
==== Compiling the PostgreSQL Operator
183183
....
184184
cd $COROOT
185-
make pgo
186-
make operatorimage
187-
make lsimage
188-
make csvimage
185+
make all
189186
which pgo
190187
....
191188

0 commit comments

Comments
 (0)