canonical-hw-cert team mailing list archive
-
canonical-hw-cert team
-
Mailing list archive
-
Message #45765
[Merge] ~sylvain-pineau/hwcert-jenkins-jobs:remove_old_mr_reminder into hwcert-jenkins-jobs:master
Sylvain Pineau has proposed merging ~sylvain-pineau/hwcert-jenkins-jobs:remove_old_mr_reminder into hwcert-jenkins-jobs:master.
Requested reviews:
hwcert-jenkins (hwcert-jenkins)
For more details, see:
https://code.launchpad.net/~sylvain-pineau/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/433996
with all the checkbox stack now on GitHub, this job is useless
--
Your team hwcert-jenkins is requested to review the proposed merge of ~sylvain-pineau/hwcert-jenkins-jobs:remove_old_mr_reminder 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: ce-certification-qa@xxxxxxxxxxxxxxxxxxx
- 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
Follow ups