Skip to content

chore(e2e): add Dockerfile for e2e test runner CLOUDP-274595 #6790

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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
Contributor

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
Contributor

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.

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.

2 participants