Skip to content

Commit

Permalink
Bring Over Spadev0 Integration - Deployment #34 Changes (#5)
Browse files Browse the repository at this point in the history
* build: add build steps & env file

* build: add build steps & env file

---------

Co-authored-by: Jason Cihelka <[email protected]>
  • Loading branch information
stephen-pl and Jason Cihelka committed Oct 20, 2023
1 parent b290d24 commit d6f3f44
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 11 deletions.
11 changes: 11 additions & 0 deletions .env.spadev0
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
LOTUS_API_URL=https://api.node.glif.io/rpc/v1
LOTUS_API_TOKEN=
QUEUE_MONGO_URI=mongodb+srv://user:pass@host/?retryWrites=true&w=majority
QUEUE_MONGO_DATABASE=test
RESULT_MONGO_URI=mongodb+srv://user:pass@host/?retryWrites=true&w=majority
RESULT_MONGO_DATABASE=test
PROVIDER_CACHE_TTL=24h
LOCATION_CACHE_TTL=720h
IPINFO_TOKEN=<get_from_ipinfo_free_tier>
GOLOG_LOG_FMT=json
GOLOG_LOG_LEVEL=info
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN go build -o build/bitswap_worker ./worker/bitswap/cmd
RUN go build -o build/oneoff_integration ./integration/oneoff
RUN go build -o build/statemarketdeals ./integration/statemarketdeals
RUN go build -o build/filplus_integration ./integration/filplus
RUN go build -o build/spadev0 ./integration/spadev0
RUN go build -o build/repdao ./integration/repdao
RUN go build -o build/repdao_dp ./integration/repdao_dp
RUN go build -o build/spcoverage ./integration/spcoverage
Expand Down
23 changes: 12 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
build:
go build -o retrieval_worker ./pkg/cmd/retrieval_worker
go build -o stub_worker ./worker/stub/cmd
go build -o graphsync_worker ./worker/graphsync/cmd
go build -o http_worker ./worker/http/cmd
go build -o bitswap_worker ./worker/bitswap/cmd
go build -o oneoff_integration ./integration/oneoff
go build -o statemarketdeals ./integration/statemarketdeals
go build -o filplus_integration ./integration/filplus
go build -o repdao ./integration/repdao
go build -o repdao_dp ./integration/repdao_dp
go build -o spcoverage ./integration/spcoverage
go1.20.1 build -o retrieval_worker ./pkg/cmd/retrieval_worker
go1.20.1 build -o stub_worker ./worker/stub/cmd
go1.20.1 build -o graphsync_worker ./worker/graphsync/cmd
go1.20.1 build -o http_worker ./worker/http/cmd
go1.20.1 build -o bitswap_worker ./worker/bitswap/cmd
go1.20.1 build -o oneoff_integration ./integration/oneoff
go1.20.1 build -o statemarketdeals ./integration/statemarketdeals
go1.20.1 build -o filplus_integration ./integration/filplus
go1.20.1 build -o repdao ./integration/repdao
go1.20.1 build -o spadev0 ./integration/spadev0
go1.20.1 build -o repdao_dp ./integration/repdao_dp
go1.20.1 build -o spcoverage ./integration/spcoverage

lint:
gofmt -s -w .
Expand Down
1 change: 1 addition & 0 deletions aws.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN go build -o build/bitswap_worker ./worker/bitswap/cmd
RUN go build -o build/oneoff_integration ./integration/oneoff
RUN go build -o build/statemarketdeals ./integration/statemarketdeals
RUN go build -o build/filplus_integration ./integration/filplus
RUN go build -o build/spadev0 ./integration/spadev0
RUN go build -o build/repdao ./integration/repdao
RUN go build -o build/repdao_dp ./integration/repdao_dp
RUN go build -o build/spcoverage ./integration/spcoverage
Expand Down
Binary file added spadev0
Binary file not shown.

0 comments on commit d6f3f44

Please sign in to comment.