Skip to content

Commit

Permalink
fix minor bug in supply scraper.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Sep 9, 2024
1 parent aa39d27 commit da46457
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 568 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile-supplyService
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM us.icr.io/dia-registry/devops/build-117:latest as build
FROM us.icr.io/dia-registry/devops/build-119:latest as build

WORKDIR $GOPATH/src/

COPY ./cmd/services/supplyService ./
RUN go mod tidy -go=1.16 && go mod tidy -go=1.17 && go install
RUN go mod tidy -go=1.19 && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go install

FROM gcr.io/distroless/base

Expand Down
35 changes: 18 additions & 17 deletions cmd/services/supplyService/go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
module github.com/diadata-org/diadata/services/supplyService

go 1.17
go 1.19

require (
github.com/diadata-org/diadata v1.4.311
github.com/sirupsen/logrus v1.8.1
github.com/diadata-org/diadata v1.4.525
github.com/sirupsen/logrus v1.9.3
)

require (
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
github.com/btcsuite/btcd v0.21.0-beta // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/btcsuite/btcd v0.22.0-beta // indirect
github.com/deckarep/golang-set v1.7.1 // indirect
github.com/ethereum/go-ethereum v1.10.10 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-ole/go-ole v1.2.4 // indirect
github.com/go-ole/go-ole v1.2.5 // indirect
github.com/go-redis/redis v6.15.9+incompatible // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/google/uuid v1.3.0 // indirect
Expand All @@ -29,24 +28,26 @@ require (
github.com/jackc/pgtype v1.7.0 // indirect
github.com/jackc/pgx/v4 v4.11.0 // indirect
github.com/jackc/puddle v1.1.3 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/machinebox/graphql v0.2.2 // indirect
github.com/matryer/is v1.4.1 // indirect
github.com/mattn/go-runewidth v0.0.10 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rjeczalik/notify v0.9.2 // indirect
github.com/rogpeppe/go-internal v1.8.0 // indirect
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
github.com/shopspring/decimal v1.3.1 // indirect
github.com/tidwall/gjson v1.17.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tkanos/gonfig v0.0.0-20181112185242-896f3d81fadf // indirect
github.com/tklauser/go-sysconf v0.3.5 // indirect
github.com/tklauser/numcpus v0.2.2 // indirect
github.com/tklauser/go-sysconf v0.3.7 // indirect
github.com/tklauser/numcpus v0.2.3 // indirect
github.com/zekroTJA/timedmap v1.4.0 // indirect
golang.org/x/crypto v0.1.0 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/text v0.5.0 // indirect
golang.org/x/crypto v0.18.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

replace (
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
)
replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
Loading

0 comments on commit da46457

Please sign in to comment.