From e84250cc5874fdf309fc21e22311bc7501f2621c Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 17 Jun 2022 11:11:55 +0100 Subject: Make CSIT scripts locally executable 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 --- csit/apex-pdp/plans/setup.sh | 0 csit/apex-pdp/plans/teardown.sh | 0 csit/api/plans/setup.sh | 0 csit/clamp/plans/setup.sh | 0 csit/clamp/plans/teardown.sh | 0 csit/config/db-pg/db-pg.sh | 0 csit/db-migrator/plans/setup.sh | 0 csit/db-migrator/plans/teardown.sh | 0 csit/distribution/plans/setup.sh | 0 csit/distribution/plans/teardown.sh | 0 csit/get-branch.sh | 0 csit/get-models-examples.sh | 0 csit/get-versions.sh | 10 +++++++++- csit/include-raw-integration-install-robotframework.sh | 0 csit/pap/plans/setup.sh | 0 csit/pap/plans/teardown.sh | 0 csit/xacml-pdp/plans/setup.sh | 0 csit/xacml-pdp/plans/teardown.sh | 0 18 files changed, 9 insertions(+), 1 deletion(-) mode change 100644 => 100755 csit/apex-pdp/plans/setup.sh mode change 100644 => 100755 csit/apex-pdp/plans/teardown.sh mode change 100644 => 100755 csit/api/plans/setup.sh mode change 100644 => 100755 csit/clamp/plans/setup.sh mode change 100644 => 100755 csit/clamp/plans/teardown.sh mode change 100644 => 100755 csit/config/db-pg/db-pg.sh mode change 100644 => 100755 csit/db-migrator/plans/setup.sh mode change 100644 => 100755 csit/db-migrator/plans/teardown.sh mode change 100644 => 100755 csit/distribution/plans/setup.sh mode change 100644 => 100755 csit/distribution/plans/teardown.sh mode change 100644 => 100755 csit/get-branch.sh mode change 100644 => 100755 csit/get-models-examples.sh mode change 100644 => 100755 csit/get-versions.sh mode change 100644 => 100755 csit/include-raw-integration-install-robotframework.sh mode change 100644 => 100755 csit/pap/plans/setup.sh mode change 100644 => 100755 csit/pap/plans/teardown.sh mode change 100644 => 100755 csit/xacml-pdp/plans/setup.sh mode change 100644 => 100755 csit/xacml-pdp/plans/teardown.sh (limited to 'csit') diff --git a/csit/apex-pdp/plans/setup.sh b/csit/apex-pdp/plans/setup.sh old mode 100644 new mode 100755 diff --git a/csit/apex-pdp/plans/teardown.sh b/csit/apex-pdp/plans/teardown.sh old mode 100644 new mode 100755 diff --git a/csit/api/plans/setup.sh b/csit/api/plans/setup.sh old mode 100644 new mode 100755 diff --git a/csit/clamp/plans/setup.sh b/csit/clamp/plans/setup.sh old mode 100644 new mode 100755 diff --git a/csit/clamp/plans/teardown.sh b/csit/clamp/plans/teardown.sh old mode 100644 new mode 100755 diff --git a/csit/config/db-pg/db-pg.sh b/csit/config/db-pg/db-pg.sh old mode 100644 new mode 100755 diff --git a/csit/db-migrator/plans/setup.sh b/csit/db-migrator/plans/setup.sh old mode 100644 new mode 100755 diff --git a/csit/db-migrator/plans/teardown.sh b/csit/db-migrator/plans/teardown.sh old mode 100644 new mode 100755 diff --git a/csit/distribution/plans/setup.sh b/csit/distribution/plans/setup.sh old mode 100644 new mode 100755 diff --git a/csit/distribution/plans/teardown.sh b/csit/distribution/plans/teardown.sh old mode 100644 new mode 100755 diff --git a/csit/get-branch.sh b/csit/get-branch.sh old mode 100644 new mode 100755 diff --git a/csit/get-models-examples.sh b/csit/get-models-examples.sh old mode 100644 new mode 100755 diff --git a/csit/get-versions.sh b/csit/get-versions.sh old mode 100644 new mode 100755 index 6e50d088..87c43b50 --- a/csit/get-versions.sh +++ b/csit/get-versions.sh @@ -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. @@ -18,7 +20,13 @@ # 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} diff --git a/csit/include-raw-integration-install-robotframework.sh b/csit/include-raw-integration-install-robotframework.sh old mode 100644 new mode 100755 diff --git a/csit/pap/plans/setup.sh b/csit/pap/plans/setup.sh old mode 100644 new mode 100755 diff --git a/csit/pap/plans/teardown.sh b/csit/pap/plans/teardown.sh old mode 100644 new mode 100755 diff --git a/csit/xacml-pdp/plans/setup.sh b/csit/xacml-pdp/plans/setup.sh old mode 100644 new mode 100755 diff --git a/csit/xacml-pdp/plans/teardown.sh b/csit/xacml-pdp/plans/teardown.sh old mode 100644 new mode 100755 -- cgit 1.2.3-korg