Code Monkey home page Code Monkey logo

Comments (4)

soulgalore avatar soulgalore commented on July 21, 2024

Hey @fsmaia sorry I totally missed this, lets merge and release this asap.

from alto-saxophone.

soulgalore avatar soulgalore commented on July 21, 2024

released and see if we can release Browsertime/sitespeed.io later today with the fixes, it will be in about 10 hours.

from alto-saxophone.

tobli avatar tobli commented on July 21, 2024

Sorry for being late to this. @fsmaia are you running a local mirror for the chromedriver repo? Would supporting downloading via a proxy (potentially with authentication) be an option for you? I'm a bit worried that overriding the URL will lead to bugs that are hard to track down. Chromedriver is updated fairy often, and it's easy to miss updating the environment variable every time a new version is out. If referring to a mirror is needed I'd like a check at the end of install that the downloaded version (from the mirror) is the same version that would be downloaded from the official repo. Basically the same check that's in the test case.

from alto-saxophone.

fsmaia avatar fsmaia commented on July 21, 2024

In my specific scenario (don't know if it happens very often), the CI (Jenkins) runs in an environment that has controlled access to Internet. To download packages and dependencies we setup Nexus OSS, that have dependencies either uploaded manually or proxied (like npm). In this scenario selecting the package source is vital.

I got a little confused about version handling too. It could be outside base URL and forcing path with latest Chromedriver, although it may be hard to force a directory structure in some cases. In this case, receiving base URL with version as a variable (template/interpolation) could be a valid solution, e.g. http://my_base_url.com/chromedriver-${version}.

If having Chromedriver in the latest version is a requirement, we could do a checksum and in case of difference fail tests and install step. Else we can still send a big deprecation warning in log.

from alto-saxophone.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.