:tools:generator favor fixed docker image versions in generated tests
Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/dcd778c2 Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/dcd778c2 Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/dcd778c2 Branch: refs/heads/develop Commit: dcd778c2af3d8f74cf602fa1baed677a86a9078e Parents: a885173 Author: Paul Merlin <[email protected]> Authored: Mon Jun 5 14:03:44 2017 +0200 Committer: Paul Merlin <[email protected]> Committed: Mon Jun 5 14:03:44 2017 +0200 ---------------------------------------------------------------------- .../app/templates/RestAPIApplication/bootstrap-test.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/polygene-java/blob/dcd778c2/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap-test.tmpl ---------------------------------------------------------------------- diff --git a/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap-test.tmpl b/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap-test.tmpl index 80303c1..984d897 100644 --- a/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap-test.tmpl +++ b/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap-test.tmpl @@ -137,7 +137,7 @@ if( polygene.entitystore === 'Cassandra' ) { @ClassRule public static final OptionalDockerRule ES_DOCKER = new OptionalDockerRule( DockerRule.builder() - .imageName( "cassandra:latest" ) + .imageName( "cassandra:3.10" ) .publishAllPorts( true ) .waitForTimeout( 120 ) .waitFor( WaitFor.logMessageSequence( "Starting listening for CQL clients" ) ) ); @@ -180,7 +180,7 @@ if( polygene.entitystore === 'JClouds' ) { @ClassRule public static final OptionalDockerRule ES_DOCKER = new OptionalDockerRule( DockerRule.builder() - .imageName( "scality/s3server:latest" ) + .imageName( "scality/s3server:mem-6a8e1cd" ) .publishAllPorts( true ) .waitForTimeout( 120 ) .waitFor( WaitFor.logMessageSequence( "server started" ) ) ); @@ -229,7 +229,7 @@ if( polygene.entitystore === 'MySQL' ) { @ClassRule public static final OptionalDockerRule ES_DOCKER = new OptionalDockerRule( DockerRule.builder() - .imageName( "mariadb:latest" ) + .imageName( "mariadb:10.1.21" ) .publishAllPorts( true ) .waitForTimeout( 120 ) .env("MYSQL_ROOT_PASSWORD", "") @@ -268,7 +268,7 @@ if( polygene.entitystore === 'Redis' ) { @ClassRule public static final OptionalDockerRule ES_DOCKER = new OptionalDockerRule( DockerRule.builder() - .imageName( "redis:latest" ) + .imageName( "redis:3.2.8-alpine" ) .publishAllPorts( true ) .waitForTimeout( 120 ) .waitFor( pl.domzal.junit.docker.rule.WaitFor.tcpPort( 6379 ) ) ); @@ -281,7 +281,7 @@ if( polygene.entitystore === 'Riak' ) { @ClassRule public static final OptionalDockerRule ES_DOCKER = new OptionalDockerRule( DockerRule.builder() - .imageName( "basho/riak-kv:latest" ) + .imageName( "basho/riak-kv:ubuntu-2.2.3" ) .publishAllPorts( true ) .waitForTimeout( 120 ) .waitFor( WaitFor.logMessageSequence( "riak_auth_mods started on node" ) ) );
