-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from benweissmann/bsw/mongodb-go-driver
Upgrade to the latest MongoDB go driver and the latest version of Go
- Loading branch information
Showing
71 changed files
with
1,969 additions
and
1,363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
golang 1.17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
FROM golang:1.12.9-alpine3.9 | ||
FROM golang:1.17.0-alpine3.14 | ||
|
||
ADD scripts/wait-for.sh /wait-for.sh | ||
|
||
RUN apk --update --no-cache add git openssh mongodb gcc cyrus-sasl cyrus-sasl-dev musl-dev && \ | ||
RUN apk --update --no-cache add git openssh gcc cyrus-sasl cyrus-sasl-dev musl-dev && \ | ||
mkdir -p /oplogtoredis && \ | ||
go get github.com/pilu/fresh | ||
|
||
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.6/main' >> /etc/apk/repositories | ||
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.6/community' >> /etc/apk/repositories | ||
RUN apk update | ||
RUN apk add mongodb=3.4.4-r0 | ||
|
||
WORKDIR /oplogtoredis | ||
|
||
CMD fresh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,58 @@ | ||
module github.com/tulip/oplogtoredis | ||
module github.com/vlasky/oplogtoredis | ||
|
||
go 1.12 | ||
go 1.17 | ||
|
||
require ( | ||
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6 // indirect | ||
github.com/alicebob/miniredis v0.0.0-20180509110325-c8ba25935377 | ||
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/alicebob/miniredis v2.5.0+incompatible | ||
github.com/deckarep/golang-set v1.7.1 | ||
github.com/globalsign/mgo v0.0.0-20180424091348-efe0945164a7 | ||
github.com/go-redis/redis v6.10.0+incompatible | ||
github.com/go-redis/redis/v7 v7.2.0 | ||
github.com/go-redis/redis/v7 v7.4.1 | ||
github.com/gorilla/websocket v1.4.2 | ||
github.com/juju/mgo/v2 v2.0.0-20210302023703-70d5d206e208 | ||
github.com/juju/replicaset v0.0.0-20210302050932-0303c8575745 | ||
github.com/kelseyhightower/envconfig v1.4.0 | ||
github.com/kvz/logstreamer v0.0.0-20201023134116-02d20f4338f5 | ||
github.com/kylelemons/godebug v1.1.0 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/prometheus/client_golang v1.11.0 | ||
github.com/prometheus/client_model v0.2.0 | ||
github.com/prometheus/common v0.30.0 | ||
github.com/stretchr/testify v1.7.0 | ||
go.mongodb.org/mongo-driver v1.7.2 | ||
go.uber.org/zap v1.19.0 | ||
golang.org/x/tools v0.1.5 | ||
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 | ||
) | ||
|
||
require ( | ||
github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.1 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-stack/stack v1.8.0 // indirect | ||
github.com/golang/protobuf v1.4.3 // indirect | ||
github.com/golang/snappy v0.0.1 // indirect | ||
github.com/gomodule/redigo v2.0.0+incompatible // indirect | ||
github.com/google/go-cmp v0.3.1 // indirect | ||
github.com/gorilla/websocket v1.2.0 | ||
github.com/gomodule/redigo v1.8.5 // indirect | ||
github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c // indirect | ||
github.com/juju/errors v0.0.0-20170703010042-c7d06af17c68 // indirect | ||
github.com/juju/loggo v0.0.0-20180327035014-7f1609ff1f3f // indirect | ||
github.com/juju/replicaset v0.0.0-20180417123543-860376792248 | ||
github.com/juju/retry v0.0.0-20180821225755-9058e192b216 // indirect | ||
github.com/juju/testing v0.0.0-20190723135506-ce30eb24acd2 // indirect | ||
github.com/juju/utils v0.0.0-20180424094159-2000ea4ff043 // indirect | ||
github.com/juju/version v0.0.0-20180108022336-b64dbd566305 // indirect | ||
github.com/kelseyhightower/envconfig v1.3.0 | ||
github.com/kvz/logstreamer v0.0.0-20150507115422-a635b98146f0 | ||
github.com/kylelemons/godebug v1.1.0 | ||
github.com/matttproud/golang_protobuf_extensions v1.0.0 // indirect | ||
github.com/pkg/errors v0.8.1 | ||
github.com/prometheus/client_golang v0.0.0-20180519192340-c51dc758d4bb | ||
github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5 | ||
github.com/prometheus/common v0.0.0-20180518154759-7600349dcfe1 | ||
github.com/prometheus/procfs v0.0.0-20180408092902-8b1c2da0d56d // indirect | ||
github.com/stretchr/testify v1.4.0 | ||
github.com/tidwall/pretty v1.0.0 // indirect | ||
github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c // indirect | ||
github.com/xdg/stringprep v1.0.0 // indirect | ||
github.com/yuin/gopher-lua v0.0.0-20180416135241-b0fa786cf4ea // indirect | ||
go.mongodb.org/mongo-driver v1.1.1 | ||
go.uber.org/atomic v1.3.1 // indirect | ||
go.uber.org/multierr v1.1.0 // indirect | ||
go.uber.org/zap v1.7.1 | ||
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect | ||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e | ||
gopkg.in/mgo.v2 v2.0.0-20160818020120-3f83fa500528 | ||
github.com/juju/errors v0.0.0-20200330140219-3fe23663418f // indirect | ||
github.com/juju/loggo v0.0.0-20200526014432-9ce3a2e09b5e // indirect | ||
github.com/juju/utils/v2 v2.0.0-20200923005554-4646bfea2ef1 // indirect | ||
github.com/klauspost/compress v1.9.5 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/prometheus/procfs v0.6.0 // indirect | ||
github.com/xdg-go/pbkdf2 v1.0.0 // indirect | ||
github.com/xdg-go/scram v1.0.2 // indirect | ||
github.com/xdg-go/stringprep v1.0.2 // indirect | ||
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect | ||
github.com/yuin/gopher-lua v0.0.0-20210529063254-f4c35e4016d9 // indirect | ||
go.uber.org/atomic v1.7.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect | ||
golang.org/x/net v0.0.0-20210525063256-abc453219eb5 // indirect | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect | ||
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect | ||
golang.org/x/text v0.3.6 // indirect | ||
google.golang.org/protobuf v1.26.0-rc.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
) |
Oops, something went wrong.