Remove Old 'test-sign-daily-master' Job and Script 13/24113/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 9 Nov 2016 19:46:30 +0000 (11:46 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 9 Nov 2016 19:46:30 +0000 (11:46 -0800)
Artifact signing is in place and working. This job is currently
returning false-positive successful runs and consuming resources on
Jenkins master.

Change-Id: I6e94f361c117221b4b9d0ba08f9359f539815834
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/opnfv/test-sign.yml [deleted file]
utils/test-sign-artifact.sh [deleted file]

diff --git a/jjb/opnfv/test-sign.yml b/jjb/opnfv/test-sign.yml
deleted file mode 100644 (file)
index b27d757..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-- project:
-    name: test-sign
-
-    project: 'releng'
-
-    jobs:
-        - 'test-sign-daily-{stream}'
-
-    stream:
-        - master:
-            branch: '{stream}'
-            gs-pathname: ''
-
-
-- job-template:
-    name: 'test-sign-daily-{stream}'
-
-    # Job template for daily builders
-    #
-    # Required Variables:
-    #     stream:    branch with - in place of / (eg. stable)
-    #     branch:    branch (eg. stable)
-    node: master
-
-    disabled: false
-
-    parameters:
-        - project-parameter:
-            project: '{project}'
-
-    scm:
-        - git-scm:
-            credentials-id: '{ssh-credentials}'
-            refspec: ''
-            branch: '{branch}'
-
-    triggers:
-        - timed: 'H H * * *'
-
-    builders:
-        - shell: |
-            $WORKSPACE/utils/test-sign-artifact.sh
diff --git a/utils/test-sign-artifact.sh b/utils/test-sign-artifact.sh
deleted file mode 100755 (executable)
index f09b7f4..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-export PATH=$PATH:/usr/local/bin/
-
-# 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
-if [ -f $WORKSPACE/releng/utils/gpg_import_key.sh ]; then 
-  source $WORKSPACE/releng/utils/gpg_import_key.sh
-fi
-
-artifact="foo"
-echo foo > foo
-
-testsign () {
-  echo "Signing artifact: ${artifact}"
-  gpg2 -vvv --batch \
-    --default-key opnfv-helpdesk@rt.linuxfoundation.org  \
-    --passphrase besteffort \
-    --detach-sig $artifact
-}
-
-testsign
-