File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ language : go
2+
3+ go :
4+ - 1.8.x
5+
6+ install : make get-deps
7+ script : go test ./...
8+ services :
9+ - mysql
10+
11+ env :
12+ - TEST_MYSQL_CONNECTION="root:@(127.0.0.1:3306)/%dbname%?tx_isolation=SERIALIZABLE&parseTime=true"
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ COPY ./ ${GOPATH}/src/jsonwire-grid
55WORKDIR ${GOPATH}/src/jsonwire-grid
66ENV CONFIG_PATH ./config.json
77
8- RUN go get -u github.com/jteeuwen/go-bindata/...
98RUN make
109
1110CMD ["service-entrypoint" ]
Original file line number Diff line number Diff line change 11export CONFIG_PATH =./config.json
2- all : build
2+ all : get-deps build
33
44.PHONY : help build fmt clean run test coverage check vet lint doc cfpush
55
1919gen :
2020 go-bindata -pkg mysql -o storage/migrations/mysql/bindata.go storage/migrations/mysql
2121
22+ get-deps :
23+ go get -u github.com/jteeuwen/go-bindata/...
24+
2225prepare : fmt gen
2326
2427run : build
25- ${GOPATH} /bin/service-entrypoint
28+ ${GOPATH} /bin/service-entrypoint
You can’t perform that action at this time.
0 commit comments