cypress-io / cypress-docker-images

Docker images with Cypress dependencies and browsers
https://on.cypress.io/continuous-integration
MIT License
1.03k stars 380 forks source link

chore: update circleci to ubuntu-2204:2024.08.1 (latest) machine image #1214

Closed MikeMcC399 closed 2 months ago

MikeMcC399 commented 2 months ago

Issue

Change

Update the circle.yml workflow from ubuntu-2204:2024.05.1 to the latest version ubuntu-2204:2024.08.1.

Moving to ubuntu-2204:2024.08.1 updates the components as follows:

Image tag Node.js Docker Engine buildx Status
ubuntu-2204:2024.05.1 20.12.2 26.0.2 v0.14.0 current
ubuntu-2204:2024.08.1 20.16.0 26.1.4 v0.16.1 future

This is a minor version update for Node.js 20.x, a minor version update for Docker Engine 26.x and a major functional update from Docker Buildx v0.14.x to v0.16.1. Based on a review of the release notes, there is no impact expected for the Cypress Docker image build process.

Some failing checks caused by upgrading to buildx v0.15.0 (which was also included in Docker Desktop 4.33.0) were already mitigated (see explanation in https://github.com/cypress-io/cypress-docker-images/issues/1186#issuecomment-2275303465).

To avoid new warnings, when docker compose run is used, the option --rm is now added. This prevents the creation of orphaned containers in jobs. These were warnings only and did not prevent job completion.

cypress-app-bot commented 2 months ago
MikeMcC399 commented 2 months ago

Version tests now cause warnings, for example:

WARN[0000] Found orphan containers ([test-project-test-factory-all-included-run-26207f099303]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. 
Version 1.22.22 confirmed

Although this is only cosmetic, it should be cleaned up.