-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add ability to specify docker image in KafkaContainer. #580
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
Conversation
|
Hi @irasikhin, What do you think if instead we move I really don't want to expose a public "any image" constructor because our KafkaContainer implementation expects image to be Confluent-like and that will be confusing if somebody will try to use some other image. But I get the point about private registries, and because of them we moved our list of images we use to the |
… in order to have an opportunity to replace default image with testcontainers.properties.
|
ok, done |
|
@irasikhin I would still keep the ability to specify a version :) |
|
i have returned docker image version to constructor like it was |
|
@irasikhin perfect, thank you! |
|
@bsideup thank you too =) |
* Add ability to specify docker image in KafkaContainer. * Added 'kafka.container.image' property to TestcontainersConfiguration in order to have an opportunity to replace default image with testcontainers.properties. * Return version argument to KafkaContainer constructor.
* Add Gradle with dependency sync from Maven * use Gradle on CircleCI * run Maven before Gradle to create initial folders structure * Shadowing, Maven publishing, build cache * Use Gradle 4.5 * store test results in CircleCI * fix tests * Create 'target' directory before running the tests, run tests in parallel on CircleCI * run selenium tests separately * change only Kafka module * now Travis * fix Travis config * mount .gradle into alpine container * polish Gradle config, fix publishing, add Delombok, move JAR file tests to Gradle * fix tab space * do not force verbose console * fix core tests * revert KafkaContainerTest change * push only from CircleCI's master branch * remove Maven, add more info to the generated pom, remove shade-test * flat modules structure, bintray publishing, BOM, remove virtuoso module * fix CI configs (use 'testcontainers' instead of 'core') * fix TravisCI config * release with Gradle * use Gradle for database-commons * simplify BOM's code * Force LF line endings for all text files This is introduced to allow the build remote cache on Windows. * Change capitalisation of the project name to the commonly used form, Testcontainers (#573) * Fix broken link Fixes #578 * Add ability to specify docker image in KafkaContainer. (#580) * Add ability to specify docker image in KafkaContainer. * Added 'kafka.container.image' property to TestcontainersConfiguration in order to have an opportunity to replace default image with testcontainers.properties. * Return version argument to KafkaContainer constructor. * use Gradle's `check` task instead of just `test`, document how to disable build caching, * fix Travis' install
This code allows to use private docker registry for testing purposes.