Skip to content

chore: add tests on container runtime#2

Merged
DanielleMaywood merged 16 commits intomainfrom
dm-container-tests
Mar 6, 2025
Merged

chore: add tests on container runtime#2
DanielleMaywood merged 16 commits intomainfrom
dm-container-tests

Conversation

@DanielleMaywood
Copy link
Collaborator

@DanielleMaywood DanielleMaywood commented Mar 5, 2025

Relates to coder/internal#445

Run the test-suite on a container runtime, as well as add some tests for container-specific behavior.

@DanielleMaywood DanielleMaywood marked this pull request as draft March 5, 2025 10:50
It appears GitHub's hosted runners do not have sysbox-runc available
This implementation isn't the nicest but we only run the tests when
CLISTAT_IS_CONTAINERIZED is either 'yes' or 'no'. We have to do this as
we do not know whether we are in a container or not at runtime.
@DanielleMaywood DanielleMaywood marked this pull request as ready for review March 6, 2025 11:23
Having a double negative doesn't make much sense, rework this to instead
ensure IsContainerized matches based on if CLISTAT_IS_CONTAINERIZED is
true
We still need to be able to compile the tests, it appears 128MB is not
enough and the compiler OOMed
@DanielleMaywood DanielleMaywood merged commit c504a37 into main Mar 6, 2025
25 checks passed
@DanielleMaywood DanielleMaywood deleted the dm-container-tests branch October 2, 2025 13:58
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