From 51824222a3cda55e0e899a553296b63d47240d6a Mon Sep 17 00:00:00 2001 From: Christian Bongiorno Date: Mon, 9 Oct 2023 17:40:58 +0000 Subject: [PATCH] GH-621 - remove some debug code --- scripts/bulkimport.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/bulkimport.sh b/scripts/bulkimport.sh index 9de37f338..1f798a56f 100755 --- a/scripts/bulkimport.sh +++ b/scripts/bulkimport.sh @@ -158,11 +158,10 @@ function repos { # the URL that comes in the original payload refers to the UI endpoint. Dumb jq -re --arg u "${url}" '.docker_remap[] | "\($u)/\(.key)"' "${tempJson}" | #grab the docker-local repos. Curl when used this xargs doesn't seem to be picking up the alias - xargs -n 10 -P 10 curl -snLf | tee onlydocker.json | + xargs -n 10 -P 10 curl -snLf | # this was literally the only field we couldn't get from before and, apparently it's no longer possible to # even set docker V1 in RT (even though there is a check, you get an error if you try). But for legacy reason, we - # have to go fetch them. This would be 1 line to simply fetch all repo data and remap it. But SOMEONE is worried about - # scalability + # have to go fetch them. jq -sre 'map(.dockerApiVersion |= ascii_downcase)' | # combined step 1 with the tf state and step 3, and give them saner names. But what if they have no tf file?? cat "${tempJson}" - | jq -sre '