1313# ======= Main functions =======
1414macpgo : check-go-vars
1515 cd pgo && env GOOS=darwin GOARCH=amd64 go build pgo.go && mv pgo $(GOBIN ) /pgo-mac
16+
17+ gendeps :
18+ godep save \
19+ github.com/crunchydata/postgres-operator/apis/cr/v1 \
20+ github.com/crunchydata/postgres-operator/util \
21+ github.com/crunchydata/postgres-operator/operator \
22+ github.com/crunchydata/postgres-operator/operator/backup \
23+ github.com/crunchydata/postgres-operator/operator/cluster \
24+ github.com/crunchydata/postgres-operator/operator/pvc \
25+ github.com/crunchydata/postgres-operator/controller \
26+ github.com/crunchydata/postgres-operator/client \
27+ github.com/crunchydata/postgres-operator/pgo/cmd \
28+ github.com/crunchydata/postgres-operator/apiservermsgs \
29+ github.com/crunchydata/postgres-operator/apiserver \
30+ github.com/crunchydata/postgres-operator/apiserver/backupservice \
31+ github.com/crunchydata/postgres-operator/apiserver/cloneservice \
32+ github.com/crunchydata/postgres-operator/apiserver/clusterservice \
33+ github.com/crunchydata/postgres-operator/apiserver/labelservice \
34+ github.com/crunchydata/postgres-operator/apiserver/loadservice \
35+ github.com/crunchydata/postgres-operator/apiserver/policyservice \
36+ github.com/crunchydata/postgres-operator/apiserver/pvcservice \
37+ github.com/crunchydata/postgres-operator/apiserver/upgradeservice \
38+ github.com/crunchydata/postgres-operator/apiserver/userservice \
39+ github.com/crunchydata/postgres-operator/apiserver/util \
40+ github.com/crunchydata/postgres-operator/apiserver/versionservice
1641setup :
1742 ./bin/get-deps.sh
1843deployoperator :
@@ -34,6 +59,8 @@ apiserverimage: check-go-vars
3459 cp $(GOBIN ) /apiserver bin/
3560 docker build -t apiserver -f $(CO_BASEOS ) /Dockerfile.apiserver.$(CO_BASEOS ) .
3661 docker tag apiserver crunchydata/apiserver:$(CO_BASEOS ) -$(CO_VERSION )
62+ postgres-operator : check-go-vars
63+ go install postgres-operator.go
3764operatorimage : check-go-vars
3865 go install postgres-operator.go
3966 cp $(GOBIN ) /postgres-operator bin/postgres-operator/
0 commit comments