From nobody Sat May 4 18:04:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1583835008; cv=none; d=zohomail.com; s=zohoarc; b=BAGYTcljALzFh0iw6O3wwzezlxTXzwYxnh0d8nMp3l0qpHbkklqnBYsHp410wbavCLWN1g7YSvuTlABrj+ubRyZGc6q+xGdwCiESRFBu6m3/2Wzup4rYOWGG8mV8rWpjGIgrIM+QyUbxkJNmmSGxKq22QZd4YagPkWtip+Y8mI4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583835008; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=MGrbAewzekjiC0irgIYjEj3eYLZpLf+rfSrkTk1fJxg=; b=SKwEzmLt4CFkgzlQ4OhUpRMU+ciM3lvC4cM7R2iWF7n5YechY+BLtE3yFyY55j2QcSeS9To/sNLCerlax+M8/BGnhvDMR6mFo1Ls7aKzLqUJDE/OFn4AKz0bEgHt4x+AQG8klEKlUrG+3CQD/IRJ/Q+Eh/8lIXcvO60mlEYD4i0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1583835008402785.075146169014; Tue, 10 Mar 2020 03:10:08 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-67-isUO3lckMG6rtZEA8GEgmQ-1; Tue, 10 Mar 2020 06:10:04 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 68104DBA3; Tue, 10 Mar 2020 10:09:58 +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 BAD165D9CA; Tue, 10 Mar 2020 10:09:55 +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 7109518089C8; Tue, 10 Mar 2020 10:09:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02AA9qcB020283 for ; Tue, 10 Mar 2020 06:09:52 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1D9218AC45; Tue, 10 Mar 2020 10:09:52 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-62.ams2.redhat.com [10.36.112.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4BE488F367; Tue, 10 Mar 2020 10:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583835007; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=MGrbAewzekjiC0irgIYjEj3eYLZpLf+rfSrkTk1fJxg=; b=UdsJZeMxt3A1hsuSagxaKLtl7gf9lIjjLxIvhMAeFE+oIsbTdfgLYVV34zUYQC7Jzv7Ox6 xyEvOypszIskGQrBYSHmtlfLvrW9OIK0iiBMASL8HMYQjOmG+I6EV6OJsQbVLz7GrSqSsx yF8MqVD6pzTsFfJXjr6hRA8kiF3EL34= X-MC-Unique: isUO3lckMG6rtZEA8GEgmQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/5] gitlab: use CI for building website contents Date: Tue, 10 Mar 2020 10:09:41 +0000 Message-Id: <20200310100945.3245856-2-berrange@redhat.com> In-Reply-To: <20200310100945.3245856-1-berrange@redhat.com> References: <20200310100945.3245856-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Run the bare minimum build that is possible to create the docs. Ideally the '--without-remote' arg would be passed, but there are several bugs preventing a build from succeeding without the remote driver built. The generated website is published as an artifact and thus is browsable on build completion and can be downloaded as a zip file. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea49c6178b..6f7e0ce135 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,3 +44,26 @@ debian-sid-cross-i686: debian-sid-cross-mipsel: <<: *job_definition image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-mipsel:latest + +# This artifact published by this job is downloaded by libvirt.org to +# be deployed to the web root: +# https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?j= ob=3Dwebsite +website: + script: + - mkdir build + - cd build + - ../autogen.sh $CONFIGURE_OPTS --prefix=3D$(pwd)/../vroot || (cat con= fig.log && exit 1) + - make -j $(getconf _NPROCESSORS_ONLN) + - make -j $(getconf _NPROCESSORS_ONLN) install + - cd .. + - mv vroot/share/doc/libvirt/html/ website + image: quay.io/libvirt/buildenv-libvirt-fedora-31:latest + variables: + CONFIGURE_OPTS: --without-libvirtd --without-esx --without-hyperv --wi= thout-test --without-dtrace --without-openvz --without-vmware --without-att= r --without-audit --without-blkid --without-bash-completion --without-capng= --without-curl --without-dbus --without-firewalld --without-fuse --without= -glusterfs --without-libiscsi --without-libssh --without-numactl --without-= openwsman --without-pciaccess --without-readline --without-sanlock --witho= ut-sasl --without-selinux --without-ssh2 --without-udev + artifacts: + expose_as: 'Website' + name: 'website' + when: on_success + expire_in: 30 days + paths: + - website --=20 2.24.1 From nobody Sat May 4 18:04:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1583835017; cv=none; d=zohomail.com; s=zohoarc; b=QNima+aw/ijuOIygp7lvyEVgM9kTwulwdwE1lFzKUNNJLDx1nCfjL7oK+chHZ+V2Zhybck3pMHl+G7r7jZfxasyZdBn+VK6gP/wZT81ZQrm0084bv5zHOpVK9WdbBdrrITi4D7g2l7XaS26bMBPsni+lnzS79jgjb2EyQ36pJjo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583835017; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=g9SuW2heJgMt4OB8+/bZtE4y4oVaOAkFunMFKXMDe8c=; b=AqQ3TL1hbFFOgU+nXwvZvvxBh8C5hIzRWhAH9QmViz6tyX/sX1znQ+7bdxqBwzRDfWbV6Yk+PEtZ9O1pwqWvrNwAeH9Cynd6sTBXoWotugfZxCKmg1W0H8p+hX5FHHo+eLD70WLWacyq3aSaQ9EyGrnpMivqnJfLVHK1AnuXAB8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1583835017412717.5694587390977; Tue, 10 Mar 2020 03:10:17 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-132-0SnFqZiWO6qe-lv_ZMRX7A-1; Tue, 10 Mar 2020 06:10:13 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EA5538010E3; Tue, 10 Mar 2020 10:10:06 +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 9F3455C54A; Tue, 10 Mar 2020 10:10:06 +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 16F1818089CE; Tue, 10 Mar 2020 10:10:06 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02AA9rbW020293 for ; Tue, 10 Mar 2020 06:09:53 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8075B8D569; Tue, 10 Mar 2020 10:09:53 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-62.ams2.redhat.com [10.36.112.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9B0B08AC45; Tue, 10 Mar 2020 10:09:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583835016; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=g9SuW2heJgMt4OB8+/bZtE4y4oVaOAkFunMFKXMDe8c=; b=EazUZHcBz2/MeluU6VDmQ+pyEsOtDqYfdntLurJb1S4dyHinJaTIJeNno+yv/DL42vUOvv cfyA7kLC5Ux+4uvOrZZiWnWxEKO9NROZIndk2y5/zPSEu0UVMCJVmxuC1imcgFSDQ8tQYB VcjVqdXov4CxWyXrAAIgOFk7909lBK0= X-MC-Unique: 0SnFqZiWO6qe-lv_ZMRX7A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/5] gitlab: reduce number of cross-build CI jobs Date: Tue, 10 Mar 2020 10:09:42 +0000 Message-Id: <20200310100945.3245856-3-berrange@redhat.com> In-Reply-To: <20200310100945.3245856-1-berrange@redhat.com> References: <20200310100945.3245856-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" We're going to add more build jobs to CI, and users have limited time granted on the shared CI runners. The number of cross-build jobs currently present is not sustainable, so cut it down to two interesting jobs to cover big endian and 32-bit platform variants. Signed-off-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f7e0ce135..b6a8db7881 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,29 +5,12 @@ - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1) - make -j $(getconf _NPROCESSORS_ONLN) =20 -# We could run every arch on every versions, but it is a little -# overkill. Instead we split jobs evenly across 9, 10 and sid -# to achieve reasonable cross-coverage. - -debian-9-cross-armv6l: - <<: *job_definition - image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-armv6l:latest - -debian-9-cross-mips64el: - <<: *job_definition - image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-mips64el:latest - -debian-9-cross-mips: - <<: *job_definition - image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-mips:latest - -debian-10-cross-aarch64: - <<: *job_definition - image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-aarch64:latest - -debian-10-cross-ppc64le: - <<: *job_definition - image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-ppc64le:latest +# There are many possible cross-arch jobs we could do, but to preserve +# limited CI resource time allocated to users, we cut it down to two +# interesting variants. The default jobs are x86_64, which means 64-bit +# and little endian. We thus pick armv7l as an interesting 32-bit +# platform, and s390x as an interesting big endian platform. We split +# between Debian 10 and sid to help detect problems on the horizon. =20 debian-10-cross-s390x: <<: *job_definition @@ -37,14 +20,6 @@ debian-sid-cross-armv7l: <<: *job_definition image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-armv7l:latest =20 -debian-sid-cross-i686: - <<: *job_definition - image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-i686:latest - -debian-sid-cross-mipsel: - <<: *job_definition - image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-mipsel:latest - # This artifact published by this job is downloaded by libvirt.org to # be deployed to the web root: # https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?j= ob=3Dwebsite --=20 2.24.1 From nobody Sat May 4 18:04:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1583835022; cv=none; d=zohomail.com; s=zohoarc; b=W6ycA5MluxNkUVJpbVIpLewfOT76i3bqbmFLmXaQIi9RIMb3MNYeY60J/U5h8RPV0VicgF0adDGn8dHuSS3B8kovC+F6RLxwP/SVRdIiVvOl0uPfMSCDOqFxLEnV3LrYej70syjAyGsQ52Hb6k0SRT5aYjsoAY+MtFnZOpEkEvU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583835022; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=l7meFImJCp2lqit2aJPLdZ3cS1xcYyVfJ5DMzFG97zA=; b=lAIEzqhOT2leKqVxUJKwH3MinMqynCQVytKYjIVPiAq/PfbT3UzanP2Kf4tAUY/uMfccKrMAWSI66chJhCP3/TMGCfWL844WqF8DhcnNifrET7YEvTenhlakHFIyGD7uVZiK4QQ8Tgorzmt01dmfZx9b9cPvFatgQzKZt9ZMwyY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1583835022800200.14739963662646; Tue, 10 Mar 2020 03:10:22 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-252-K9z9OoWgNoeOIiXeHbxPbw-1; Tue, 10 Mar 2020 06:10:18 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 22AB01083E85; Tue, 10 Mar 2020 10:10:13 +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 E6B312718F; Tue, 10 Mar 2020 10:10:12 +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 9120B18089D0; Tue, 10 Mar 2020 10:10:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02AA9tw8020304 for ; Tue, 10 Mar 2020 06:09:55 -0400 Received: by smtp.corp.redhat.com (Postfix) id F13358D569; Tue, 10 Mar 2020 10:09:54 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-62.ams2.redhat.com [10.36.112.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1097E8F35F; Tue, 10 Mar 2020 10:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583835021; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=l7meFImJCp2lqit2aJPLdZ3cS1xcYyVfJ5DMzFG97zA=; b=I5TiWGOJfVvNnzGb7oznoe1MgZcXzIdBdQF0W1a53n8Uc6MpBgV2fh7M38ZOoTv67LL34w 9rAsVruruyyC+sEvNsX8mTrDiTlrEH5LAxsCAFJaC4GkWeVCgY3B+a3maq5WM2Z8vEaJHU Meb2E70CWuelte2H69G0DAv7Y7RQ24I= X-MC-Unique: K9z9OoWgNoeOIiXeHbxPbw-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 3/5] gitlab: group jobs into stages Date: Tue, 10 Mar 2020 10:09:43 +0000 Message-Id: <20200310100945.3245856-4-berrange@redhat.com> In-Reply-To: <20200310100945.3245856-1-berrange@redhat.com> References: <20200310100945.3245856-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Within a stage all jobs run in parallel. Stages are ordered so later stages are only executed if previous stages succeeded. By using separate stages for the cross builds, we can avoid wasting CI resources if the relatively simple website build fails. Later we can avoid running cross builds, if the native build fails too. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6a8db7881..e28ec584ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,9 @@ -.job_template: &job_definition +stages: + - website + - cross_build + +.cross_build_job_template: &cross_build_job_definition + stage: cross_build script: - mkdir build - cd build @@ -13,17 +18,18 @@ # between Debian 10 and sid to help detect problems on the horizon. =20 debian-10-cross-s390x: - <<: *job_definition + <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-s390x:latest =20 debian-sid-cross-armv7l: - <<: *job_definition + <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-armv7l:latest =20 # This artifact published by this job is downloaded by libvirt.org to # be deployed to the web root: # https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?j= ob=3Dwebsite website: + stage: website script: - mkdir build - cd build --=20 2.24.1 From nobody Sat May 4 18:04:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1583835015; cv=none; d=zohomail.com; s=zohoarc; b=RFgUTMu9utTg9e8Oa7g7mHqesdwEA+Aen7XylWzVRkC58cIqh1pw08ZTyL5wEY3Fp5pTnMduj4kCP5RHsOSQMzgSPWw/6HFfjyjJ52gzayl8npcP0P2ofq4bPqqNf+/gMWjV8hPcvWgRJfk+szoaPwht9BESaX63PA5DPppQ/LA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583835015; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=k/567dSkxpNINysBiR9U5aqqdN6meyjjo/tE7YaBxEg=; b=V//n1sbQDVQBPvHm+UTq/rKBsvR2V2Of6xcJlIiwBQpIJS+ex/ksRcs3fNdxoEe5sJwGCWWOePzc10bsbWZEmKZ7Dc0cn8VOFodPzjL0prI5NLyakJ1Ki3btTm9lC3zhmsOozpUDgZKJ5qM0x6ipVBS8NZmM+sqTZM0jxDJuLOQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1583835015721886.4277719510602; Tue, 10 Mar 2020 03:10:15 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-155-C0jD9_egPaCNH9K-c90F0g-1; Tue, 10 Mar 2020 06:10:12 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5A5BD18C35A7; Tue, 10 Mar 2020 10:10:06 +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 13EA35D9CA; Tue, 10 Mar 2020 10:10:06 +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 75AF886A0F; Tue, 10 Mar 2020 10:10:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02AA9uj6020312 for ; Tue, 10 Mar 2020 06:09:56 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5CDFE8AC45; Tue, 10 Mar 2020 10:09:56 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-62.ams2.redhat.com [10.36.112.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 528158D569; Tue, 10 Mar 2020 10:09:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583835014; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=k/567dSkxpNINysBiR9U5aqqdN6meyjjo/tE7YaBxEg=; b=JvnvbqKtRQJrPjun/d/RaAEGiNPLAvwk8XmcUNwiAyyCN2JgvE+Bhib6g2bjsRhgBPjsqy j6hVLDKS+32c5i7ffWS/jk2l4Ql/klfoecPo38w4eZvgOh7uiT0Xw03pPwDAbNOgR9/2a7 QSs/0Fxcm0KqGWUfr1n4h2SVHSyfnqM= X-MC-Unique: C0jD9_egPaCNH9K-c90F0g-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 4/5] gitlab: add several native CI jobs Date: Tue, 10 Mar 2020 10:09:44 +0000 Message-Id: <20200310100945.3245856-5-berrange@redhat.com> In-Reply-To: <20200310100945.3245856-1-berrange@redhat.com> References: <20200310100945.3245856-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" With GitLab CI aiming to replace Jenkins and Travis for CI purposes, we need to expand the coverage to include native builds. This patch adds all the jobs currently run in Travis. Compared to Jenkins we obviously miss the FreeBSD jobs, but also Debian 10 and Fedora 30, but we gain the Ubuntu 1804 job as a substitute for Debian. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e28ec584ea..3e15d08d17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,39 @@ stages: - website + - native_build - cross_build =20 + +.native_build_job_template: &native_build_job_definition + stage: native_build + script: + - mkdir build + - cd build + - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1) + - make -j $(getconf _NPROCESSORS_ONLN) syntax-check + - make -j $(getconf _NPROCESSORS_ONLN) distcheck + +debian-9: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-debian-9:latest + +centos-7: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-centos-7:latest + +fedora-31: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-fedora-31:latest + +fedora-rawhide: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-fedora-rawhide:latest + +ubuntu-1804: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-ubuntu-1804:latest + + .cross_build_job_template: &cross_build_job_definition stage: cross_build script: @@ -10,6 +42,7 @@ stages: - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1) - make -j $(getconf _NPROCESSORS_ONLN) =20 + # There are many possible cross-arch jobs we could do, but to preserve # limited CI resource time allocated to users, we cut it down to two # interesting variants. The default jobs are x86_64, which means 64-bit @@ -25,6 +58,14 @@ debian-sid-cross-armv7l: <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-armv7l:latest =20 +fedora-30-cross-mingw32: + <<: *cross_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-fedora-30-cross-mingw32:latest + +fedora-30-cross-mingw64: + <<: *cross_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-fedora-30-cross-mingw64:latest + # This artifact published by this job is downloaded by libvirt.org to # be deployed to the web root: # https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?j= ob=3Dwebsite --=20 2.24.1 From nobody Sat May 4 18:04:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1583835008; cv=none; d=zohomail.com; s=zohoarc; b=ZaTS7/ALYmNB1C2nPYnWQB+5CB+O4c9cyc58CpxSbuRC/eJPrktRN5CbW4hsFT2e9YCaYQL0KgXIxc/LdZw45FTw4Uv4Upj/3U+Yl2nf6pnY0cc8yVbwfvc2kkyTUq1+TCbZHASxtldnkP55EB+RMX33ol2G69tTphurjcSOQek= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583835008; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=11JOgy1phQsDgKgGmhwh+Qghlldl2eEbxSxndKzVPA8=; b=GIKxBS/1sYOY13DEGslEsUu9Pv3jlEIk/3dn5Uw1LT5Svw4db5/r4iYVjya57oSIzgrEmXtdrry7m0MfNSfNcvUjewT1eFNHtS5EX9xma7gm2kaRxo7goCGMjh6yTHMy3utCPGzH78+poBDbeTSx8/C4IrOKDC6diwU2/cHR7RU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1583835008687891.5494600322453; Tue, 10 Mar 2020 03:10:08 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-174-OlgqQHA6MRWO3V4xCOs22A-1; Tue, 10 Mar 2020 06:10:04 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9207C800D5E; Tue, 10 Mar 2020 10:09:59 +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 57D4D5D9CA; Tue, 10 Mar 2020 10:09:59 +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 E33EE86A09; Tue, 10 Mar 2020 10:09:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02AA9vDj020324 for ; Tue, 10 Mar 2020 06:09:57 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9F6A08D569; Tue, 10 Mar 2020 10:09:57 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-62.ams2.redhat.com [10.36.112.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id AC4798F35C; Tue, 10 Mar 2020 10:09:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583835007; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=11JOgy1phQsDgKgGmhwh+Qghlldl2eEbxSxndKzVPA8=; b=OtAe3NbvpZgvzznjEbn0XC5q6zp5waer5XKVCEVTqVr9Hvc18UlUnosFDkAIOpDCTNJzzQ yfrxVFAIRVSe1GkAgd+da7vGrUXOB6TUubsdsUnB1E/bs6kgRttzQ1Dq77WM7Z5GiBpfYD NdTMnbyr6/65/GQ8BS6pRKSNmycsFno= X-MC-Unique: OlgqQHA6MRWO3V4xCOs22A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 5/5] gitlab: rename the cross build jobs Date: Tue, 10 Mar 2020 10:09:45 +0000 Message-Id: <20200310100945.3245856-6-berrange@redhat.com> In-Reply-To: <20200310100945.3245856-1-berrange@redhat.com> References: <20200310100945.3245856-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The pipeline UI will truncate the names of jobs after about 15 characters. As a result with the cross-builds, we truncate the most important part of the job name. Putting the most important part first is robust against truncation. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e15d08d17..3254ec4d4f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,19 +50,19 @@ ubuntu-1804: # platform, and s390x as an interesting big endian platform. We split # between Debian 10 and sid to help detect problems on the horizon. =20 -debian-10-cross-s390x: +s390x-cross-debian-10: <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-s390x:latest =20 -debian-sid-cross-armv7l: +armv7l-cross-debian-sid: <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-armv7l:latest =20 -fedora-30-cross-mingw32: +mingw32-cross-fedora-30: <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-fedora-30-cross-mingw32:latest =20 -fedora-30-cross-mingw64: +mingw64-cross-fedora-30: <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-fedora-30-cross-mingw64:latest =20 --=20 2.24.1