From nobody Wed May 8 23:27:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1529583696037833.6716808468384; Thu, 21 Jun 2018 05:21:36 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DD388821C3; Thu, 21 Jun 2018 12:21:33 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8D0EF2010CBC; Thu, 21 Jun 2018 12:21:33 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id EBB594A460; Thu, 21 Jun 2018 12:21:32 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w5LCLVQd023187 for ; Thu, 21 Jun 2018 08:21:31 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1D51A2156889; Thu, 21 Jun 2018 12:21:31 +0000 (UTC) Received: from antique-work.brq.redhat.com (unknown [10.43.2.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id B4A082156880 for ; Thu, 21 Jun 2018 12:21:30 +0000 (UTC) From: Pavel Hrdina To: libvir-list@redhat.com Date: Thu, 21 Jun 2018 14:21:28 +0200 Message-Id: <06228b763b491fb6eaeaa9dc192cdf83d957a909.1529583543.git.phrdina@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH 1/2] jobs: Change git URL to github X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.25 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 21 Jun 2018 12:21:35 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" We had our own local copy of all projects synchronized by cron on the host where we have the CI VMs. This was to safe the traffic from libvirt.org repositories and to make the cloning for our Jenkins jobs faster. We might move our VMs into a cloud in future we would not be able to have any local copy so this changes the git URL to use github instead. Signed-off-by: Pavel Hrdina --- jobs/autotools.yaml | 2 +- jobs/generic.yaml | 2 +- jobs/go.yaml | 2 +- jobs/perl-modulebuild.yaml | 2 +- jobs/python-distutils.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jobs/autotools.yaml b/jobs/autotools.yaml index f526ed2..63a1e81 100644 --- a/jobs/autotools.yaml +++ b/jobs/autotools.yaml @@ -21,7 +21,7 @@ num-to-keep: 1000 scm: - git: - url: git://n64.pufty.ci.centos.org/{name}.git + url: https://github.com/libvirt/{name}.git branches: - origin/{branch} clean: diff --git a/jobs/generic.yaml b/jobs/generic.yaml index 3e20962..7919274 100644 --- a/jobs/generic.yaml +++ b/jobs/generic.yaml @@ -21,7 +21,7 @@ num-to-keep: 1000 scm: - git: - url: git://n64.pufty.ci.centos.org/{name}.git + url: https://github.com/libvirt/{name}.git branches: - origin/{branch} clean: diff --git a/jobs/go.yaml b/jobs/go.yaml index bffe56e..04ba49a 100644 --- a/jobs/go.yaml +++ b/jobs/go.yaml @@ -21,7 +21,7 @@ num-to-keep: 1000 scm: - git: - url: git://n64.pufty.ci.centos.org/{name}.git + url: https://github.com/libvirt/{name}.git branches: - origin/{branch} clean: diff --git a/jobs/perl-modulebuild.yaml b/jobs/perl-modulebuild.yaml index 4a79bab..ef16c6e 100644 --- a/jobs/perl-modulebuild.yaml +++ b/jobs/perl-modulebuild.yaml @@ -21,7 +21,7 @@ num-to-keep: 1000 scm: - git: - url: git://n64.pufty.ci.centos.org/{name}.git + url: https://github.com/libvirt/{name}.git branches: - origin/{branch} clean: diff --git a/jobs/python-distutils.yaml b/jobs/python-distutils.yaml index c075245..9e64c84 100644 --- a/jobs/python-distutils.yaml +++ b/jobs/python-distutils.yaml @@ -21,7 +21,7 @@ num-to-keep: 1000 scm: - git: - url: git://n64.pufty.ci.centos.org/{name}.git + url: https://github.com/libvirt/{name}.git branches: - origin/{branch} clean: --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Wed May 8 23:27:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1529583698255176.94111847901945; Thu, 21 Jun 2018 05:21:38 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A8EB0308A94F; Thu, 21 Jun 2018 12:21:36 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 651E06F7EC; Thu, 21 Jun 2018 12:21:36 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id EE6654A465; Thu, 21 Jun 2018 12:21:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w5LCLVl8023193 for ; Thu, 21 Jun 2018 08:21:31 -0400 Received: by smtp.corp.redhat.com (Postfix) id B2B032156889; Thu, 21 Jun 2018 12:21:31 +0000 (UTC) Received: from antique-work.brq.redhat.com (unknown [10.43.2.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id 57CA12156880 for ; Thu, 21 Jun 2018 12:21:31 +0000 (UTC) From: Pavel Hrdina To: libvir-list@redhat.com Date: Thu, 21 Jun 2018 14:21:29 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH 2/2] jobs: Switch to github webhook instead of polling X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Thu, 21 Jun 2018 12:21:37 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" If we use github as the remote repository we can take advantage of github webhooks in order to trigger our Jobs instead of blind polling. CentOS CI provides that option [1]. [1] Signed-off-by: Pavel Hrdina --- jobs/autotools.yaml | 3 +-- jobs/generic.yaml | 3 +-- jobs/go.yaml | 3 +-- jobs/perl-modulebuild.yaml | 3 +-- jobs/python-distutils.yaml | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/jobs/autotools.yaml b/jobs/autotools.yaml index 63a1e81..8a97a7a 100644 --- a/jobs/autotools.yaml +++ b/jobs/autotools.yaml @@ -31,8 +31,7 @@ triggers: - reverse: jobs: '{obj:parent_jobs}' - - pollscm: - cron: "H/20 * * * *" + - github axes: - axis: name: systems diff --git a/jobs/generic.yaml b/jobs/generic.yaml index 7919274..770b781 100644 --- a/jobs/generic.yaml +++ b/jobs/generic.yaml @@ -31,8 +31,7 @@ triggers: - reverse: jobs: '{obj:parent_jobs}' - - pollscm: - cron: "H/20 * * * *" + - github axes: - axis: name: systems diff --git a/jobs/go.yaml b/jobs/go.yaml index 04ba49a..7616185 100644 --- a/jobs/go.yaml +++ b/jobs/go.yaml @@ -31,8 +31,7 @@ triggers: - reverse: jobs: '{obj:parent_jobs}' - - pollscm: - cron: "H/20 * * * *" + - github axes: - axis: name: systems diff --git a/jobs/perl-modulebuild.yaml b/jobs/perl-modulebuild.yaml index ef16c6e..329bfcd 100644 --- a/jobs/perl-modulebuild.yaml +++ b/jobs/perl-modulebuild.yaml @@ -31,8 +31,7 @@ triggers: - reverse: jobs: '{obj:parent_jobs}' - - pollscm: - cron: "H/20 * * * *" + - github axes: - axis: name: systems diff --git a/jobs/python-distutils.yaml b/jobs/python-distutils.yaml index 9e64c84..dca016e 100644 --- a/jobs/python-distutils.yaml +++ b/jobs/python-distutils.yaml @@ -31,8 +31,7 @@ triggers: - reverse: jobs: '{obj:parent_jobs}' - - pollscm: - cron: "H/20 * * * *" + - github axes: - axis: name: systems --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list