summaryrefslogtreecommitdiffstats
path: root/build/creating_data
diff options
context:
space:
mode:
authorMichal Ptacek <m.ptacek@partner.samsung.com>2019-04-03 13:55:29 +0000
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-04-05 13:23:09 +0200
commit90ec0cf1365c7d5b104ed921a9c273623a4886ba (patch)
treec7df982159c24aef7be0e46add76092209fbf358 /build/creating_data
parent4e2e9e887b8941a501a80a6c870ad4cb9295ddac (diff)
Our bare repos need to have casablanca branch
This is required to align with OOM charts, otherwise some components like DMAAP might be not initialized properly. Furthmore removing duplicated files, most of our data_lists are same for Casablanca MR and Casablanca base releases. Change-Id: I376410c7915d8f2682287c31392e2f3796adc990 Issue-ID: OOM-1771 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
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}"