Skip to content

Add e2e tests to the images #2

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

Closed
rmohr opened this issue Nov 17, 2021 · 9 comments · Fixed by #18 or #21
Closed

Add e2e tests to the images #2

rmohr opened this issue Nov 17, 2021 · 9 comments · Fixed by #18 or #21
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@rmohr
Copy link
Member

rmohr commented Nov 17, 2021

Basically do the following:

make cluster-up
RELEASE="$(curl http://storage.googleapis.com/kubevirt-prow/devel/release/kubevirt/kubevirt/stable.txt)"
kubectl apply -f https://github.com/kubevirt/kubevirt/releases/download/${RELEASE}/kubevirt-operator.yaml
kubectl apply -f https://github.com/kubevirt/kubevirt/releases/download/${RELEASE}/kubevirt-cr.yaml
kubectl -n kubevirt wait kv kubevirt --for condition=Available

Then pushing one image after the other:

docker build . -t blub
docker push blub

Then create a yaml with that image and wait until virtcl ssh can connect to the guest.

@ksimon1
Copy link
Member

ksimon1 commented Nov 19, 2021

We can reuse automation which we already have in common-templates for golden images https://github.com/kubevirt/common-templates/blob/master/dvtemplates/build_k8s_cluster.sh
It builds, pushes image into cluster and tests it with templates

@kubevirt-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@kubevirt-bot kubevirt-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 17, 2022
@kubevirt-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

@kubevirt-bot kubevirt-bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 19, 2022
This was referenced Mar 29, 2022
@kubevirt-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

@kubevirt-bot
Copy link
Contributor

@kubevirt-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@rmohr
Copy link
Member Author

rmohr commented Apr 22, 2022

/reopen

we still need to adjust CI

@kubevirt-bot
Copy link
Contributor

@rmohr: Reopened this issue.

In response to this:

/reopen

we still need to adjust CI

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@kubevirt-bot kubevirt-bot reopened this Apr 22, 2022
@rmohr
Copy link
Member Author

rmohr commented Apr 26, 2022

/close

CI is now also in place with kubevirt/project-infra#2049 merged.

@kubevirt-bot
Copy link
Contributor

@rmohr: Closing this issue.

In response to this:

/close

CI is now also in place with kubevirt/project-infra#2049 merged.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants