Skip to content

Conversation

@irasikhin
Copy link
Contributor

This code allows to use private docker registry for testing purposes.

@bsideup
Copy link
Member

bsideup commented Feb 9, 2018

Hi @irasikhin,

What do you think if instead we move confluentinc/cp-kafka to TestcontainersConfiguration, so that it can be configred with properties?

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 TestcontainersConfiguration class

… in order to have an opportunity to replace default image with testcontainers.properties.
@irasikhin
Copy link
Contributor Author

ok, done

@bsideup
Copy link
Member

bsideup commented Feb 9, 2018

@irasikhin I would still keep the ability to specify a version :)

@irasikhin
Copy link
Contributor Author

i have returned docker image version to constructor like it was

@bsideup
Copy link
Member

bsideup commented Feb 9, 2018

@irasikhin perfect, thank you!

@bsideup bsideup merged commit 4e15af8 into testcontainers:master Feb 9, 2018
@bsideup bsideup added this to the next milestone Feb 9, 2018
@irasikhin
Copy link
Contributor Author

@bsideup thank you too =)

bsideup pushed a commit that referenced this pull request Feb 11, 2018
* 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.
bsideup added a commit that referenced this pull request Feb 11, 2018
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants