Add option to clone CI from OpenCI repository
To test patches submitted to OpenCI, a Jenkins job is created
here (https://gerrit.oss.arm.com/172749) that uses OpenCI
instead of Arm internal CI. This patch adds the necessary
modifications to be able to clone and checkout patches from
OpenCI when needed.
By default the internal CI is used. Alternatively OpenCI
can be used by specifying the new CI_SRC_REPO_URL parameter
when launching a tf-ci-gateway job.
Change-Id: I9378da1a3f7820033c5f8916fd2caa4542550c3e
Signed-off-by: Zelalem <zelalem.aweke@arm.com>
diff --git a/utils.sh b/utils.sh
index d0ffd1b..e81cc47 100644
--- a/utils.sh
+++ b/utils.sh
@@ -307,6 +307,7 @@
tftf_src_repo_url="${tftf_src_repo_url:-$TFTF_SRC_REPO_URL}"
tftf_src_repo_url="${tftf_src_repo_url:-https://$tforg_gerrit_url/TF-A/tf-a-tests}"
scp_src_repo_url="${scp_src_repo_url:-$SCP_SRC_REPO_URL}"
+tf_ci_repo_url="${tf_ci_repo_url:-$CI_SRC_REPO_URL}"
# FIXME set a sane default for tfa_downloads
tfa_downloads="${tfa_downloads:-file:///downloads/tf-a}"