Closed tuliobluz closed 2 weeks ago
Make sure to be able to update the browser to the new versions when it is cached.
Are you still looking at this @tuliobluz ?
@benfurber I am going to look at this now.
Every time that setup_repo
is used on the pipeline, it installs cypress and takes about 40 seconds more to install.
Jobs that run it:
I am trying to find a way to cache the cypress. It seems that orbs is the best approach, but we have to find out its impact.
For this issue I opened the ticket https://github.com/ONEARMY/community-platform/issues/3793
Is your feature request related to a problem? Please describe. It is not associated with a problem, however, every time that e2e-chrome-(1,2,3,4) runs it has to download the browser as you can see here. The idea is to cache the browser.
The download will be not necessary anymore as it will be cached. Saving time and resources as you can see down below:
As an example, it can take more or less: Time total: 168 seconds (42 seconds to finish the download step and e2e-chrome runs 4 times as it is parallel)
Describe the solution you'd like
I created this https://github.com/ONEARMY/community-platform/pull/3682 to try to solve it.
Describe alternatives you've considered I am not sure it has others.