Skip to content

Commit

Permalink
sleep before next build
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeddada1 committed Jun 19, 2024
1 parent 72ab27c commit b1c242f
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,13 +425,6 @@ 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")))
Expand All @@ -441,6 +434,13 @@ public void testDistroless_ociManifest()
RegistryImage.named(dockerHost + ":6000/jib-distroless:multi-platform"))
.setAllowInsecureRegistries(true));

System.out.println("Between builds");
Thread.sleep(2000);
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 =
Expand Down

0 comments on commit b1c242f

Please sign in to comment.