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

ci: script changes to run minikube with none driver #3415

Closed
wants to merge 2 commits into from

Conversation

Madhu-1
Copy link
Collaborator

@Madhu-1 Madhu-1 commented Oct 6, 2022

install required crio to run minikube with none driver and added if check to exclude minikube arguments which doesnot required for none driver.

Signed-off-by: Madhu Rajanna madhupr007@gmail.com

install required crio to run minikube with none driver
and added if check to exclude minikube argements which
doesnot required for none driver.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
@Madhu-1 Madhu-1 added the WIP This PR still in work-in-progress label Oct 6, 2022
@mergify mergify bot added the component/testing Additional test cases or CI work label Oct 6, 2022
@Madhu-1 Madhu-1 added the ci/skip/multi-arch-build skip building on multiple architectures label Oct 6, 2022
@nixpanic
Copy link
Member

nixpanic commented Oct 6, 2022

I think you also need to modify https://github.com/ceph/ceph-csi/blob/ci/centos/single-node-k8s.sh

@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 6, 2022

I think you also need to modify https://github.com/ceph/ceph-csi/blob/ci/centos/single-node-k8s.sh

Yes for now hardcoding the script to start cluster with none driver for testing, if everything goes well i move some installation and configurtion to above script

@Madhu-1 Madhu-1 force-pushed the run-none branch 5 times, most recently from 782acd8 to bdcc708 Compare October 6, 2022 11:47
EXTRA_MINIKUBE_ARGS=${EXTRA_MINIKUBE_ARGS:-"--container-runtime=cri-o"}

function install_crio() {
dnf install jq conntrack docker -y
Copy link
Member

Choose a reason for hiding this comment

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

please do not use Docker, use Podman instead.

Isn't there a repository that provides CRIO RPMs?

@Madhu-1 Madhu-1 force-pushed the run-none branch 3 times, most recently from 75fd672 to ef372c1 Compare October 6, 2022 13:55
@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 6, 2022

/test ci/centos/k8s-e2e-external-storage/1.22

1 similar comment
@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 6, 2022

/test ci/centos/k8s-e2e-external-storage/1.22

@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 6, 2022

/retest ci/centos/mini-e2e/k8s-1.22

@Madhu-1 Madhu-1 force-pushed the run-none branch 10 times, most recently from b72e8b1 to a85765c Compare October 7, 2022 09:33
@nixpanic
Copy link
Member

nixpanic commented Oct 7, 2022

/retest ci/centos/mini-e2e/k8s-1.22

@nixpanic
Copy link
Member

nixpanic commented Oct 7, 2022

@Mergifyio rebase

@mergify
Copy link
Contributor

mergify bot commented Oct 7, 2022

rebase

☑️ Nothing to do

  • any of:
    • #commits-behind>0 [:pushpin: rebase requirement]
    • -linear-history [:pushpin: rebase requirement]
  • -closed [:pushpin: rebase requirement]

@Madhu-1 Madhu-1 force-pushed the run-none branch 3 times, most recently from b2f2145 to 9fbf360 Compare October 7, 2022 13:10
test only change to check everything works
fine for the none driver

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
nixpanic added a commit to nixpanic/ceph-csi that referenced this pull request Oct 7, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: ceph#3419
Closes: ceph#3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/ceph-csi that referenced this pull request Oct 7, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: ceph#3419
Closes: ceph#3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
@nixpanic
Copy link
Member

nixpanic commented Oct 7, 2022

#3419 and #3420 can hopefully replace this PR.

nixpanic added a commit to nixpanic/ceph-csi that referenced this pull request Oct 11, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: ceph#3419
Closes: ceph#3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/ceph-csi that referenced this pull request Oct 12, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: ceph#3419
Closes: ceph#3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/ceph-csi that referenced this pull request Oct 12, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: ceph#3419
Closes: ceph#3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/ceph-csi that referenced this pull request Oct 12, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: ceph#3419
Closes: ceph#3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
@mergify mergify bot closed this in #3420 Oct 13, 2022
mergify bot pushed a commit that referenced this pull request Oct 13, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: #3419
Closes: #3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
mergify bot pushed a commit that referenced this pull request Oct 13, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: #3419
Closes: #3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 0cba724)
mergify bot pushed a commit that referenced this pull request Oct 13, 2022
When running on AWE EC2 virtual-machines, we'll use Podman instead of
installing a VM. The "none" driver might work as well, but it requires
additional dependencies to be installed, which may change over time with
new minikube or Kubernetes releases. Hopefully the Podman driver is less
affected with changes in dependencies.

Depends-on: #3419
Closes: #3415
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 0cba724)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/skip/multi-arch-build skip building on multiple architectures component/testing Additional test cases or CI work WIP This PR still in work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants