diff options
author | 2016-07-06 09:30:59 -0400 | |
---|---|---|
committer | 2016-07-06 10:18:03 -0400 | |
commit | 466861ff862f4b259568305176b6a27f8f7f31ca (patch) | |
tree | e2d5e8c922ed5e3526b7832e55cfebb6c047171b | |
parent | e7d30f13856514cf078761d68aeccbdc2e85f23f (diff) |
For artifact signing we need the releng repo.
Forgot to clone the releng repo so that my
script is avaliable
Change-Id: I5e8658123140c0c173138e597730263753099503
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
-rwxr-xr-x | jjb/apex/apex-upload-artifact.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jjb/apex/apex-upload-artifact.sh b/jjb/apex/apex-upload-artifact.sh index ba69f3eb6..49e19bb12 100755 --- a/jjb/apex/apex-upload-artifact.sh +++ b/jjb/apex/apex-upload-artifact.sh @@ -11,8 +11,14 @@ echo # source the opnfv.properties to get ARTIFACT_VERSION source $WORKSPACE/opnfv.properties +# clone releng repository +echo "Cloning releng repository..." +[ -d releng ] && rm -rf releng +git clone https://gerrit.opnfv.org/gerrit/releng $WORKSPACE/releng/ &> /dev/null #this is where we import the siging key -source $WORKSPACE/releng/utils/gpg_import_key.sh +if [ -f $WORKSPACE/releng/utils/gpg_import_key.sh ]; then + source $WORKSPACE/releng/utils/gpg_import_key.sh +fi signrpm () { for artifact in $RPM_LIST $SRPM_LIST; do |