system tests / QA Success

User tests: Successful: Unsuccessful:

avatar yvesh
yvesh
24 Aug 2016

Pull Request for Issue #264

Summary of Changes

Add vendor folder to drone.io cache

Testing Instructions

Check drone.io log and if it passes merge, so we can test if time is improved.

avatar yvesh yvesh - open - 24 Aug 2016
avatar zero-24
zero-24 - comment - 24 Aug 2016

Travis is happy / green ?

avatar javigomez
javigomez - comment - 26 Aug 2016

@yvesh I was checking documentation and I saw that there is no automatic way to flush the cache: http://readme.drone.io/usage/caching/#deleting-the-cache:ac010da762d8cf87ef4765b457c06928.

What is the plan for when we update the composer packages?

avatar javigomez
javigomez - comment - 26 Aug 2016

Also I'm not sure that cache is working. Maybe it will not work until this pull is merged.

To proof it try to reestart the current build http://82.165.166.30/joomla-extensions/weblinks/12 and then reestart (admin rights required) a earlier build before "caching" was active, for example http://82.165.166.30/joomla-extensions/weblinks/11. You will notice that the time taken for downloading a package is the same.

avatar yvesh
yvesh - comment - 26 Aug 2016

@javigomez we don't need to flush the cache, composer install does that for us.

I am not sure when the cache starts working. Probably first when we merged this PR - currently it's always redownloading the packages (else it would state -> Install from cache)

avatar yvesh
yvesh - comment - 26 Aug 2016

Okay looked at it again, we need to change the build script in order for caching to work.. Updating that PR in some minutes

avatar yvesh
yvesh - comment - 1 Sep 2016

Can somebody please merge that? The caching starts after this is in the master branch.. Tested that on my personal repository.

Add a Comment

Login with GitHub to post a comment