Zenika-Training / zenika-formation-framework

Tools to build and present our training material
8 stars 25 forks source link

CI does not use the latest framework version #165

Closed hgwood closed 7 years ago

hgwood commented 7 years ago

CircleCI uses a cache on npm installs so the PDF rendering does not always use the latest framework version. Questions:

In the meanwhile, it is possible to manually ask Circle to retry a build without the cache.

olivierhuber commented 7 years ago

I hate cache - remove caching (at least in this case)

olivierhuber commented 7 years ago

There are only two hard things in Computer Science: cache invalidation and naming things. - Phil Karlton

olivierhuber commented 7 years ago

Ok seriously can we remove the cache altogether ... For me it's unusable now since i can't even have the latest version of my PDF

hgwood commented 7 years ago

It does seem do be possible to disable the cache. @olivierhuber Do you have access to CI builds? From there you can trigger rebuilds without cache. Not ideal I know but useful.

hgwood commented 7 years ago

Idea: have a script that calls the CircleCI API to rebuild all projects without cache, and have this script be called in npm's postversion script. This would rebuild everything every time a new framework version is released. I should be able to look at this on friday.

jlandure commented 7 years ago

Or a Bot to do it 😉 The trigger will be: