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

Add caching to CI to make it faster #603

Closed
yukiisbored opened this issue Dec 18, 2016 · 9 comments
Closed

Add caching to CI to make it faster #603

yukiisbored opened this issue Dec 18, 2016 · 9 comments

Comments

@yukiisbored
Copy link
Member

Travis has a feature to cache files, it can be used to make the process faster

@abishekvashok
Copy link
Member

@yukiisbored it is already added see the travis.yml file :) and see the line cache: bundler please check the code next time. Since, we have already implemented it closing this...

@yukiisbored
Copy link
Member Author

yukiisbored commented Dec 18, 2016

Hello, there's still room for improvement. cache: bundler only caches the downloaded ruby gems that are used for dependencies. coala has caching so why not cache that as well.

@abishekvashok abishekvashok reopened this Dec 19, 2016
@codein-dwij
Copy link
Member

@yukiisbored Would you work on it?

@yukiisbored
Copy link
Member Author

@codein-dwij Thanks, but I'm more interested with other things. I think it's nice to have someone else do it so they can have an experience with travis and docker.

@abishekvashok
Copy link
Member

coala has caching by default and we did'not disable it so closing this....

@yukiisbored
Copy link
Member Author

yukiisbored commented Dec 28, 2016

@Abhi2424shek I meant cache the cached data generated from coala with Travis. Travis has it's own caching system. Not to mention the other ways you can cache and make CI faster. Please don't close the issue without having a good reason. Since, caching is not just a single road, it can be improved in the future.

@abishekvashok abishekvashok reopened this Dec 28, 2016
@jayvdb
Copy link
Member

jayvdb commented Dec 28, 2016

@Abhi2424shek , the coala caching is deleted when the CI job and its virtual machine is terminated. Voodoo is needed to save the cached files and restore them in the next build.

@abishekvashok
Copy link
Member

abishekvashok commented Dec 28, 2016

@jayvdb then we will workout with voodoo, I ask sorry for closing this really sorry!

@abishekvashok
Copy link
Member

@jayvdb can you create an issue to use Voodoo

yukiisbored added a commit to yukiisbored/gci16.fossasia.org that referenced this issue Jan 11, 2017
coala's cache are saved on $XDG_DATA_HOME/coala to speed up CI, we can
create a volume for that and preseve it's contents with Travis'
directory caching feature.

Closes fossasia#603
m1guelpf pushed a commit that referenced this issue Jan 11, 2017
coala's cache are saved on $XDG_DATA_HOME/coala to speed up CI, we can
create a volume for that and preseve it's contents with Travis'
directory caching feature.

Closes #603
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants