ACS-3841 Rename the ci scripts directory

This commit is contained in:
Damian.Ujma@hyland.com
2022-11-22 10:30:20 +01:00
parent 614884a4f6
commit 46b3021541
15 changed files with 25 additions and 293 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set +vx
function cloneRepo() {
local REPO="${1}"
local TAG_OR_BRANCH="${2}"
printf "Clonning \"%s\" on %s\n" "${TAG_OR_BRANCH}" "${REPO}"
# clone the repository branch/tag
pushd "$(dirname "${BASH_SOURCE[0]}")/../../../" >/dev/null
rm -rf "$(basename "${REPO%.git}")"
git clone -b "${TAG_OR_BRANCH}" --depth=1 "https://${GIT_USERNAME}:${GIT_PASSWORD}@${REPO}"
popd >/dev/null
}
set -vx