Make CSIT scripts locally executable 40/129640/2
authorliamfallon <liam.fallon@est.tech>
Fri, 17 Jun 2022 09:56:00 +0000 (10:56 +0100)
committerliamfallon <liam.fallon@est.tech>
Fri, 17 Jun 2022 09:58:50 +0000 (10:58 +0100)
The CSIT scripts do not have their executable flags set, this change
makes the scripts locally executable.

Issue-ID: POLICY-4233
Change-Id: I6ce1f2abc3b3b3a1fa71c393a8f3e26a2fa85144
Signed-off-by: liamfallon <liam.fallon@est.tech>
19 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]
policy-db-migrator/src/main/docker/env.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)
old mode 100644 (file)
new mode 100755 (executable)