-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
add equivalent dependencies for rhel/centos #547
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -195,10 +195,16 @@ See our {% url 'examples' docker %} for additional information on our maintained | |
|
||
If you are not using one of the above CI providers then make sure your system has these dependencies installed. | ||
|
||
## Ubuntu / Debian | ||
```shell | ||
apt-get install xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 | ||
``` | ||
|
||
## RHEL / CentOS | ||
```shell | ||
yum install xorg-x11-server-Xvfb gtk2 libnotify GConf2 nss libXScrnSaver alsa-lib | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was just matching package for package with the existing Regardless, if you want me to add Also, I'm fine adding the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bkucera any thoughts on my comments? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe Ubuntu ships with that dependency already installed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And yes, it's required for electron There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jennifer-shehane
I'm unsure if the I'm also hesitant to add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So I was looking at the docs, and I think instead of adding every dependency here in Markdown, without really testing it, we could just
If a library is needed to run Cypress, one can always open an issue in cypress-docker-images with a test case that fails to execute, and adding the library solves There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what about something like this? # Dependencies
If you are not using one of the above CI providers then make sure your system has the required dependencies installed.
An up-to-date list of required dependencies for supported platforms can be found in the `Dockerfile` for each platform in the [`cypress-io/cypress-docker-images`](https://github.com/cypress-io/cypress-docker-images) repository I'm not sure I see the value in keeping only the debian list if we're going to suggest they check the editupon further thought, I definitely don't like keeping the debian dep list. to your own point, keeping a list of exact deps, untested, here in Markdown, doesn't make a lot of sense. rather than have our debian dep list definitely become out of date at some point, i think we're much better off just directing them to the cypress-docker-images repo so we never have out of date dep docs again. yay? nay? |
||
``` | ||
|
||
# Recording Tests in CI | ||
|
||
Cypress can record your tests running and make them available in our {% url 'Dashboard' https://on.cypress.io/dashboard %}. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should add
-y
here too