-
Notifications
You must be signed in to change notification settings - Fork 985
feat: port Kuttl E2E tests to Ginkgo #1811
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
base: master
Are you sure you want to change the base?
Conversation
) | ||
|
||
require ( | ||
cloud.google.com/go/compute/metadata v0.6.0 // indirect |
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.
- Added back the
replace ( ... )
block from Argo CD due to this error ongo mod tidy
:
[jgw@localhost-lan argocd-operator]$ go mod tidy
go: downloading github.com/onsi/ginkgo/v2 v2.22.0
go: downloading cloud.google.com/go/compute v1.23.3
go: downloading github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153
go: downloading github.com/rogpeppe/go-internal v1.13.1
go: downloading github.com/golang/mock v1.2.0
go: downloading github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db
go: downloading cloud.google.com/go v0.38.0
go: github.com/argoproj-labs/argocd-operator/tests/ginkgo/fixture/application imports
github.com/argoproj/argo-cd/v3/pkg/apis/application/v1alpha1 imports
github.com/argoproj/argo-cd/v3/util/git imports
golang.org/x/oauth2/google imports
cloud.google.com/go/compute/metadata: ambiguous import: found package cloud.google.com/go/compute/metadata in multiple modules:
cloud.google.com/go v0.38.0 (/home/jgw/go/pkg/mod/cloud.google.com/go@v0.38.0/compute/metadata)
cloud.google.com/go/compute/metadata v0.6.0 (/home/jgw/go/pkg/mod/cloud.google.com/go/compute/metadata@v0.6.0)
34e1d8d
to
c3236fb
Compare
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.
LGTM!
c3236fb
to
ff31e38
Compare
Signed-off-by: Jonathan West <jonwest@redhat.com>
ff31e38
to
61378d0
Compare
|
||
# go-get-tool will 'go install' any package $2 and install it to $1. | ||
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST)))) | ||
define go-get-tool |
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.
I suggest extracting the shell portion of this size and complexity into an independent /hack/
script. Enables proper formatting, IDE syntax highlight, use static analysis, bash strict mode usage, etc.
What type of PR is this?
/kind enhancement
What does this PR do / why we need it:
replace ( ... )
block ingo.mod
(it's from Argo CDgo.mod
) due to error ongo mod tidy
(see review comment)Have you updated the necessary documentation?