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

Update resources for CI test suite #636

Merged
merged 1 commit into from Oct 15, 2017

Conversation

Projects
None yet
3 participants
@abhisheklakra007
Contributor

abhisheklakra007 commented Oct 15, 2017

Close: #621

What this PR does / why we need it:
Gives 2 virtual CPU & 2048 mB RAM to VMs

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #621

Special notes for your reviewer:
Ref: https://www.vagrantup.com/docs/virtualbox/configuration.html#vboxmanage-customizations

@kmova

kmova approved these changes Oct 15, 2017

Thank you @abhisheklakra007

@kmova kmova merged commit 6eef98a into openebs:master Oct 15, 2017

@nitisuryawanshi

This comment has been minimized.

Show comment
Hide comment
@nitisuryawanshi

nitisuryawanshi Oct 16, 2017

@abhisheklakra007 thank you for your PR contribution. We would like to mention you in our tweets, thanking you for your contribution. Can you please mail me your twitter handle here niti.suryawanshi@openebs.io ?

nitisuryawanshi commented Oct 16, 2017

@abhisheklakra007 thank you for your PR contribution. We would like to mention you in our tweets, thanking you for your contribution. Can you please mail me your twitter handle here niti.suryawanshi@openebs.io ?

ksatchit added a commit to ksatchit/openebs that referenced this pull request Oct 27, 2017

Optimizations to reduce the CI run duration
-------------------------------------------

The CI integration suite is ever expanding and we need to make the run as efficient as possible.
Currently, we are running 3-4 applications and the run is seen to take around ~80 min.

Some ways to approach this are provided below :

- Increase the number of retries and decreasing poll interval while waiting on pod status changes
  post creation/deletion etc., during the testcase (openebs#626)

- Use test images wherever possible instead of buildin the image during the course of a testcase (openebs#623)

- Increasing the resources on the vagrant VMs being used in the kubernetes cluster (openebs#636)

- PrePull test images into test harness and load into kubernetes nodes upon bringup

Together, these changes have been observed to reduce the CI run time to ~45 min.

This commit provides the code changes needed to perform the PrePull test images. Changes include :

a) Ansible role and playbook to pull test images specified by a list (maintains images as versioned tarballs)
b) Ansible role and playbook to load this into test k8s nodes (vagrantVM /baremetal)
c) Updates to ci.yml to include load images step
d) Bash script that will run on test/jenkins harness to invoke the pull image role
e) Updates to jenkins cronfile to include the bash script run

Fixes issue openebs#463

Further optimizations will be taken up as in subsequent releases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment