-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OCPCLOUD-1706] Migrate test utils from CPMSO repository #265
Merged
Merged
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7180487
Migrate test utils from CPMSO repository
RadekManak d4cd1b2
Convert testutils into module
RadekManak a167c3d
Make tooling for testutils independent
RadekManak 34fe637
Rename StatusCondition to Condition
RadekManak 4b534b5
Remove unused setup-envtest
RadekManak ebafd47
Remove fmt and goimports target
RadekManak 02f6689
Remove unused container setup from testutils Makefile
RadekManak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/bin/ | ||
.idea | ||
.cache | ||
|
||
_out/ |
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 |
---|---|---|
|
@@ -5,18 +5,19 @@ go 1.19 | |
require ( | ||
github.com/golangci/golangci-lint v1.50.1 | ||
github.com/google/uuid v1.3.0 | ||
github.com/onsi/ginkgo/v2 v2.5.0 | ||
github.com/onsi/gomega v1.24.1 | ||
github.com/openshift/api v0.0.0-20220930192943-199dc0598fd1 | ||
github.com/onsi/ginkgo/v2 v2.7.0 | ||
github.com/onsi/gomega v1.26.0 | ||
github.com/openshift/api v0.0.0-20221004120407-c46852673d03 | ||
github.com/openshift/cluster-autoscaler-operator v0.0.1-0.20220930224803-cdc49524de94 | ||
github.com/openshift/library-go v0.0.0-20220930165906-a18683c20aee | ||
github.com/openshift/machine-api-operator v0.2.1-0.20220922080915-f7f326323f37 | ||
k8s.io/api v0.25.1 | ||
k8s.io/apimachinery v0.25.1 | ||
k8s.io/client-go v12.0.0+incompatible | ||
k8s.io/client-go v0.25.1 | ||
RadekManak marked this conversation as resolved.
Show resolved
Hide resolved
|
||
k8s.io/klog v1.0.0 | ||
k8s.io/utils v0.0.0-20220823124924-e9cbc92d1a73 | ||
sigs.k8s.io/controller-runtime v0.13.0 | ||
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20221222054525-3c4deba74e5c | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this correct? I didn't think setup-entest was needed at this level anymore? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Forgot to remove this. Thanks |
||
) | ||
|
||
require ( | ||
|
@@ -66,6 +67,7 @@ require ( | |
github.com/go-critic/go-critic v0.6.5 // indirect | ||
github.com/go-errors/errors v1.0.1 // indirect | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/go-logr/zapr v1.2.3 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.5 // indirect | ||
github.com/go-openapi/jsonreference v0.19.5 // indirect | ||
github.com/go-openapi/swag v0.19.14 // indirect | ||
|
@@ -77,7 +79,7 @@ require ( | |
github.com/go-toolsmith/astp v1.0.0 // indirect | ||
github.com/go-toolsmith/strparse v1.0.0 // indirect | ||
github.com/go-toolsmith/typep v1.0.2 // indirect | ||
github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b // indirect | ||
github.com/go-xmlfmt/xmlfmt v0.0.0-20220206211657-0a94163c4677 // indirect | ||
github.com/gobwas/glob v0.2.3 // indirect | ||
github.com/gofrs/flock v0.8.1 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
|
@@ -96,15 +98,15 @@ require ( | |
github.com/google/gnostic v0.5.7-v3refs // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 // indirect | ||
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect | ||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect | ||
github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8 // indirect | ||
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect | ||
github.com/gostaticanalysis/comment v1.4.2 // indirect | ||
github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect | ||
github.com/gostaticanalysis/nilerr v0.1.1 // indirect | ||
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect | ||
github.com/hashicorp/errwrap v1.0.0 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/go-version v1.6.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
|
@@ -135,7 +137,7 @@ require ( | |
github.com/matoous/godox v0.0.0-20210227103229-6504466cf951 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.16 // indirect | ||
github.com/mattn/go-runewidth v0.0.9 // indirect | ||
github.com/mattn/go-runewidth v0.0.13 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect | ||
github.com/mbilski/exhaustivestruct v1.2.0 // indirect | ||
github.com/mgechev/revive v1.2.4 // indirect | ||
|
@@ -154,7 +156,7 @@ require ( | |
github.com/nishanths/exhaustive v0.8.3 // indirect | ||
github.com/nishanths/predeclared v0.2.2 // indirect | ||
github.com/olekukonko/tablewriter v0.0.5 // indirect | ||
github.com/openshift/client-go v0.0.0-20220915152853-9dfefb19db2e // indirect | ||
github.com/openshift/client-go v0.0.0-20221006134153-58ea193f9d20 // indirect | ||
github.com/pelletier/go-toml v1.9.5 // indirect | ||
github.com/pelletier/go-toml/v2 v2.0.5 // indirect | ||
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect | ||
|
@@ -164,16 +166,17 @@ require ( | |
github.com/polyfloyd/go-errorlint v1.0.5 // indirect | ||
github.com/prometheus/client_golang v1.12.2 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.32.1 // indirect | ||
github.com/prometheus/common v0.37.0 // indirect | ||
github.com/prometheus/procfs v0.7.3 // indirect | ||
github.com/quasilyte/go-ruleguard v0.3.18 // indirect | ||
github.com/quasilyte/gogrep v0.0.0-20220828223005-86e4605de09f // indirect | ||
github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95 // indirect | ||
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect | ||
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect | ||
github.com/rivo/uniseg v0.2.0 // indirect | ||
github.com/russross/blackfriday v1.5.2 // indirect | ||
github.com/ryancurrah/gomodguard v1.2.4 // indirect | ||
github.com/ryanrolds/sqlclosecheck v0.3.0 // indirect | ||
github.com/sanposhiho/wastedassign/v2 v2.0.6 // indirect | ||
github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect | ||
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect | ||
github.com/sashamelentyev/usestdlibvars v1.20.0 // indirect | ||
github.com/securego/gosec/v2 v2.13.1 // indirect | ||
|
@@ -184,7 +187,7 @@ require ( | |
github.com/sivchari/tenv v1.7.0 // indirect | ||
github.com/sonatard/noctx v0.0.1 // indirect | ||
github.com/sourcegraph/go-diff v0.6.1 // indirect | ||
github.com/spf13/afero v1.8.2 // indirect | ||
github.com/spf13/afero v1.9.2 // indirect | ||
github.com/spf13/cast v1.5.0 // indirect | ||
github.com/spf13/cobra v1.6.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
|
@@ -209,20 +212,20 @@ require ( | |
github.com/yeya24/promlinter v0.2.0 // indirect | ||
gitlab.com/bosi/decorder v0.2.3 // indirect | ||
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect | ||
go.uber.org/atomic v1.8.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
go.uber.org/atomic v1.9.0 // indirect | ||
go.uber.org/multierr v1.8.0 // indirect | ||
go.uber.org/zap v1.21.0 // indirect | ||
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect | ||
golang.org/x/exp/typeparams v0.0.0-20220827204233-334a2380cb91 // indirect | ||
golang.org/x/mod v0.6.0 // indirect | ||
golang.org/x/net v0.2.0 // indirect | ||
golang.org/x/mod v0.7.0 // indirect | ||
golang.org/x/net v0.5.0 // indirect | ||
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect | ||
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde // indirect | ||
golang.org/x/sys v0.2.0 // indirect | ||
golang.org/x/term v0.2.0 // indirect | ||
golang.org/x/text v0.4.0 // indirect | ||
golang.org/x/sync v0.1.0 // indirect | ||
golang.org/x/sys v0.4.0 // indirect | ||
golang.org/x/term v0.4.0 // indirect | ||
golang.org/x/text v0.6.0 // indirect | ||
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect | ||
golang.org/x/tools v0.2.0 // indirect | ||
golang.org/x/tools v0.4.0 // indirect | ||
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/protobuf v1.28.0 // indirect | ||
|
@@ -247,5 +250,3 @@ require ( | |
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | ||
sigs.k8s.io/yaml v1.3.0 // indirect | ||
) | ||
|
||
replace k8s.io/client-go => k8s.io/client-go v0.25.1 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these new additions used now we've moved things to a separate makefile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to remove this. Thanks