From 179ef52baed101ce59d1c7f37fa91ae17fe16f34 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Tue, 19 Sep 2023 14:45:44 +0200 Subject: [PATCH] HSEARCH-4920 Don't pre-pull images from elastic docker registry --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3b3c8490497..a2903dfddfd 100644 --- a/pom.xml +++ b/pom.xml @@ -989,7 +989,8 @@ if ( isFalseString( '${test.database.run.cockroachdb.skip}' ) ) { images += '${test.database.run.cockroachdb.image.name}:${test.database.run.cockroachdb.image.tag}' } - new File('${containerImagesListFile}').append( images.join('\n') + '\n' ) + // Exclude images from non-dockerhub repositories + new File('${containerImagesListFile}').append( images.findAll{ref -> !(ref ==~ /^(?!((.*\.)?docker\.io))[\w\d\.]+\/[\w\d\.]+\/[\w\d\.]+(:.+)?$/)}.join('\n') + '\n' ) ]]>