From 72ab27cef031b823174aa38a5c53de31c7a07393 Mon Sep 17 00:00:00 2001 From: mpeddada1 Date: Wed, 19 Jun 2024 00:39:38 +0000 Subject: [PATCH] switch order --- .../cloud/tools/jib/api/JibIntegrationTest.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/jib-core/src/integration-test/java/com/google/cloud/tools/jib/api/JibIntegrationTest.java b/jib-core/src/integration-test/java/com/google/cloud/tools/jib/api/JibIntegrationTest.java index 57746893eb..dc3b768afc 100644 --- a/jib-core/src/integration-test/java/com/google/cloud/tools/jib/api/JibIntegrationTest.java +++ b/jib-core/src/integration-test/java/com/google/cloud/tools/jib/api/JibIntegrationTest.java @@ -425,6 +425,13 @@ public void testDistroless_ociManifest() System.out.println("testDistroless_ociManifest()"); System.out.println(Runtime.getRuntime().availableProcessors()); + String toImage = dockerHost + ":5000/docker-daemon-mismatched-arch"; + Jib.from( + RegistryImage.named( + "busybox@sha256:eb427d855f82782c110b48b9a398556c629ce4951ae252c6f6751a136e194668")) + .containerize(Containerizer.to(DockerDaemonImage.named(toImage))); + + System.out.println("Between builds"); Jib.from("gcr.io/distroless/base@" + KNOWN_OCI_INDEX_SHA) .setPlatforms( ImmutableSet.of(new Platform("arm64", "linux"), new Platform("amd64", "linux"))) @@ -433,13 +440,7 @@ public void testDistroless_ociManifest() Containerizer.to( RegistryImage.named(dockerHost + ":6000/jib-distroless:multi-platform")) .setAllowInsecureRegistries(true)); - System.out.println("Between builds"); - String toImage = dockerHost + ":5000/docker-daemon-mismatched-arch"; - Jib.from( - RegistryImage.named( - "busybox@sha256:eb427d855f82782c110b48b9a398556c629ce4951ae252c6f6751a136e194668")) - .containerize(Containerizer.to(DockerDaemonImage.named(toImage))); System.out.println("post-build"); V22ManifestListTemplate manifestList =