From: Mike Marchetti Date: Tue, 27 Mar 2018 19:09:44 +0000 (-0400) Subject: add devops repo for publish X-Git-Tag: v3.1.0~36 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F5916%2F1;p=osm%2Fdevops.git add devops repo for publish Signed-off-by: Mike Marchetti --- diff --git a/tools/gen-repo.sh b/tools/gen-repo.sh index c7e7bc73..5364e439 100755 --- a/tools/gen-repo.sh +++ b/tools/gen-repo.sh @@ -15,6 +15,7 @@ function usage() { echo -e " -R " echo -e " -P " echo -e " -c " + echo -e " -m " exit 1 } @@ -38,6 +39,7 @@ function dump_vars() { echo "BUILD_NUMBER: $BUILD_NUMBER" } +MDG_REPOS="RO osmclient openvim SO UI IM devops" IN_REPO="unstable" OUT_REPO="stable" GPGKEY=71C0472C @@ -49,7 +51,7 @@ CURR_DIR=$(pwd) PUBLIC_KEY_FILE=~/OSM\ ETSI\ Release\ Key.gpg CHANGE_LOG_FILE= -while getopts ":p:i:o:k:j::d:b:r:h:R:P:c:" o; do +while getopts ":p:i:o:k:j::d:b:r:h:R:P:c:m:" o; do case "${o}" in p) PASSPHRASE_FILE=${OPTARG} @@ -87,6 +89,9 @@ while getopts ":p:i:o:k:j::d:b:r:h:R:P:c:" o; do c) CHANGE_LOG_FILE=${OPTARG} ;; + m) + MDG_REPOS=${OPTARG} + ;; *) usage exit 1 @@ -119,7 +124,7 @@ cp -R $BUILD_NUMBER/changelog $BASE_DIR/ cd $BASE_DIR -for i in RO osmclient openvim SO UI IM; do +for i in $MDG_REPOS; do # gpg sign the packages dpkg-sig -g "$GPG_PASSPHRASE" -k $GPGKEY --sign builder pool/$i/*.deb