From cc70ec725af79c53b015717734cd1ad8992270ae Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Tue, 11 May 2021 15:08:18 +0200 Subject: [PATCH] Revert "Do we still have this issue?" -- Yes we do, or don't we? Current issue was that `crane verify` was very slow. Is it always? Anyhow this change wasn't necessary for Yolean/ystack#39 This reverts commit 51797270c7774e3c101917420019d22fd5b839c0. --- bin/y-build-like-sync | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/y-build-like-sync b/bin/y-build-like-sync index 650a5e03..5b199ee6 100755 --- a/bin/y-build-like-sync +++ b/bin/y-build-like-sync @@ -47,13 +47,12 @@ case "$RUNTIME_IMAGE" in docker push $RUNTIME_IMAGE ;; $BUILDS_REGISTRY* ) - y-crane validate --remote=$RUNTIME_IMAGE ;; esac -# # crane hangs for a long time if it doesn't know that the registry is plain http -# RUNTIME_IMAGE=$(echo $RUNTIME_IMAGE | sed 's|.local/|.local:80/|') -# IMAGE=$(echo $IMAGE | sed 's|.local/|.local:80/|') +# crane hangs for a long time if it doesn't know that the registry is plain http +RUNTIME_IMAGE=$(echo $RUNTIME_IMAGE | sed 's|.local/|.local:80/|') +IMAGE=$(echo $IMAGE | sed 's|.local/|.local:80/|') # This is a PoC, let's make a lot of assumptions to simplify context=.