Make CSIT scripts locally executable 41/129641/1
authorliamfallon <liam.fallon@est.tech>
Fri, 17 Jun 2022 10:11:55 +0000 (11:11 +0100)
committerliamfallon <liam.fallon@est.tech>
Fri, 17 Jun 2022 10:12:04 +0000 (11:12 +0100)
The CSIT scripts do not have their executable flags set, this change
makes the scripts locally executable.

Issue-ID: POLICY-4233
Change-Id: Ia274481751076027c4224e791c3a35785b9d78a9
Signed-off-by: liamfallon <liam.fallon@est.tech>
18 files changed:
csit/apex-pdp/plans/setup.sh [changed mode: 0644->0755]
csit/apex-pdp/plans/teardown.sh [changed mode: 0644->0755]
csit/api/plans/setup.sh [changed mode: 0644->0755]
csit/clamp/plans/setup.sh [changed mode: 0644->0755]
csit/clamp/plans/teardown.sh [changed mode: 0644->0755]
csit/config/db-pg/db-pg.sh [changed mode: 0644->0755]
csit/db-migrator/plans/setup.sh [changed mode: 0644->0755]
csit/db-migrator/plans/teardown.sh [changed mode: 0644->0755]
csit/distribution/plans/setup.sh [changed mode: 0644->0755]
csit/distribution/plans/teardown.sh [changed mode: 0644->0755]
csit/get-branch.sh [changed mode: 0644->0755]
csit/get-models-examples.sh [changed mode: 0644->0755]
csit/get-versions.sh [changed mode: 0644->0755]
csit/include-raw-integration-install-robotframework.sh [changed mode: 0644->0755]
csit/pap/plans/setup.sh [changed mode: 0644->0755]
csit/pap/plans/teardown.sh [changed mode: 0644->0755]
csit/xacml-pdp/plans/setup.sh [changed mode: 0644->0755]
csit/xacml-pdp/plans/teardown.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 6e50d08..87c43b5
@@ -1,3 +1,5 @@
+#! /bin/bash
+
 # ============LICENSE_START====================================================
 #  Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
 #  Modification Copyright 2021-2022 Nordix Foundation.
 # SPDX-License-Identifier: Apache-2.0
 # ============LICENSE_END======================================================
 
-source "${SCRIPTS}"/get-branch.sh
+
+if [[ -z "$GERRIT_BRANCH" ]]
+then
+    source "${SCRIPTS}"/get-branch.sh
+else
+    echo GERRIT_BRANCH="${GERRIT_BRANCH}"
+fi
 
 export POLICY_MARIADB_VER=10.5.8
 echo POLICY_MARIADB_VER=${POLICY_MARIADB_VER}
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)