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

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


The following commit(s) were added to refs/heads/main by this push:
     new 60b7548e1 fix(#745): bump the Pub/Sub emulator image to a tag gcr.io 
still serves (#746)
60b7548e1 is described below

commit 60b7548e1af93fe2c3656598919b5dd690a1d522
Author: JB Onofré <[email protected]>
AuthorDate: Wed Sep 2 15:57:13 2026 +0200

    fix(#745): bump the Pub/Sub emulator image to a tag gcr.io still serves 
(#746)
    
    CamelGooglePubsubITest pinned
    gcr.io/google.com/cloudsdktool/google-cloud-cli:441.0.0-emulators, which
    Google has pruned from the registry. Testcontainers fails the container
    fetch with "manifest unknown", the module errors out in
    initializationError, and the reactor halts there, skipping 33 later
    modules. main has been red since then.
    
    The registry keeps only a rolling window of the most recent emulator
    tags (49 at the time of writing, 537.0.0 through 583.0.0), so the pin
    was always going to rot. Bump it to 583.0.0-emulators and record the
    retention behaviour in a comment so the next bump is not a mystery.
    
    The other four pinned test images (cp-kafka, influxdb, localstack,
    rabbitmq) still resolve and 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