From: Trevor Bramwell Date: Mon, 10 Feb 2020 19:12:03 +0000 (-0800) Subject: Ignore Test Repositories when generating Archive X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=d640b6bbe2b0b7464502762d12e2143f4ec939b2 Ignore Test Repositories when generating Archive Ignores the 'test' repositories created in Gerrit as they don't contain any actual OPNFV code. This may break if we ever add a project that begins with 'test' in the name but I expect the chances of that are low. Change-Id: I633ce85e85c82d4c5ff85a4fb66bddf891cd0bfb Signed-off-by: Trevor Bramwell --- diff --git a/jjb/releng/opnfv-repo-archiver.sh b/jjb/releng/opnfv-repo-archiver.sh index b7ff3baa0..7a92e6f1b 100644 --- a/jjb/releng/opnfv-repo-archiver.sh +++ b/jjb/releng/opnfv-repo-archiver.sh @@ -14,7 +14,7 @@ export PATH=$PATH:/usr/local/bin/ DATE="$(date +%Y%m%d)" declare -a PROJECT_LIST -EXCLUDE_PROJECTS="All-Projects|All-Users|securedlab" +EXCLUDE_PROJECTS="All-Projects|All-Users|securedlab|^test" CLONE_PATH="$WORKSPACE/opnfv-repos" # Generate project list from gerrit