Skip to content

Commit

Permalink
Using glide for orders anthill
Browse files Browse the repository at this point in the history
So we get correct version of metamorphosis and library dependencies.
  • Loading branch information
Maxim Khailo committed May 1, 2017
1 parent 19a36a2 commit f7e9af6
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 6 deletions.
5 changes: 3 additions & 2 deletions intelligence/consumers/orders-anthill/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ prepare:
rm $(BUILD_ROOT_PATH) || true
mkdir -p $(GOPATH)/src/github.com/FoxComm
ln -s $(HIGHLANDER_PATH) $(BUILD_ROOT_PATH) || true
go get github.com/FoxComm/metamorphosis
cd $(BUILD_PATH) && glide install
rm -rf $(BUILD_PATH)/vendor/github.com/FoxComm/highlander

build: prepare
$(call header, Building)
GOOS=linux CGO_ENABLED=0 go build -o orders-anthill ./*.go
cd $(BUILD_PATH) && GOOS=linux CGO_ENABLED=0 go build -o orders-anthill ./*.go

test:
$(call header, Testing)
Expand Down
43 changes: 43 additions & 0 deletions intelligence/consumers/orders-anthill/glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions intelligence/consumers/orders-anthill/glide.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package: github.com/FoxComm/highlander/intelligence/consumers/orders-anthill
ignore:
- github.com/FoxComm/highlander
import:
- package: github.com/FoxComm/metamorphosis
vcs: git
version: 20936e0ceb33443962d90cdf24bc6892a73e438b
- package: github.com/elodina/go-avro
version: 0c8185d9a3ba82aeac98db3313a268a5b6df99b5
- package: github.com/elodina/go-kafka-avro
vcs: git
version: 0c29ad915b6b7dc6cf416005fdae3d1c6b5d9672
repo: [email protected]:FoxComm/go-kafka-avro.git
- package: github.com/elodina/go_kafka_client
version: 95d107b0c102fa81b8c1e5e556adc23352fad065
- package: github.com/elodina/siesta
version: fea3d8822e875ffef3895e68f5c2f172e0dd4300
- package: github.com/elodina/siesta-producer
version: a374fc36c515243efb438aed41c536af55d8b19b
6 changes: 3 additions & 3 deletions intelligence/consumers/orders-sphex/glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion intelligence/consumers/orders-sphex/glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ignore:
import:
- package: github.com/FoxComm/metamorphosis
vcs: git
version: f357818171523aa95aafb58ca8cf419cb4f0e291
version: 20936e0ceb33443962d90cdf24bc6892a73e438b
- package: github.com/elodina/go-avro
version: 0c8185d9a3ba82aeac98db3313a268a5b6df99b5
- package: github.com/elodina/go-kafka-avro
Expand Down

0 comments on commit f7e9af6

Please sign in to comment.