Re: Unzipping Cypress
No problem! Glad I could help. On Wed, Nov 28, 2018 at 5:03 PM Otto Fowler wrote: > OK, > > I think what is happening is that in my PR, I’m building metron in Docker > and deploying to vagrant. I have updated my PR to map the cypress cache > into the Docker container. > Thanks! > > > On November 28, 2018 at 10:29:25, Shane Ardell (shane.m.ard...@gmail.com) > wrote: > > For me, it's at ~/Library/Caches/Cypress, but the path depends on your OS: > > https://docs.cypress.io/guides/getting-started/installing-cypress.html#Binary-cache > > On Wed, Nov 28, 2018 at 4:19 PM Otto Fowler > wrote: > > > Where is the cache path? > > > > > > On November 28, 2018 at 09:34:18, Shane Ardell (shane.m.ard...@gmail.com > ) > > wrote: > > > > https://github.com/cypress-io/cypress/issues/1813 > > >
Re: Unzipping Cypress
OK, I think what is happening is that in my PR, I’m building metron in Docker and deploying to vagrant. I have updated my PR to map the cypress cache into the Docker container. Thanks! On November 28, 2018 at 10:29:25, Shane Ardell (shane.m.ard...@gmail.com) wrote: For me, it's at ~/Library/Caches/Cypress, but the path depends on your OS: https://docs.cypress.io/guides/getting-started/installing-cypress.html#Binary-cache On Wed, Nov 28, 2018 at 4:19 PM Otto Fowler wrote: > Where is the cache path? > > > On November 28, 2018 at 09:34:18, Shane Ardell (shane.m.ard...@gmail.com) > wrote: > > https://github.com/cypress-io/cypress/issues/1813 >
Re: Unzipping Cypress
For me, it's at ~/Library/Caches/Cypress, but the path depends on your OS: https://docs.cypress.io/guides/getting-started/installing-cypress.html#Binary-cache On Wed, Nov 28, 2018 at 4:19 PM Otto Fowler wrote: > Where is the cache path? > > > On November 28, 2018 at 09:34:18, Shane Ardell (shane.m.ard...@gmail.com) > wrote: > > https://github.com/cypress-io/cypress/issues/1813 >
Re: Unzipping Cypress
Where is the cache path? On November 28, 2018 at 09:34:18, Shane Ardell (shane.m.ard...@gmail.com) wrote: https://github.com/cypress-io/cypress/issues/1813
Re: Unzipping Cypress
Otto, I'm not able to reproduce this issue locally. My build uses a binary stored in a global cache directory. I did a little research and it looks like the cached global binary not being used was an issue with Cypress v3.0.0 <https://github.com/cypress-io/cypress/issues/1813>, but it was resolved in v3.0.1. We use v3.1.0. I noticed that we do download Chromium every build. Just to verify, there wasn't some confusion between Cypress and Chromium, correct? [1] https://docs.cypress.io/guides/getting-started/installing-cypress.html#npm-install On Tue, Nov 27, 2018 at 6:40 PM Otto Fowler wrote: > I’m sorry for the confusion, but I see this locally. I’m not looking at > travis. > I have been doing a lot of full dev deployments. > > > > On November 27, 2018 at 11:40:42, Shane Ardell (shane.m.ard...@gmail.com) > wrote: > > Otto, > > Do you have a Travis log you can share that shows Cypress downloaded vs. > using a cached version? It looks like my latest merge to master uses a > cached version: https://travis-ci.org/apache/metron/jobs/458440883#L7292. > > Thanks in advance. > > On Mon, Nov 26, 2018 at 6:14 PM Shane Ardell > wrote: > > > It seems we can pretty easily configure the .travis.yml config file to > > cache our npm modules: > > > https://docs.cypress.io/guides/guides/continuous-integration.html#Caching-the-Cypress-binary > > > > It also looks like we are already trying to cache our npm modules in the > > Travis config, but, obviously, it's not working as intended. I can take > a > > look into why tomorrow. > > > > On Mon, Nov 26, 2018 at 5:33 PM Michael Miklavcic < > > michael.miklav...@gmail.com> wrote: > > > >> Shane, Tibor - Can you guys chime in on this? > >> > >> On Mon, Nov 26, 2018 at 9:13 AM Otto Fowler > >> wrote: > >> > >> > Isn’t there a way we can cache it? > >> > > >> > > >> > On November 26, 2018 at 10:59:20, Nick Allen (n...@nickallen.org) > >> wrote: > >> > > >> > Yes, I have noticed that too. If not a way to reduce the time, we > should > >> > not be logging the unzipping process percentile-by-percentile in the > >> Travis > >> > CI builds. > >> > > >> > On Sat, Nov 24, 2018 at 9:49 AM Otto Fowler > > >> > wrote: > >> > > >> > > Anyone else seeing a lot of time taken downloading and unzipping > >> Cypress > >> > on > >> > > builds? > >> > > What is up with that?™ > >> > > > >> > > ottO > >> > > > >> > > >> > > > >
Re: Unzipping Cypress
I’m sorry for the confusion, but I see this locally. I’m not looking at travis. I have been doing a lot of full dev deployments. On November 27, 2018 at 11:40:42, Shane Ardell (shane.m.ard...@gmail.com) wrote: Otto, Do you have a Travis log you can share that shows Cypress downloaded vs. using a cached version? It looks like my latest merge to master uses a cached version: https://travis-ci.org/apache/metron/jobs/458440883#L7292. Thanks in advance. On Mon, Nov 26, 2018 at 6:14 PM Shane Ardell wrote: > It seems we can pretty easily configure the .travis.yml config file to > cache our npm modules: > https://docs.cypress.io/guides/guides/continuous-integration.html#Caching-the-Cypress-binary > > It also looks like we are already trying to cache our npm modules in the > Travis config, but, obviously, it's not working as intended. I can take a > look into why tomorrow. > > On Mon, Nov 26, 2018 at 5:33 PM Michael Miklavcic < > michael.miklav...@gmail.com> wrote: > >> Shane, Tibor - Can you guys chime in on this? >> >> On Mon, Nov 26, 2018 at 9:13 AM Otto Fowler >> wrote: >> >> > Isn’t there a way we can cache it? >> > >> > >> > On November 26, 2018 at 10:59:20, Nick Allen (n...@nickallen.org) >> wrote: >> > >> > Yes, I have noticed that too. If not a way to reduce the time, we should >> > not be logging the unzipping process percentile-by-percentile in the >> Travis >> > CI builds. >> > >> > On Sat, Nov 24, 2018 at 9:49 AM Otto Fowler >> > wrote: >> > >> > > Anyone else seeing a lot of time taken downloading and unzipping >> Cypress >> > on >> > > builds? >> > > What is up with that?™ >> > > >> > > ottO >> > > >> > >> >
Re: Unzipping Cypress
Otto, Do you have a Travis log you can share that shows Cypress downloaded vs. using a cached version? It looks like my latest merge to master uses a cached version: https://travis-ci.org/apache/metron/jobs/458440883#L7292. Thanks in advance. On Mon, Nov 26, 2018 at 6:14 PM Shane Ardell wrote: > It seems we can pretty easily configure the .travis.yml config file to > cache our npm modules: > https://docs.cypress.io/guides/guides/continuous-integration.html#Caching-the-Cypress-binary > > It also looks like we are already trying to cache our npm modules in the > Travis config, but, obviously, it's not working as intended. I can take a > look into why tomorrow. > > On Mon, Nov 26, 2018 at 5:33 PM Michael Miklavcic < > michael.miklav...@gmail.com> wrote: > >> Shane, Tibor - Can you guys chime in on this? >> >> On Mon, Nov 26, 2018 at 9:13 AM Otto Fowler >> wrote: >> >> > Isn’t there a way we can cache it? >> > >> > >> > On November 26, 2018 at 10:59:20, Nick Allen (n...@nickallen.org) >> wrote: >> > >> > Yes, I have noticed that too. If not a way to reduce the time, we should >> > not be logging the unzipping process percentile-by-percentile in the >> Travis >> > CI builds. >> > >> > On Sat, Nov 24, 2018 at 9:49 AM Otto Fowler >> > wrote: >> > >> > > Anyone else seeing a lot of time taken downloading and unzipping >> Cypress >> > on >> > > builds? >> > > What is up with that?™ >> > > >> > > ottO >> > > >> > >> >
Re: Unzipping Cypress
It seems we can pretty easily configure the .travis.yml config file to cache our npm modules: https://docs.cypress.io/guides/guides/continuous-integration.html#Caching-the-Cypress-binary It also looks like we are already trying to cache our npm modules in the Travis config, but, obviously, it's not working as intended. I can take a look into why tomorrow. On Mon, Nov 26, 2018 at 5:33 PM Michael Miklavcic < michael.miklav...@gmail.com> wrote: > Shane, Tibor - Can you guys chime in on this? > > On Mon, Nov 26, 2018 at 9:13 AM Otto Fowler > wrote: > > > Isn’t there a way we can cache it? > > > > > > On November 26, 2018 at 10:59:20, Nick Allen (n...@nickallen.org) wrote: > > > > Yes, I have noticed that too. If not a way to reduce the time, we should > > not be logging the unzipping process percentile-by-percentile in the > Travis > > CI builds. > > > > On Sat, Nov 24, 2018 at 9:49 AM Otto Fowler > > wrote: > > > > > Anyone else seeing a lot of time taken downloading and unzipping > Cypress > > on > > > builds? > > > What is up with that?™ > > > > > > ottO > > > > > >
Re: Unzipping Cypress
Shane, Tibor - Can you guys chime in on this? On Mon, Nov 26, 2018 at 9:13 AM Otto Fowler wrote: > Isn’t there a way we can cache it? > > > On November 26, 2018 at 10:59:20, Nick Allen (n...@nickallen.org) wrote: > > Yes, I have noticed that too. If not a way to reduce the time, we should > not be logging the unzipping process percentile-by-percentile in the Travis > CI builds. > > On Sat, Nov 24, 2018 at 9:49 AM Otto Fowler > wrote: > > > Anyone else seeing a lot of time taken downloading and unzipping Cypress > on > > builds? > > What is up with that?™ > > > > ottO > > >
Re: Unzipping Cypress
Isn’t there a way we can cache it? On November 26, 2018 at 10:59:20, Nick Allen (n...@nickallen.org) wrote: Yes, I have noticed that too. If not a way to reduce the time, we should not be logging the unzipping process percentile-by-percentile in the Travis CI builds. On Sat, Nov 24, 2018 at 9:49 AM Otto Fowler wrote: > Anyone else seeing a lot of time taken downloading and unzipping Cypress on > builds? > What is up with that?™ > > ottO >
Re: Unzipping Cypress
Yes, I have noticed that too. If not a way to reduce the time, we should not be logging the unzipping process percentile-by-percentile in the Travis CI builds. On Sat, Nov 24, 2018 at 9:49 AM Otto Fowler wrote: > Anyone else seeing a lot of time taken downloading and unzipping Cypress on > builds? > What is up with that?™ > > ottO >
Unzipping Cypress
Anyone else seeing a lot of time taken downloading and unzipping Cypress on builds? What is up with that?™ ottO