Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bebf44
commit 6b408ad
Showing
12 changed files
with
821 additions
and
472 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,35 @@ | ||
name: Tests | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- dev | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
- dev | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.20' | ||
|
||
- name: Build | ||
run: go build -v ./... | ||
|
||
- name: Test | ||
timeout-minutes: 240 | ||
uses: nick-fields/retry@v2 | ||
with: | ||
max_attempts: 3 | ||
retry_on: error | ||
timeout_minutes: 240 | ||
command: go test -short -v -timeout 99999s ./... |
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,4 +1,4 @@ | ||
FROM golang:1.18 AS builder | ||
FROM golang:1.20 AS builder | ||
|
||
COPY . /go/src/app | ||
WORKDIR /go/src/app | ||
|
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,56 +1,44 @@ | ||
module github.com/SENERGY-Platform/connection-log-worker | ||
|
||
go 1.18 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/influxdata/influxdb v1.5.2 | ||
github.com/ory/dockertest/v3 v3.7.0 | ||
github.com/satori/go.uuid v1.2.0 | ||
github.com/segmentio/kafka-go v0.4.15 | ||
github.com/google/uuid v1.3.0 | ||
github.com/influxdata/influxdb v1.11.0 | ||
github.com/segmentio/kafka-go v0.4.39 | ||
github.com/testcontainers/testcontainers-go v0.19.0 | ||
github.com/wvanbergen/kazoo-go v0.0.0-20180202103751-f72d8611297a | ||
go.mongodb.org/mongo-driver v1.7.0 | ||
gopkg.in/mgo.v2 v2.0.0-20160818020120-3f83fa500528 | ||
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 | ||
) | ||
|
||
require ( | ||
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect | ||
github.com/Microsoft/go-winio v0.4.14 // indirect | ||
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect | ||
github.com/cenkalti/backoff/v4 v4.1.0 // indirect | ||
github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6 // indirect | ||
github.com/docker/cli v20.10.7+incompatible // indirect | ||
github.com/docker/docker v20.10.7+incompatible // indirect | ||
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect | ||
github.com/Microsoft/go-winio v0.5.2 // indirect | ||
github.com/cenkalti/backoff/v4 v4.2.0 // indirect | ||
github.com/containerd/containerd v1.6.19 // indirect | ||
github.com/cpuguy83/dockercfg v0.3.1 // indirect | ||
github.com/docker/distribution v2.8.1+incompatible // indirect | ||
github.com/docker/docker v23.0.1+incompatible // indirect | ||
github.com/docker/go-connections v0.4.0 // indirect | ||
github.com/docker/go-units v0.4.0 // indirect | ||
github.com/go-stack/stack v1.8.0 // indirect | ||
github.com/docker/go-units v0.5.0 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/snappy v0.0.1 // indirect | ||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/klauspost/compress v1.9.8 // indirect | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect | ||
github.com/lib/pq v1.2.0 // indirect | ||
github.com/mitchellh/mapstructure v1.4.1 // indirect | ||
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 // indirect | ||
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect | ||
github.com/opencontainers/image-spec v1.0.1 // indirect | ||
github.com/opencontainers/runc v1.0.0-rc9 // indirect | ||
github.com/pierrec/lz4 v2.6.0+incompatible // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/klauspost/compress v1.16.5 // indirect | ||
github.com/magiconair/properties v1.8.7 // indirect | ||
github.com/moby/patternmatcher v0.5.0 // indirect | ||
github.com/moby/sys/sequential v0.5.0 // indirect | ||
github.com/moby/term v0.0.0-20221128092401-c43b287e0e0f // indirect | ||
github.com/morikuni/aec v1.0.0 // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect | ||
github.com/opencontainers/runc v1.1.3 // indirect | ||
github.com/pierrec/lz4/v4 v4.1.17 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da // indirect | ||
github.com/sirupsen/logrus v1.4.2 // 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/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect | ||
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect | ||
github.com/xeipuuv/gojsonschema v1.2.0 // indirect | ||
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect | ||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect | ||
golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect | ||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 // indirect | ||
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f // indirect | ||
golang.org/x/text v0.3.5 // indirect | ||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect | ||
gopkg.in/yaml.v2 v2.3.0 // indirect | ||
github.com/sirupsen/logrus v1.9.0 // indirect | ||
golang.org/x/net v0.7.0 // indirect | ||
golang.org/x/sys v0.6.0 // indirect | ||
google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad // indirect | ||
google.golang.org/grpc v1.47.0 // indirect | ||
google.golang.org/protobuf v1.28.1 // indirect | ||
) |
Oops, something went wrong.