Skip to content

Commit fbe024b

Browse files
Update module github.com/onsi/ginkgo to v2
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
1 parent 0872463 commit fbe024b

File tree

13 files changed

+72
-112
lines changed

13 files changed

+72
-112
lines changed

go.mod

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ require (
99
github.com/go-chi/httprate v0.15.0
1010
github.com/google/uuid v1.6.0
1111
github.com/hashicorp/golang-lru/v2 v2.0.7
12-
github.com/onsi/ginkgo v1.16.5
13-
github.com/onsi/gomega v1.37.0
12+
github.com/onsi/ginkgo/v2 v2.27.2
13+
github.com/onsi/gomega v1.38.2
1414
github.com/prometheus/client_golang v1.21.1
1515
github.com/redhatinsights/app-common-go v1.6.8
1616
github.com/redhatinsights/platform-go-middlewares/v2 v2.0.0-beta.2
@@ -21,11 +21,15 @@ require (
2121
)
2222

2323
require (
24+
github.com/Masterminds/semver/v3 v3.4.0 // indirect
2425
github.com/beorn7/perks v1.0.1 // indirect
2526
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2627
github.com/fsnotify/fsnotify v1.9.0 // indirect
28+
github.com/go-logr/logr v1.4.3 // indirect
29+
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
2730
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
2831
github.com/google/go-cmp v0.7.0 // indirect
32+
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
2933
github.com/jackc/pgpassfile v1.0.0 // indirect
3034
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
3135
github.com/jackc/pgx/v5 v5.7.4 // indirect
@@ -37,7 +41,6 @@ require (
3741
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
3842
github.com/magiconair/properties v1.8.10 // indirect
3943
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
40-
github.com/nxadm/tail v1.4.11 // indirect
4144
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
4245
github.com/prometheus/client_model v0.6.2 // indirect
4346
github.com/prometheus/common v0.66.1 // indirect
@@ -51,13 +54,15 @@ require (
5154
github.com/zeebo/xxh3 v1.0.2 // indirect
5255
go.uber.org/multierr v1.11.0 // indirect
5356
go.yaml.in/yaml/v2 v2.4.2 // indirect
54-
golang.org/x/crypto v0.41.0 // indirect
57+
go.yaml.in/yaml/v3 v3.0.4 // indirect
58+
golang.org/x/crypto v0.43.0 // indirect
5559
golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b // indirect
56-
golang.org/x/net v0.43.0 // indirect
60+
golang.org/x/mod v0.29.0 // indirect
61+
golang.org/x/net v0.46.0 // indirect
5762
golang.org/x/sync v0.17.0 // indirect
58-
golang.org/x/sys v0.35.0 // indirect
59-
golang.org/x/text v0.28.0 // indirect
63+
golang.org/x/sys v0.37.0 // indirect
64+
golang.org/x/text v0.30.0 // indirect
65+
golang.org/x/tools v0.38.0 // indirect
6066
google.golang.org/protobuf v1.36.8 // indirect
61-
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
6267
gopkg.in/yaml.v3 v3.0.1 // indirect
6368
)

go.sum

Lines changed: 48 additions & 93 deletions
Large diffs are not rendered by default.

internal/endpoints/endpoints_db_test/endpoints_db_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package endpoints_db_test
33
import (
44
"testing"
55

6-
. "github.com/onsi/ginkgo"
6+
. "github.com/onsi/ginkgo/v2"
77
. "github.com/onsi/gomega"
88
l "github.com/redhatinsights/payload-tracker-go/internal/logging"
99
)

internal/endpoints/endpoints_db_test/payloads_db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/go-chi/chi/v5"
1313
"github.com/google/uuid"
14-
. "github.com/onsi/ginkgo"
14+
. "github.com/onsi/ginkgo/v2"
1515
. "github.com/onsi/gomega"
1616

1717
"github.com/redhatinsights/payload-tracker-go/internal/endpoints"

internal/endpoints/endpoints_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package endpoints_test
33
import (
44
"testing"
55

6-
. "github.com/onsi/ginkgo"
6+
. "github.com/onsi/ginkgo/v2"
77
. "github.com/onsi/gomega"
88
l "github.com/redhatinsights/payload-tracker-go/internal/logging"
99
)

internal/endpoints/payloads_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/go-chi/chi/v5"
1313
"github.com/google/uuid"
14-
. "github.com/onsi/ginkgo"
14+
. "github.com/onsi/ginkgo/v2"
1515
. "github.com/onsi/gomega"
1616
"gorm.io/gorm"
1717

internal/endpoints/roles_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net/http"
55
"net/http/httptest"
66

7-
. "github.com/onsi/ginkgo"
7+
. "github.com/onsi/ginkgo/v2"
88
. "github.com/onsi/gomega"
99

1010
"github.com/redhatinsights/payload-tracker-go/internal/endpoints"

internal/endpoints/statuses_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"net/http/httptest"
88

9-
. "github.com/onsi/ginkgo"
9+
. "github.com/onsi/ginkgo/v2"
1010
. "github.com/onsi/gomega"
1111
"gorm.io/gorm"
1212

internal/kafka/handler_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package kafka
33
import (
44
"testing"
55

6-
. "github.com/onsi/ginkgo"
6+
. "github.com/onsi/ginkgo/v2"
77
. "github.com/onsi/gomega"
88
l "github.com/redhatinsights/payload-tracker-go/internal/logging"
99
)

internal/kafka/handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
k "github.com/confluentinc/confluent-kafka-go/v2/kafka"
99
"github.com/google/uuid"
10-
. "github.com/onsi/ginkgo"
10+
. "github.com/onsi/ginkgo/v2"
1111
. "github.com/onsi/gomega"
1212

1313
"github.com/redhatinsights/payload-tracker-go/internal/config"

0 commit comments

Comments
 (0)