From d8540ee1575a71c3613164ee7cec1afebd7b4eb7 Mon Sep 17 00:00:00 2001 From: Josh Kneubuhl Date: Fri, 20 May 2022 09:04:34 -0400 Subject: [PATCH] Incorporate review feedback : remove zz_unused and pkgk8scc routines Signed-off-by: Josh Kneubuhl --- test-network-k8s/scripts/chaincode.sh | 13 ---- test-network-k8s/scripts/pkgk8scc.sh | 100 -------------------------- 2 files changed, 113 deletions(-) delete mode 100755 test-network-k8s/scripts/pkgk8scc.sh diff --git a/test-network-k8s/scripts/chaincode.sh b/test-network-k8s/scripts/chaincode.sh index 55b2ad94..40f9dd47 100755 --- a/test-network-k8s/scripts/chaincode.sh +++ b/test-network-k8s/scripts/chaincode.sh @@ -126,19 +126,6 @@ function publish_chaincode_image() { pop_fn } -# Infer a reasonable name for the chaincode image based on the folder path conventions, or -# allow the user to override with TEST_NETWORK_CHAINCODE_IMAGE. -function zz_unused_set_chaincode_image() { - local cc_folder=$1 - - if [ -z "$TEST_NETWORK_CHAINCODE_IMAGE" ]; then - # cc_folder path starting with first index of "fabric-samples" - CHAINCODE_IMAGE=${cc_folder/*fabric-samples/fabric-samples} - else - CHAINCODE_IMAGE=${TEST_NETWORK_CHAINCODE_IMAGE} - fi -} - # Convenience routine to "do everything other than package and launch" a sample CC. # When debugging a chaincode server, the process must be launched prior to completing # the chaincode lifecycle at the peer. This routine provides a route for packaging diff --git a/test-network-k8s/scripts/pkgk8scc.sh b/test-network-k8s/scripts/pkgk8scc.sh deleted file mode 100755 index 51941000..00000000 --- a/test-network-k8s/scripts/pkgk8scc.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh -l - -# -# SPDX-License-Identifier: Apache-2.0 -# - -usage() { - echo "Usage: pkgk8scc.sh -l