summaryrefslogtreecommitdiffstats
path: root/build/creating_data
diff options
context:
space:
mode:
authorMichal Ptacek <m.ptacek@partner.samsung.com>2019-04-05 11:34:33 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-05 11:34:33 +0000
commit171c3dc7dd5a9cdc25651812dc716174c38d5f06 (patch)
treec0708eb3ee7fb1344037c4dd1fcf25416e43595c /build/creating_data
parent324c13b62331292a5ea7dbc6ee6442e976cbb2a4 (diff)
parent90ec0cf1365c7d5b104ed921a9c273623a4886ba (diff)
Merge "Our bare repos need to have casablanca branch"
Diffstat (limited to 'build/creating_data')
-rwxr-xr-xbuild/creating_data/download-bin-tools.sh22
-rwxr-xr-xbuild/creating_data/download-git-repos.sh2
2 files changed, 8 insertions, 16 deletions
diff --git a/build/creating_data/download-bin-tools.sh b/build/creating_data/download-bin-tools.sh
index d363bde9..a87fa204 100755
--- a/build/creating_data/download-bin-tools.sh
+++ b/build/creating_data/download-bin-tools.sh
@@ -18,29 +18,21 @@
usage () {
echo "Usage:"
- echo -e "./$(basename $0) <project version> [destination directory]\n"
+ echo -e "./$(basename $0) [destination directory]\n"
echo "Examples:"
- echo " ./$(basename $0) onap_3.0.0 ./git-repo"
+ echo " ./$(basename $0) ./git-repo"
}
-if [ "${1}" == "-h" ] || [ -z "${1}" ] || [ -z "${2}"]; then
+if [ "${1}" == "-h" ] || [ -z "${1}" ] ; then
usage
exit 1
else
- TAG="${1}"
- OUTDIR="${2}"
+ OUTDIR="${1}"
fi
-if [ "${TAG}" == onap_2.0.0 ]; then
- KUBECTL_VERSION=1.8.10
- HELM_VERSION=2.8.2
-elif [ "${TAG}" == onap_3.0.0 ]; then
- KUBECTL_VERSION=1.11.2
- HELM_VERSION=2.9.1
-else
- KUBECTL_VERSION=1.11.2
- HELM_VERSION=2.9.1
-fi
+# we are keeping just casablanca support in casablanca branch
+KUBECTL_VERSION=${KUBECTL_VERSION:-1.11.2}
+HELM_VERSION=${HELM_VERSION:-2.9.1}
mkdir -p "$OUTDIR"
cd "$OUTDIR"
diff --git a/build/creating_data/download-git-repos.sh b/build/creating_data/download-git-repos.sh
index 0219eb6f..7853a141 100755
--- a/build/creating_data/download-git-repos.sh
+++ b/build/creating_data/download-git-repos.sh
@@ -24,7 +24,7 @@ usage () {
echo "Usage:"
echo -e "./$(basename $0) <repository list> [destination directory]\n"
echo "Examples:"
- echo " ./$(basename $0) onap_3.0.0-git_repos.list ./git-repo"
+ echo " ./$(basename $0) onap_3.0.x-git_repos.list ./git-repo"
}
LIST="${1}"