Skip to content
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

cluster-up, kind: all to exec command via ssh.sh and add port mapping for kind cluster #1344

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

zhlhahaha
Copy link
Contributor

What this PR does / why we need it:

  1. ssh.sh now should support both ssh into cluster and exec command in the cluster directly.
  2. port mapping is needed for some e2e tests. e.g. cdi upload image related tests.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
kubevirt/containerized-data-importer#3466

Release note:

NONE

Currently cluster-up/ssh.sh not only allow to ssh
into the cluster, but also allow to exec command
directly via the script, make it works on kind
cluster

Signed-off-by: howard zhang <[email protected]>
Copy link
Member

@brianmcarey brianmcarey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @zhlhahaha - looks good to me - just a couple of comments inline.

cluster-up/cluster/kind/common.sh Show resolved Hide resolved
cluster-up/cluster/kind/common.sh Outdated Show resolved Hide resolved
@zhlhahaha
Copy link
Contributor Author

/retest

1 similar comment
@zhlhahaha
Copy link
Contributor Author

/retest

@brianmcarey
Copy link
Member

/test check-up-kind-sriov

1 similar comment
@zhlhahaha
Copy link
Contributor Author

/test check-up-kind-sriov

@kubevirt-bot
Copy link
Contributor

kubevirt-bot commented Jan 8, 2025

@zhlhahaha: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
check-provision-alpine-with-test-tooling 90718bb link false /test check-provision-alpine-with-test-tooling

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-sigs/prow repository. I understand the commands that are listed here.

@zhlhahaha
Copy link
Contributor Author

Hi @brianmcarey , I do not think the failure of check-up-kind-sriov is caused by this PR, as the test failed in almost all PR.

@brianmcarey
Copy link
Member

Hi @brianmcarey , I do not think the failure of check-up-kind-sriov is caused by this PR, as the test failed in almost all PR.

Hi @zhlhahaha - yes you are right there looks to be an issue with the SRIOV lane itself.

/override check-up-kind-sriov

@kubevirt-bot
Copy link
Contributor

@brianmcarey: Overrode contexts on behalf of brianmcarey: check-up-kind-sriov

In response to this:

Hi @brianmcarey , I do not think the failure of check-up-kind-sriov is caused by this PR, as the test failed in almost all PR.

Hi @zhlhahaha - yes you are right there looks to be an issue with the SRIOV lane itself.

/override check-up-kind-sriov

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-sigs/prow repository.

Copy link
Member

@brianmcarey brianmcarey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@dosubot dosubot bot added the lgtm Indicates that a PR is ready to be merged. label Jan 9, 2025
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brianmcarey

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 9, 2025
@kubevirt-bot kubevirt-bot merged commit 6c7e367 into kubevirt:main Jan 9, 2025
12 of 13 checks passed
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Jan 9, 2025
[6c7e367 cluster-up, kind: all to exec command via ssh.sh and add port mapping for kind cluster](kubevirt/kubevirtci#1344)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Jan 10, 2025
[6c7e367 cluster-up, kind: all to exec command via ssh.sh and add port mapping for kind cluster](kubevirt/kubevirtci#1344)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Jan 10, 2025
[6c7e367 cluster-up, kind: all to exec command via ssh.sh and add port mapping for kind cluster](kubevirt/kubevirtci#1344)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/enhancement lgtm Indicates that a PR is ready to be merged. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants