summaryrefslogtreecommitdiffstats
path: root/csit/prepare-csit.sh
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-04-08 15:28:15 -0400
committerJim Hahn <jrh3@att.com>2021-04-08 16:05:49 -0400
commitcfc44f03869b13373946f6f76adc00e5a0539abb (patch)
tree50960315236dc4aea6eeb9ada3ca3040762dfda2 /csit/prepare-csit.sh
parent516b0a8287a70500e1c68c13afb264d20af5efeb (diff)
Use github in lieu of gerrit mirror
The gerrit mirror is not always accessible behind corporate firewalls, thus changed the CSITs to use github instead. Also modified the script to only clone ci-management to /tmp if it does not already exist. Issue-ID: POLICY-3179 Change-Id: I9cac98b04e000d9365e05a1f2ca1c328fef14c6c Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'csit/prepare-csit.sh')
-rwxr-xr-xcsit/prepare-csit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/csit/prepare-csit.sh b/csit/prepare-csit.sh
index 4275841f..b15aa4ee 100755
--- a/csit/prepare-csit.sh
+++ b/csit/prepare-csit.sh
@@ -33,11 +33,11 @@ if [ -f ${WORKSPACE}/env.properties ]; then
fi
if [ -f ${ROBOT_VENV}/bin/activate ]; then
source ${ROBOT_VENV}/bin/activate
-else
+elif [ ! -d /tmp/ci-management ]; then
rm -rf /tmp/ci-management
rm -f ${WORKSPACE}/env.properties
cd /tmp
- git clone -b master --single-branch git://gerrit-mirror-ap.onap.org/mirror/ci-management.git
+ git clone -b master --single-branch https://github.com/onap/ci-management.git
source /tmp/ci-management/jjb/integration/include-raw-integration-install-robotframework.sh
fi