Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing lighthouse plugin to connect to remote chrome instances, not only local #826

Open
3 tasks
manueljishi opened this issue Sep 27, 2024 · 0 comments
Open
3 tasks

Comments

@manueljishi
Copy link

User story

As stated in this comment (as an example) gitlab allows users to define services. Containers that will be deployed next to the ones running the CI steps and available via network. In this case I'd like to be able to configure a remote chrome instance and configure the lighthouse plugin to connect to the RDP port on said instance instead of running chrome locally. This way I can avoid having to install or maintain the chrome installed in my docker images.

Acceptance criteria

  • Being able to configure hostname flag in lighthouse
  • Being able to configure port flag in lighthouse
  • Allowing my analysis to run without installing any kind of chrome locally to make for lighter and faster jobs

Implementation details

I think to allow the flags we would need to start by implementing the feature in such a way that this function allows the hostname and port flags (and then passes that down to the runner itself)
As per bypassing the local chrome install I'd really have to look into that before coming to any conclusions. Maybe when detecting the CHROME_PATH we could check that if it's undefined we have at least a hostname flag to try to connect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant