Skip to content
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

Allow execution of JUnit tests without access to Docker (in Docker) #74

Open
ChrisSamo632 opened this issue Oct 18, 2021 · 0 comments
Open

Comments

@ChrisSamo632
Copy link

ChrisSamo632 commented Oct 18, 2021

The current JUnit annotation requires a Docker executable to be available for pulling & running the localstack/localstack image.

This tends to work fine on a developer's local machine and possibly in some CI pipelines, however, due to historic insecurities with Docker-in-Docker (DinD), some CI tooling does not permit the running of DinD within pipelines. This prevents the use of LocalStack JUnits within CI pipelines, while other technologies, e.g. Python are fine to use within the same pipelines because they only rely on localstack being present (which can be run as a CI pipeline service) rather than docker itself.

Could a mechanism for skipping the docker pull/run/shutdown for Java tests be provided (e.g. a different annotation or setting in the existing annotation that skips the docker commands and simply expected localstack to be setup and running already)?

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

No branches or pull requests

1 participant