Ignore Test Repositories when generating Archive 64/69664/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 10 Feb 2020 19:12:03 +0000 (11:12 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 10 Feb 2020 19:13:11 +0000 (11:13 -0800)
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 <tbramwell@linuxfoundation.org>
jjb/releng/opnfv-repo-archiver.sh

index b7ff3ba..7a92e6f 100644 (file)
@@ -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