Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

This patch adds a Dockerfile that build an image for a container that can run our e2e test suite. The use-case for this is to be able to easily run these tests in other CI systems without the need to do all the extra machine setup, more specifically we're planning to use it to run compass-web tests, not compass desktop, that's why the image is just targeting ubuntu matching our CI setup

One caveats here: I'm having some troubles running this through all the emulation in docker on macos with m chips (vulkan fails to load something even though we disable gpu when running tests against chrome, firefox works fine), but it works on linux machines just fine and as the main purpose is to use it to run these tests in CI environments, I'm not going to invest more time into investigating this

@syn-zhu
Copy link
Collaborator

syn-zhu commented Mar 7, 2025

@gribnoysup can we also build and push this image to ECR as part of a CI task, perhaps during every new compass release?

I can go over the details sometime next week, but it needs to be an actual container in ECR for us to be able to pull and run it

We also need to figure out how to tag the images so we know the correct version to pull for a given CCS / MMS version

@syn-zhu
Copy link
Collaborator

syn-zhu commented Mar 7, 2025

Update: This should all work pretty well, thread here: https://mongodb.slack.com/archives/C07TSQSJ8QP/p1741380128568129

We just need to make sure that for every compass-web release, we build and push an image to ECR that's tagged with the corresponding version.

@gribnoysup gribnoysup marked this pull request as draft September 3, 2025 12:09
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

Successfully merging this pull request may close these issues.

3 participants