summaryrefslogtreecommitdiffstats
path: root/csit/get-models-examples.sh
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-02-17 12:57:59 +0000
committerGerrit Code Review <gerrit@onap.org>2022-02-17 12:57:59 +0000
commit6fe7a26007187510fad151dbbf8314c53787fe76 (patch)
tree7aaab320941748a357457ca87c4ca605662a8547 /csit/get-models-examples.sh
parent461a8bd824c06f42c717e6db55ba5cbb8b280c46 (diff)
parent7abe36cd557a9c2d5abebcf54a4ed5957a4168a1 (diff)
Merge "Add docker configuration for Prometheus and Grafana"
Diffstat (limited to 'csit/get-models-examples.sh')
-rw-r--r--csit/get-models-examples.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/csit/get-models-examples.sh b/csit/get-models-examples.sh
index e83b0245..fe75c90d 100644
--- a/csit/get-models-examples.sh
+++ b/csit/get-models-examples.sh
@@ -2,6 +2,7 @@
#
# ============LICENSE_START===================================================
# Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
+# Modifications Copyright 2022 Nordix Foundation.
# ============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,11 +18,11 @@
# ============LICENSE_END=====================================================
#
-source ${SCRIPTS}/get-branch-mariadb.sh
+source "${SCRIPTS}"/get-branch.sh
-rm -rf ${WORKSPACE}/models
-mkdir ${WORKSPACE}/models
-cd ${WORKSPACE}
+rm -rf "${WORKSPACE}"/models
+mkdir "${WORKSPACE}"/models
+cd "${WORKSPACE}"
# download models examples
-git clone -b ${GERRIT_BRANCH} --single-branch https://github.com/onap/policy-models.git models
+git clone -b "${GERRIT_BRANCH}" --single-branch https://github.com/onap/policy-models.git models