-
Notifications
You must be signed in to change notification settings - Fork 64
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
Remove e2e/go.mod #288
Remove e2e/go.mod #288
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nunnatsa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Test Coverage Report for Build 9395559512Details
💛 - Coveralls |
Makefile
Outdated
generate-kv-go-client: $(CLIENT_GEN) ## Generate kubevirt client-go for e2e | ||
$(CLIENT_GEN) \ | ||
--input-base="kubevirt.io/api" \ | ||
--input="core/v1" \ | ||
--output-pkg="sigs.k8s.io/cluster-api-provider-kubevirt/e2e/generated/client-go/clientset" \ | ||
--clientset-name="versioned" \ | ||
--output-dir /home/nunnatsa/GIT/cluster-api-provider-kubevirt/e2e/generated/client-go/clientset \ | ||
--fake-clientset=false | ||
|
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.
do we need the kubevirt client once you transition e2e to use virtctl?
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'll remove kv client. this is still WIP.
/ok-to-test |
1c59fab
to
e11f677
Compare
Makefile
Outdated
@@ -225,7 +225,7 @@ docker-build: docker-pull-prerequisites ## Build the docker image for controller | |||
|
|||
.PHONY: docker-push | |||
docker-push: ## Push the docker image | |||
docker push $(CONTROLLER_IMG)-$(ARCH):$(TAG) | |||
docker push --tls-verify=false $(CONTROLLER_IMG)-$(ARCH):$(TAG) |
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.
we probably don't want to commit this change
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 am assuming you added this for when pushing to a repo that doesn't have a proper signed cert. What I did in HPP is make it an argument something like this:
TLS_VERIFY?=true
...
docker push -tls-verify=${TLS_VERIFY} $(CONTROLLER_IMG)-$(ARCH):$(TAG)
This way if you are testing locally you can just export TLS_VERIFY=false
and it works. But it defaults to true.
/retest |
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
e2e/go.mod was added to split the e2e into a new module, to allow using older k8s packages in e2e tests, because the new k8s packages conflicted with the KubeVirt go-client.
This PR replaces the KV go-client with a the kubernetes client, and so it is now possible to use the newest k8s packages, and in general, the same packages as the application uses.
Also made some smaller fixes and improvements in the e2e tests, related to contexes and assertions.
Release notes: