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
chore: add ubuntu 24 image #1041
Conversation
It seems that Also I found that the issue I mentioned in cypress-io/cypress#29319, that |
Sounds like we will need to wait for the distribution to be available before updating any of the machine executors in our pipeline that are using Ubuntu 20.
@MikeMcC399 does this happen in |
I hope this might sort itself out in the next days. Anyway it will probably take quite a while before Ubuntu 24.04 actually becomes available through CI providers who will also need some ramp-up time.
It's not exactly global mode which is causing the issue.
the failure is with
|
|
I have Cypress running now using Python issueUse sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install g++ make python3.11
echo "export NODE_GYP_FORCE_PYTHON=/usr/bin/python3.11" >> ~/.bashrc
. ~/.bashrc Security issue
|
sudo apt-get install libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb According to the Ubuntu 24.04 release notes in the section Year 2038 support for the armhf architecture
|
…reference (not needed to run Cypress)
@MikeMcC399 good to know. It sounds like we need to update the Cypress Contributing documentation to get Cypress running locally on Ubuntu 24.04 (captured in cypress-io/cypress#29319) , as well as the Linux prerequisites in |
Im going to update the image to include the python 3.11 install as well as updated libs to run cypress |
It sounds like you missed the comment to use
|
@MikeMcC399 glad to see there is a workaround! Did you want to PR the updates into Cypress' contributing docs and Cypress documentation or would you like one of us to handle the updates? |
👍🏻 🙂
I'm fine either way. If I'm going to submit any PRs about this I would probably wait a little for the dust to settle to see if there are any additional points to be covered. I haven't seen anybody else rushing to use Cypress with Ubuntu 24.04 so far, so I don't think that there will be many people going astray and if they look in the issues they will see the workarounds anyway. So, please go ahead with PRs if you want, or let me know if you want me to submit PRs for review. |
@MikeMcC399 I believe this is the correct approach. We can wait for the dust to settle and then update our documentation in cypress-documentation and our contributing docs. I would say cypress-io/cypress-documentation#5816 is a higher priority than the contributing documentation updates mentioned in cypress-io/cypress#29319 since it is a direct blocker for those running Cypress.
If you are willing to own this, then please proceed when you feel the dust has settled. However, I don't want to put more on your plate if you are unable to PR the updates. You already do quite a lot as an OSS contributor to our projects! So if it's an issue, just let us know! |
Good point!
apt-get install libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb I checked this on Ubuntu I also ran it on Ubuntu
That's fine. I'll hang back with submitting a PR for changes for the Contributors' document. I could submit this first as draft and let it soak for a week or two. I'm reading in https://github.com/actions/runner-images that GitHub plans to have a beta version of a Ubuntu |
@MikeMcC399 was this in open or run mode in docker? I'm guessing run mode since you would need to attach a display. From my end |
I was using the kitchensink repo and If you are running correctly using Docker, then that's good enough for me! |
CONTRIBUTING.md
Outdated
@@ -65,6 +65,8 @@ In general, `factory/.env` master should contain the latest versions we official | |||
|
|||
![](https://github.com/cypress-io/cypress/assets/1271364/85507060-acc3-48b5-bc16-4160c4620e1e) | |||
|
|||
If you need to test that the image works with Cypress, you can follow this [gist](https://gist.github.com/AtofStryker/da2e94e8535cffeebf676b6399f96b47) if on a MacOS machine which might prove helpful when debugging image dependencies. |
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.
Should we move the gist
to a more official location? Or add the contents in here directly?
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.
I think gists can only be created by users, but we can add the contents directly here if we think thats the right direction. I'll go ahead and do that since i'm fine with either
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.
updated in a3aab3e
PRs submitted for documentation are: |
since Nobel Numbat is available, we should add the image under test in the cypress repo since we test the last two major versions unofficially of ubuntu. See related cypress-io/cypress#29412