-
Notifications
You must be signed in to change notification settings - Fork 374
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
Git is missing from latest cypress/included (possibly also cypress/browsers & cypress/base) #642
Comments
@admah |
We also need git in that image. In 9.5.1 it was still included. |
Hmm in the current version the |
We recently updated our scripts to use |
@admah Thanks for the info and context on this! This is however, a breaking change and I wish it was communicated in a more explicit way.
Instead, I propose to have another type of image |
@oririner-wiz I'm happy to leave this issue up for discussion around it. However, the decision to reduce the image size and the approach taken was done after much deliberation. Some of the related issues that I closed were well over a year old with plenty of comments around them. Doing what you have suggested would simply bring us back to the place that we just were. There is also the overhead to also manage an entire other set of images. These images were never intended to be a "catch-all" that handled every CI need a user may have. They were intended to contain dependencies necessary to run Cypress. Some of the PRs you mentioned are related to missing dependencies that happened as a result of recent refactoring. Since we do not recreate and re-publish images, some recent images may be missing dependencies. PRs have been opened to address that (#647 and #648) and the next |
Not exactly, previously, the default (and only) image was large. What I'm suggesting is to have 2 images, one large and one slim, where slim is the default one. For every release there would be two images published, the default one (which is smaller) and another one marked
Agreed, however, glancing at the repo, there are a bunch of scripts that do most of the heavy lifting, I'm suggesting to add a small bit of code to them to support the
Understood, and yet, the main use case for these images is in fact in CI, which requires some form of source control. As a side note, one could argue that |
It definitely feels like For example we're using the official CircleCI orb ( |
@bericp1 this was fixed a while ago because of the reasons you mention. Sorry I didn’t close this out. Can you try a newer browser image? Thanks! |
Hey @admah You mentioned trying a newer browser image, but there's a single browser image uploaded since you commented. Which PR resolved this? How far back can I look for images? I used I can manually go and look at each Dockerfile, but the above info would help a lot! |
@kylemh try cypress/browsers:node-16.14.2-slim-chrome100-ff99-edge. There are some newer images in PR status that I was waiting to merge until after we had arm images for them. Those should get out next week. |
I ended up doing the latest node 14 version I found with git inside the Dockerfile. I only meant that discoverability on this issue is low and even discoverability on which images are good is low. Something that could be worth addressing somehow like - even a README mentioning which do not have git installed. |
@kylemh that’s a great idea. I’ll make sure we get the affected images’ READMEs updated so that hopefully it’s a little more visible. It should just be a small number of images that were affected. I’ll also put a list in this issue for future reference. |
Got here from Google and I still cannot figure out which images have git and which not. Zero links were shared here. I tried cypress/base:18.6.0, for reference, which was apparently released 1 month ago (does docker website tell exact dates instead of relative dates?) which is many months later than last chatter in this thread. |
So
|
This is the result of locally running
git --version
incypress/included:9.5.0
andcypress/included:9.5.4
cypress/included:9.5.0
reports the git version, whereascypress/included:9.5.4
claims git is not found.I don't know the exact version this happened in but it's only one of possible 4.
The text was updated successfully, but these errors were encountered: