Jonathan Cave has proposed merging ~jocave/hwcert-jenkins-jobs:remove-mr-reminder-job into hwcert-jenkins-jobs:master.
Requested reviews: hwcert-jenkins (hwcert-jenkins) For more details, see: https://code.launchpad.net/~jocave/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/433743 Remove the job to send the MR reminder email - it seems to be not often acted on and many of the projects have moved out of LP -- Your team hwcert-jenkins is requested to review the proposed merge of ~jocave/hwcert-jenkins-jobs:remove-mr-reminder-job into hwcert-jenkins-jobs:master.
diff --git a/jobs/infrastructure/remind-old-mps/remind-old-mps.sh b/jobs/infrastructure/remind-old-mps/remind-old-mps.sh deleted file mode 100644 index ee02e74..0000000 --- a/jobs/infrastructure/remind-old-mps/remind-old-mps.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -ex -# -# Copyright (C) 2018 Canonical Ltd -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 3 as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -CRED_PATH="$JENKINS_HOME/.hwcert_creds/" - -cat <<EOF >build-env.sh -{build_env} -EOF -. build-env.sh - -if ! git -C "$WORKSPACE/hwcert-jenkins-tools" pull; then - rm -rf "$WORKSPACE/hwcert-jenkins-tools" - git clone https://git.launchpad.net/hwcert-jenkins-tools "$WORKSPACE/hwcert-jenkins-tools" -fi - -cd hwcert-jenkins-tools -rm -f old-mps pmr.conf -wget https://raw.githubusercontent.com/checkbox/pmr-configs/master/pmr.conf -./find-old-mps --credentials $LP_CREDS > old-mps -if [ -s old-mps ]; then - ./mailtool -t {email} -s "Old hwcert merge proposals need your help" old-mps -fi diff --git a/jobs/infrastructure/remind-old-mps/remind-old-mps.yaml b/jobs/infrastructure/remind-old-mps/remind-old-mps.yaml deleted file mode 100644 index 4a041f3..0000000 --- a/jobs/infrastructure/remind-old-mps/remind-old-mps.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- project: - name: remind-old-mps - jobs: - - '{prefix}-remind-old-mps' - -- job-template: - name: '{prefix}-remind-old-mps' - project-type: freestyle - email: [email protected] - description: | - Nag the team about old merge proposals - properties: - - build-discarder: - num-to-keep: 10 - triggers: - - timed: '@daily' - wrappers: - - timestamps - - credentials-binding: - - file: - credential-id: lp-credentials - variable: LP_CREDS - - username-password-separated: - credential-id: smtp-relay-auth - username: SMTP_USER - password: SMTP_PASSWORD - builders: - - shell: - !include-raw: remind-old-mps.sh
-- Mailing list: https://launchpad.net/~canonical-hw-cert Post to : [email protected] Unsubscribe : https://launchpad.net/~canonical-hw-cert More help : https://help.launchpad.net/ListHelp

