This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch camel-karaf-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


The following commit(s) were added to refs/heads/camel-karaf-4.18.x by this 
push:
     new d5f507b51 fix(#748): bump the Pub/Sub emulator image on 4.18.x to a 
tag gcr.io still serves (#750)
d5f507b51 is described below

commit d5f507b51a8583ff1adf1fe6120958c59e86b097
Author: JB Onofré <[email protected]>
AuthorDate: Sun Sep 6 18:12:40 2026 +0200

    fix(#748): bump the Pub/Sub emulator image on 4.18.x to a tag gcr.io still 
serves (#750)
    
    Backport of #746.
    
    CamelGooglePubsubITest on this branch still pins
    gcr.io/google.com/cloudsdktool/google-cloud-cli:441.0.0-emulators. That tag
    still resolved on 2026-08-28 -- the CI run for PR #742 pulled it 
successfully
    -- but gcr.io keeps only a rolling window of the most recent emulator tags, 
so
    the pin has since stopped resolving.
    
    The failure mode is the one #746 described on main: Testcontainers fails the
    container fetch with "manifest unknown", the itest errors out in
    initializationError, and the reactor halts at camel-google-pubsub-test,
    skipping every later module. That blocks meaningful CI on the 4.18.x line,
    including PR #742.
    
    Bump it to 583.0.0-emulators and keep the comment recording the registry
    retention behaviour, so the next bump is not a mystery.
    
    The other four pinned test images (cp-kafka, influxdb, localstack, rabbitmq)
    are untouched.
---
 .../java/org/apache/karaf/camel/itest/CamelGooglePubsubITest.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/tests/features/camel-google-pubsub/src/test/java/org/apache/karaf/camel/itest/CamelGooglePubsubITest.java
 
b/tests/features/camel-google-pubsub/src/test/java/org/apache/karaf/camel/itest/CamelGooglePubsubITest.java
index dc0c4dd40..af1033713 100644
--- 
a/tests/features/camel-google-pubsub/src/test/java/org/apache/karaf/camel/itest/CamelGooglePubsubITest.java
+++ 
b/tests/features/camel-google-pubsub/src/test/java/org/apache/karaf/camel/itest/CamelGooglePubsubITest.java
@@ -64,9 +64,15 @@ public class CamelGooglePubsubITest extends 
AbstractCamelSingleFeatureResultMock
         static final String TEST_TOPIC = "test-topic";
         static final String TEST_SUBSCRIPTION = "test-subscription";
 
+        // gcr.io only retains a rolling window of the most recent 
google-cloud-cli emulator tags
+        // (~49 at the time of writing), so an exact pin eventually stops 
resolving and the itest
+        // fails with "manifest unknown". Bump this to a current tag when that 
happens.
+        private static final String PUB_SUB_EMULATOR_IMAGE
+                = 
"gcr.io/google.com/cloudsdktool/google-cloud-cli:583.0.0-emulators";
+
         public static GenericContainerResource<PubSubEmulatorContainer> 
createPubsubContainer() {
             final PubSubEmulatorContainer pubSubEmulatorContainer = new 
PubSubEmulatorContainer(
-                    
DockerImageName.parse("gcr.io/google.com/cloudsdktool/google-cloud-cli:441.0.0-emulators"));
+                    DockerImageName.parse(PUB_SUB_EMULATOR_IMAGE));
 
             return new GenericContainerResource<>(pubSubEmulatorContainer, 
resource -> {
                 setUpEmulator(pubSubEmulatorContainer);

Reply via email to