83 likes
·
451 reads
5 comments
Great post Alan Fernandez, I have got one question, how are you managing the npm cache to reduce the build time for subsequent builds during the integration stage?
This is an excellent question, and definitely a place where we can improve build times (npm install being one of the steps that take the longest)
While in this document the focus was to try to keep the pipeline as simple as possible. If you wanted to implement npm cache we could use google cloud storage as a sort of "persistant disk" where we could cache package for subsequent builds. We could then add steps to add the packages to the npm cache as part of one of our build steps before npm install.
More info can be found here as to how we woud go about that cloud.google.com/build/docs/speeding-up-bu…
damn this is just what i needed
Nice one; great article, Alan Fernandez!
Nice article!