From nobody Mon May 12 08:44:25 2025 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 1523548785109140.95154854265627; Thu, 12 Apr 2018 08:59:45 -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 6C1B8804F3; Thu, 12 Apr 2018 15:59:43 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5735678BCB; Thu, 12 Apr 2018 15:59:42 +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 883E31800CAB; Thu, 12 Apr 2018 15:59:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w3CFxc6f027363 for ; Thu, 12 Apr 2018 11:59:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id B988BDEED0; Thu, 12 Apr 2018 15:59:38 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.44]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 61226DEECB for ; Thu, 12 Apr 2018 15:59:38 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Thu, 12 Apr 2018 17:59:26 +0200 Message-Id: <20180412155931.18830-2-abologna@redhat.com> In-Reply-To: <20180412155931.18830-1-abologna@redhat.com> References: <20180412155931.18830-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH v2 1/6] jobs: Introduce autotools-website-job 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.27]); Thu, 12 Apr 2018 15:59:43 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" libvirt recently dropped support for running on CentOS 6, but the libvirt.org website still runs on that platform, so we need to be able to at least build documentation and create distribution tarballs a little while longer. autotools-website-job is the template for an ad-hoc job that does exactly that, thus guaranteeing that the bare minimum functionality we still need to work in CentOS 6 will, even as the library itself moves forward and possibly stops building on the OS altogether. Signed-off-by: Andrea Bolognani --- jobs/autotools.yaml | 67 +++++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 67 insertions(+) diff --git a/jobs/autotools.yaml b/jobs/autotools.yaml index 0c164d3..9b26bc3 100644 --- a/jobs/autotools.yaml +++ b/jobs/autotools.yaml @@ -257,3 +257,70 @@ recipients: '{obj:spam}' notify-every-unstable-build: true send-to-individuals: false + +- job-template: + id: autotools-website-job + name: '{name}-{branch}-website' + project-type: matrix + description: '{title} Website' + autogen_args: '' + workspace: '{name}-{branch}-website' + child-workspace: '.' + block-downstream: true + block-upstream: true + wrappers: + - timeout: + abort: true + type: absolute + timeout: 90 + write-description: 'Aborted build after 90 minutes' + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 1000 + scm: + - git: + url: git://n64.pufty.ci.centos.org/{name}.git + branches: + - origin/{branch} + clean: + after: true + skip-tag: true + wipe-workspace: false + triggers: + - reverse: + jobs: '{obj:parent_jobs}' + - pollscm: + cron: "H/20 * * * *" + axes: + - axis: + name: systems + type: slave + values: '{obj:machines}' + builders: + - shell: | + {global_env} + {local_env} + + # This job type is specifically tailored for the libvirt project + # and won't work anywhere else. Checking for libvirt.spec.in is + # a quick way to make sure the template is not being misused + test -e libvirt.spec.in + + mkdir build + cd build + + # Disable libvirtd and macvtap support to cut down the number + # of dependencies we need to install on the build worker + ../autogen.sh --without-libvirtd --without-macvtap + + # Build the website itself + $MAKE -j{smp} -C docs/ + + # Make sure we can build nightly source snapshots + $MAKE -j{smp} dist + publishers: + - email: + recipients: '{obj:spam}' + notify-every-unstable-build: true + send-to-individuals: false --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list