From nobody Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.74 as permitted sender) client-ip=63.128.21.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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=1585067119; cv=none; d=zohomail.com; s=zohoarc; b=gyz21WE8diPKDMZ4jVYGffl+ddlUCs0pvisMCCBK67Neey7zViX2J3DKahycVhqapko9HuRSSxAqBUK8VZXFclQ3mosinfnjRGJhnH7c5Mrio5qHtBqaTkksbsi/gSL6HxvWA8bgPmeC/TucmmIu4EnUjmbFG4kv1eT0m0Njs0o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067119; 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=qQ0UCdoLOA53kB8tI4JMrdnRQGhLNzX8yWb0pIujvRE=; b=CC+/z+mIe/XSfpawo3rbm7YCW3SNUjDbsdizAg7fLJloHUr06FxAV9xxCu2cSKW+EG+aIQ6kH6uOQZ17gOwcGIHsTlKiLBeG2rVO4rcjQNovsDBXZZ/hyQD9sO8pgsaGnbq3a4AoNzTWT0au0+HXEOWOpNNOCQWsQYC7ChK9v4g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by mx.zohomail.com with SMTPS id 1585067119530263.47556219035346; Tue, 24 Mar 2020 09:25:19 -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-324-daqbhGqPMyGvza9kho3qzg-1; Tue, 24 Mar 2020 12:25:15 -0400 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id AE5EF13FA; Tue, 24 Mar 2020 16:25:09 +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 7C414A0A6C; Tue, 24 Mar 2020 16:25:09 +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 0977A18089D5; Tue, 24 Mar 2020 16:25:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOCGo030265 for ; Tue, 24 Mar 2020 12:24:12 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6312C5DA81; Tue, 24 Mar 2020 16:24:12 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3F94C5DA7B; Tue, 24 Mar 2020 16:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067118; 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=qQ0UCdoLOA53kB8tI4JMrdnRQGhLNzX8yWb0pIujvRE=; b=Y+X3l/6rT8mSberZkVWhKI7s7ytKNI8dmISQ6v49PXXpNAWVa3GN2lsb94J/6C0lR91Lmx 7NIYLgb1xiA3lacSyJIDDVXR0OJsdtnNOkabhCf1TCHFa/VKI8tSrcjaqQt4uEuCkYls/L cDuSWejVslI/ZkVYkT3Bq23wVsqNbss= X-MC-Unique: daqbhGqPMyGvza9kho3qzg-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 1/9] gitlab: use CI for building website contents Date: Tue, 24 Mar 2020 16:23:57 +0000 Message-Id: <20200324162405.3716297-2-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.11 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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea49c6178b..180861f082 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,3 +44,24 @@ 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 --prefix=3D$(pwd)/../vroot || (cat config.log && exit = 1) + - make -j $(getconf _NPROCESSORS_ONLN) -C docs + - make -j $(getconf _NPROCESSORS_ONLN) -C docs install + - cd .. + - mv vroot/share/doc/libvirt/html/ website + image: quay.io/libvirt/buildenv-libvirt-fedora-31:latest + artifacts: + expose_as: 'Website' + name: 'website' + when: on_success + expire_in: 30 days + paths: + - website --=20 2.24.1 From nobody Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.74 as permitted sender) client-ip=63.128.21.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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=1585067126; cv=none; d=zohomail.com; s=zohoarc; b=h8QIH7Te3oaPTnmtba49zYuH9Yh4QBmPEvesoJg/bM0WgAG6hZFUIuZaiC5VC75yevum9CxC6eRfnZc4d8IVDDgUIZYcCYfnagEsYnjvWEuuKv8iDqWXGI1k4aYsYmdF2y5qdTFXOxMc4qrTQf/Tn9o/jtHa6AIQfiNMWbycpIc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067126; 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=Ga5O3pjqMPpMA465R2wC+S8Akz/VCFI51C/PlMP0W7Y=; b=F4Zb3t4Q0suwdGQ94gISKleaIcsc8SvPe2FTj++ZmFfq6xhXcU6ECCBDUKGip2rFx3o75roso5RgtHlSLT4d9QNiP1twrFtNxhKSu815FaFA2zuCKeil+IZmDXY6GsiwhkkPwhuSRGUyyknmSKTG2kP3oD0082RHAbjb9l+En/E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by mx.zohomail.com with SMTPS id 1585067126049553.2368239780403; Tue, 24 Mar 2020 09:25:26 -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-348-QaA3JTY3M5am49w-D0ElrQ-1; Tue, 24 Mar 2020 12:25:21 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ABBA8108442E; Tue, 24 Mar 2020 16:25:15 +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 1C9C31001F43; Tue, 24 Mar 2020 16:25:15 +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 7F1FA18089C8; Tue, 24 Mar 2020 16:25:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOFMm030277 for ; Tue, 24 Mar 2020 12:24:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id DCB9B5DA7C; Tue, 24 Mar 2020 16:24:15 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 039215D9C5; Tue, 24 Mar 2020 16:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067124; 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=Ga5O3pjqMPpMA465R2wC+S8Akz/VCFI51C/PlMP0W7Y=; b=bdoQcd/gKBhjBXXUk1tC+J8UAi5dBv0fzvQ89EYaMmV2enmyBA7s26q9AxGjgpfTSJhgmz W8Jgwinr9xN12wVM/59jq8hUHihkbGR0uhY/RfXph8tUqHF5y/hKjVFfgGQTgfdj/1HAac SGWUqN8lBjut1sAgn7E1oj0A29B84fE= X-MC-Unique: QaA3JTY3M5am49w-D0ElrQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 2/9] gitlab: reduce number of cross-build CI jobs Date: Tue, 24 Mar 2020 16:23:58 +0000 Message-Id: <20200324162405.3716297-3-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.22 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 Reviewed-by: Andrea Bolognani Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 180861f082..1249ec6df5 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 Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.74 as permitted sender) client-ip=216.205.24.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.74 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=1585067130; cv=none; d=zohomail.com; s=zohoarc; b=bW4ektlaxc2BBy6Yt1noA6hLVkKtLM8MeJPKkQGoDC//fETps2OjhSGNzvxaWEI3v8yIcXyKSzs6BcBQ+Y72In8Imo06nEjw+cbhfeAAwav9JwqhhU0wnp+Gp92VVcCGVrfFcmU/LONU6ZuCX0pHCr/s7gqdLKWJmG/7AhwPp38= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067130; h=Content-Type:Content-Transfer-Encoding:Cc: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=NXwGrrsL4jN6nDQ4/H9gsuxB1DtQOhY4NWFZKkCXC3s=; b=dQMUBju2+XtbTBaJ+0fyhE9ZM/JW0f/rnUlo4RdSPjuu7X/jHlHO7AYwZZTNkiBMUxJYedY02ZicJoq3GTj4p+VspyCVWdp4ueJKRItTox25y++NgTMoWt+9LFSfUUCHpnmTlXL+vSbbXfddeuAOxpFXjvy4DvRuWMQQdpbbG4g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by mx.zohomail.com with SMTPS id 1585067130076374.4364571703745; Tue, 24 Mar 2020 09:25:30 -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-203-Srhu1Sp7OHudnoAHun3MpQ-1; Tue, 24 Mar 2020 12:25:26 -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 AB61D13F8; Tue, 24 Mar 2020 16:25:19 +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 780B64DA70; Tue, 24 Mar 2020 16:25:19 +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 21B7386385; Tue, 24 Mar 2020 16:25:19 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOH8K030285 for ; Tue, 24 Mar 2020 12:24:17 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4B5905DA7C; Tue, 24 Mar 2020 16:24:17 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 47EAB5D9C5; Tue, 24 Mar 2020 16:24:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067128; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=NXwGrrsL4jN6nDQ4/H9gsuxB1DtQOhY4NWFZKkCXC3s=; b=fHRlh7tZDEqxyxVgwDV9rhNmOaYfYDdkyWvfHdZ8lGzDHwyRFhhlZTAum9o+zK9ocKaleV nUcTUTaRRpYgojAQ4uZgPsNwWkTAPsDjP0VB5HgkYQsvyW67EKwbfnUGFJ9oA5SgdqJrX1 ZGP3VWv/JvHC42DfrusebHEVHA70Nt8= X-MC-Unique: Srhu1Sp7OHudnoAHun3MpQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 3/9] gitlab: group jobs into stages Date: Tue, 24 Mar 2020 16:23:59 +0000 Message-Id: <20200324162405.3716297-4-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: Erik Skultety 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" 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. Reviewed-by: Erik Skultety Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1249ec6df5..8d6b5a0787 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,9 @@ -.job_template: &job_definition +stages: + - prebuild + - 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: prebuild script: - mkdir build - cd build --=20 2.24.1 From nobody Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.74 as permitted sender) client-ip=63.128.21.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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=1585067204; cv=none; d=zohomail.com; s=zohoarc; b=BvsUfBylBgaO4spnycjMLxl3Dv0CveMbsP1f/usHdc5EYA8ah5BsP2eTai/sVecsoicX80JXN4Ccf9XYYr2B/iFav8K53307ApAxPH+qQdjLtBjS/3cdxYlo41oSxGKcO51dWDfsc7wp2aBSQjNFECdKz8ywKRf9pCEUr6fcGxY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067204; h=Content-Type:Content-Transfer-Encoding:Cc: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=rgMlzJ2a8yPQwnN/FhkqxcBGXdNMFUcVXVSjO6SrzaI=; b=HPZKMtlU9VUQB84ZnDMAdMiQ1KTMYCWkGUyZ/Ur5WyLwP7cTdgnJuX9SCo0Wv7R8w+LvHDhvIGeWvdUDowRLOGGH1/Ao3zpjIVEmD0IsS7Hq9HCOgwMH2I09ma5czRpJRWt7TUQtEFYH9Ln8RjCOZzwuCwg94p0zMD5A2GM2UlU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by mx.zohomail.com with SMTPS id 1585067204635141.57440405993873; Tue, 24 Mar 2020 09:26:44 -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-154-TDnkinZRPuafIcVFgwHTGg-1; Tue, 24 Mar 2020 12:26:38 -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 3EBAE1406; Tue, 24 Mar 2020 16:26:32 +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 F1F635E245; Tue, 24 Mar 2020 16:26:31 +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 785BA18089D0; Tue, 24 Mar 2020 16:26:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOK6H030298 for ; Tue, 24 Mar 2020 12:24:20 -0400 Received: by smtp.corp.redhat.com (Postfix) id CE6BD5DA7B; Tue, 24 Mar 2020 16:24:20 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id BA6795DA7C; Tue, 24 Mar 2020 16:24:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067203; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=rgMlzJ2a8yPQwnN/FhkqxcBGXdNMFUcVXVSjO6SrzaI=; b=MGLefUmG7PZcJQw+Yj4so/wWgucvWiyx6qX+i+ytQh0P56QRHRFEQnA+1FpjrxuF9oi1sn Ko9/l2f6FVW5XtWsgqZoSwvtacUf3ncnGelbSrm2fYKaCsTHD+B4D4Et2v9FC6nCSGTdqK VRDQlAplY6DUahBdZeN58Zt1AUG9dTc= X-MC-Unique: TDnkinZRPuafIcVFgwHTGg-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 4/9] gitlab: rename the cross build jobs Date: Tue, 24 Mar 2020 16:24:00 +0000 Message-Id: <20200324162405.3716297-5-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: Erik Skultety 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, and we can drop the redundant "-cross" stub. Reviewed-by: Erik Skultety Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d6b5a0787..563b126662 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,11 +17,11 @@ stages: # 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-debian-10: <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-s390x:latest =20 -debian-sid-cross-armv7l: +armv7l-debian-sid: <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-armv7l:latest =20 --=20 2.24.1 From nobody Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.74 as permitted sender) client-ip=63.128.21.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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=1585067164; cv=none; d=zohomail.com; s=zohoarc; b=ARmyz+X6C5Erpe0prn0+2ZLzTuMFA6KzjDqhF8N8vMFz8Qk84SP4Wo0BRSBZQmrcrluXtdBm0BPzdwRvhQw6LWE44HgL9Rno9cc/CocrDHqpHOzC9UkEpPi/C/Au/R62QcnQP6oiq6r/o+vC4LJGbVTXrBK4ne5ErI7U7tBHsRs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067164; 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=4h4H2lq7WWIAmz5ZlIryxKCGa9RvHIaG2YJXC8A1TSA=; b=JwTS67QsP8U6KCNaVnW6GxPUMhxRFm8ce6EM3jCEZbIWmDDQ7x8fcTXwLwOzcgdvfrG4vXamZuQivBVQLvmPxoqzi0pxjdPlQDg4bJj1DuFaJ71YETlyuC+6YeP5ICVYTuyjrL9BzXTN3aTcZAk4qoFPsYXtB6mHCmHShdFSRqE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by mx.zohomail.com with SMTPS id 1585067164333800.5554316944712; Tue, 24 Mar 2020 09:26:04 -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-463-nzuRiIMONgSWXn4z0SfF4g-1; Tue, 24 Mar 2020 12:25:31 -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 AC0BA18C43C2; Tue, 24 Mar 2020 16:25:24 +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 7B86C19C70; Tue, 24 Mar 2020 16:25:24 +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 12FA786391; Tue, 24 Mar 2020 16:25:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOPsQ030309 for ; Tue, 24 Mar 2020 12:24:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id DFA6C5DA7B; Tue, 24 Mar 2020 16:24:25 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9DAC25D9C5; Tue, 24 Mar 2020 16:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067163; 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=4h4H2lq7WWIAmz5ZlIryxKCGa9RvHIaG2YJXC8A1TSA=; b=A5CeTcsiF/FHLH4Mzp5k4NfM2ZLEm+ZKHFejy0O0lNIjUjJPdzzjGf3jQ34ToynUSHERWX KT1kkhfijpg7TPh6i/CLeNIJk3C+nLetdW0kkVzk1Ks00cev5M8s5qrBOGM8dbcHa3hcN4 K05oHMdxxlO3caHK4z0pnsMrIR3aB0Y= X-MC-Unique: nzuRiIMONgSWXn4z0SfF4g-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 5/9] gitlab: add mingw cross build CI jobs Date: Tue, 24 Mar 2020 16:24:01 +0000 Message-Id: <20200324162405.3716297-6-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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" This pulls in the mingw cross build jobs using Fedora 30 as a base, matching what is done on Jenkins and Travis. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 563b126662..329374a34f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,14 @@ armv7l-debian-sid: <<: *cross_build_job_definition image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-armv7l:latest =20 +mingw32-fedora-30: + <<: *cross_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-fedora-30-cross-mingw32:latest + +mingw64-fedora-30: + <<: *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 Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.74 as permitted sender) client-ip=216.205.24.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.74 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=1585067085; cv=none; d=zohomail.com; s=zohoarc; b=nYSS435YXoRC5h5+DAdE3bMVdt8xe1yX32jRmapoJWeSavRkwcpLHmk251fhRL4zyOcwrpLgxRRMOpH6XNlWt08JuO87RJIXckGtwGkfDG0kBH7nUGnR1ryITpYkrIkhCQztaGy7qCQjxBQtL7nx7UqsrF8xtlrcg3r5B8wmu4U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067085; 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=i2mEVW6cDEVPCrlqzSvZ3qlVt2tuiGExXL7SWK89KI4=; b=S0ULr2DWFsLdW1EKH+aH/ZWEcDysTQbySvqKHdFQFZDlEjajmik0VXjFsqJXoiwDYrDlj5Fg9l9jVzldTzZ3njk+LV/HCug+4QHMqNS3axnGD71i09w8pOLxs1K2vAgjVIiC19Utk/DivKIapiuk0xNPe8CXbiD1gcyQwK4UKr0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by mx.zohomail.com with SMTPS id 1585067085225174.1763249424249; Tue, 24 Mar 2020 09:24:45 -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-269-IKXp9JyZPGiVUi8xL62oEA-1; Tue, 24 Mar 2020 12:24:40 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BC25D107ACC4; Tue, 24 Mar 2020 16:24:34 +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 6E01190CD1; Tue, 24 Mar 2020 16:24: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 B04DF18089CD; Tue, 24 Mar 2020 16:24:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOUXK030322 for ; Tue, 24 Mar 2020 12:24:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1CB825DA7C; Tue, 24 Mar 2020 16:24:30 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id F2F5C5DA7B; Tue, 24 Mar 2020 16:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067083; 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=i2mEVW6cDEVPCrlqzSvZ3qlVt2tuiGExXL7SWK89KI4=; b=G02+U01fPPX3D/2/rpEz9joG5WmvlxAckDKmKSkkW6eN2kDOEoe8Bw7mzWLzi1rNJ+44Bn ns0f/dzgAHP3N38oLxts3CnaeWJipQPVuM9YEIdCMeehc569OuCG2C5qCkXdI325MUHerJ CgYY3VPyCD2x23oVUe7He5LEnrlx/bM= X-MC-Unique: IKXp9JyZPGiVUi8xL62oEA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 6/9] gitlab: add x86_64 native CI jobs Date: Tue, 24 Mar 2020 16:24:02 +0000 Message-Id: <20200324162405.3716297-7-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.13 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" This patch adds x86_64 native CI jobs for all distros that we currently build container images for. This is a superset of the Linux jobs run on current Jenkins and Travis platforms. The remaining missing platforms are FreeBSD and macOS, neither of which can use the shared runner container based infrastructure. We may add further native jobs in the future which are not x86_64 based, if we get access to suitable hardware, thus the jobs all have an arch prefix in their name, just like the cross-built jobs do. To control the total CI execution time, we split the native jobs into two distinct stages. A representative set of distros are used as the primary native build sanity test, run for everyone regardless of whether pre/post merge, and on any branch. The remaining distros are set to run after the cross builds, and only execute for master branch, and thus will only run for post-merge. When we switch to using a merge request workflow, these extra jobs can be triggered when the merge request is opened. Signed-off-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 329374a34f..58abcbe1f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,34 @@ stages: - prebuild + - native_build - cross_build + - native_build_extra + + +# Common templates + +# Native jobs that run every time, pre/post merge and on any branch +.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 + +# Native jobs that will only run post merge on master branch +# Switch to running against merge requests later +.native_build_extra_job_template: &native_build_extra_job_definition + stage: native_build_extra + script: + - mkdir build + - cd build + - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1) + - $MAKE -j $(getconf _NPROCESSORS_ONLN) check + only: + refs: + - master =20 .cross_build_job_template: &cross_build_job_definition stage: cross_build @@ -10,6 +38,56 @@ stages: - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1) - make -j $(getconf _NPROCESSORS_ONLN) =20 + +# Native architecture build + test jobs + +x64-debian-9: + <<: *native_build_extra_job_definition + image: quay.io/libvirt/buildenv-libvirt-debian-9:latest + +x64-debian-10: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-debian-10:latest + +x64-debian-sid: + <<: *native_build_extra_job_definition + image: quay.io/libvirt/buildenv-libvirt-debian-sid:latest + +x64-centos-7: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-centos-7:latest + +x64-centos-8: + <<: *native_build_extra_job_definition + image: quay.io/libvirt/buildenv-libvirt-centos-8:latest + +x64-fedora-30: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-fedora-30:latest + +x64-fedora-31: + <<: *native_build_extra_job_definition + image: quay.io/libvirt/buildenv-libvirt-fedora-31:latest + +x64-fedora-rawhide: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-fedora-rawhide:latest + +x64-opensuse-151: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-opensuse-151:latest + +x64-ubuntu-1604: + <<: *native_build_job_definition + image: quay.io/libvirt/buildenv-libvirt-ubuntu-1604:latest + +x64-ubuntu-1804: + <<: *native_build_extra_job_definition + image: quay.io/libvirt/buildenv-libvirt-ubuntu-1804:latest + + +# Cross compiled build jobs + # 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 --=20 2.24.1 From nobody Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.74 as permitted sender) client-ip=216.205.24.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.74 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=1585067232; cv=none; d=zohomail.com; s=zohoarc; b=gN2MG9pPZtxOlPNoTosTUL9mYFao9l/fLwYLV/XMgZwc8Gp3UyAfwSiJXURzMNCrp1AHX7tU/ShqDqHIraRvR93/O0x/c7p1+rhQ3uBBjVIxcj1TpdScKkmGNYvnbEqLJlFeqrdsfJFNPPUHxlVelaCc8uWmTDOhYZ5ifKX7Chc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067232; 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=sqiEmVIUecyFx/mRBiO1TYURJytfwbqYwF8YzSRcDhs=; b=G/lYJZd1UctmIxE+dP5TIHL/G3GeCRi8pidWlZw9yk8ghk4aR0nlD6UBJDemFP2knEK+PEYMABn8ZoZI4Qkf+iG2UJH2Gv1rg1unrTmJO6IR2vsqVwOn/tsALzcCeSc4nOBrSk6KFXTFnZ3DwTSJMRuti6W94SmZrweggD4hMBk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by mx.zohomail.com with SMTPS id 1585067232475145.51189069856332; Tue, 24 Mar 2020 09:27:12 -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-306-i6hXdI_wPn6pR3yB5kxn9A-1; Tue, 24 Mar 2020 12:26:42 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7A94D1005512; Tue, 24 Mar 2020 16:26: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 2FF2194B23; Tue, 24 Mar 2020 16:26: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 CF07586382; Tue, 24 Mar 2020 16:26:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOYk0030332 for ; Tue, 24 Mar 2020 12:24:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id 106CD5DA7C; Tue, 24 Mar 2020 16:24:34 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1BA1D5DA7B; Tue, 24 Mar 2020 16:24:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067231; 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=sqiEmVIUecyFx/mRBiO1TYURJytfwbqYwF8YzSRcDhs=; b=bz85PihQU1QFKHt/FvMrXfEB5U9FcToxNehTRqaMyh/SfRe/ViahXQTZvV94edoIHguU7K ITn/OqTz3nCSzSDLB1uH7/VHIgUxIPRBSzVU05Y9KbRuZHbdZxKkd1jvR1Ced0uwE1NQZZ 7sGnqzoUeEOzGZ+TmbIsvjQEYrfAkf8= X-MC-Unique: i6hXdI_wPn6pR3yB5kxn9A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 7/9] gitlab: add variable for make command name Date: Tue, 24 Mar 2020 16:24:03 +0000 Message-Id: <20200324162405.3716297-8-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.15 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" To facilitate future jobs that will use FreeBSD Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58abcbe1f3..9814b6580a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,9 @@ stages: - cross_build - native_build_extra =20 +variables: + MAKE: make + =20 # Common templates =20 @@ -14,8 +17,8 @@ stages: - 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 + - $MAKE -j $(getconf _NPROCESSORS_ONLN) syntax-check + - $MAKE -j $(getconf _NPROCESSORS_ONLN) distcheck =20 # Native jobs that will only run post merge on master branch # Switch to running against merge requests later @@ -36,7 +39,7 @@ stages: - mkdir build - cd build - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1) - - make -j $(getconf _NPROCESSORS_ONLN) + - $MAKE -j $(getconf _NPROCESSORS_ONLN) =20 =20 # Native architecture build + test jobs @@ -120,8 +123,8 @@ website: - mkdir build - cd build - ../autogen.sh --prefix=3D$(pwd)/../vroot || (cat config.log && exit = 1) - - make -j $(getconf _NPROCESSORS_ONLN) -C docs - - make -j $(getconf _NPROCESSORS_ONLN) -C docs install + - $MAKE -j $(getconf _NPROCESSORS_ONLN) -C docs + - $MAKE -j $(getconf _NPROCESSORS_ONLN) -C docs install - cd .. - mv vroot/share/doc/libvirt/html/ website image: quay.io/libvirt/buildenv-libvirt-fedora-31:latest --=20 2.24.1 From nobody Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.74 as permitted sender) client-ip=63.128.21.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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=1585067092; cv=none; d=zohomail.com; s=zohoarc; b=L5zvsLALC8Zd8VLmBQHVmC2Q3ni8a4Ah5on6cCAp09y77p4IdGlSbGYJywmiY1pp6aQoSt44iMNeZMwSaZTo91Mq6LifG59Nj9xRh11N4dmFxNetbD+HBEZt5XbfIdyXpGddhWImGNxhnPteyzLZ+qOrSRPz1+0kWWdiEBhHV0s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067092; 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=NE0GnJyPTlFGE1qhj/I9BEIrLQZRqDliW1chPy7tOeY=; b=mMj0AkK/x6hZ7nrvwHC6Q/1Zjs3BEPSWy8O0D9Q9ip9MrX05EX0vkf5pMWOJ3K22j+FLxkZmCkCc1P1/aiHUplrqssJ7wR1cEQpjVAO8UPbuNh9mtnMWZLOtSaFjr121JglWCSaWp5KAOgxKoS/EAyp+Gf08PZDDI/+aAoY94jw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by mx.zohomail.com with SMTPS id 1585067092341177.67329423221906; Tue, 24 Mar 2020 09:24:52 -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-140-7PziMIiAOPeoKY3Q4_6Rfg-1; Tue, 24 Mar 2020 12:24:48 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0198513FD; Tue, 24 Mar 2020 16:24:43 +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 7C1071001DF2; Tue, 24 Mar 2020 16:24: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 246CF86386; Tue, 24 Mar 2020 16:24:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOZVv030340 for ; Tue, 24 Mar 2020 12:24:35 -0400 Received: by smtp.corp.redhat.com (Postfix) id 81A4B5DA7B; Tue, 24 Mar 2020 16:24:35 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id A61535D9C5; Tue, 24 Mar 2020 16:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067091; 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=NE0GnJyPTlFGE1qhj/I9BEIrLQZRqDliW1chPy7tOeY=; b=Qi1vLxxkDoUHTTugC6BkVxiydDOn+3EJcxIEmc7KaE4IiMByfF3zghriFbmxrs3hNCQLJx FM/xzIPcj0VY2RxJ76GFhlq4HYsfZgX68C9jBxPySKK+YzmVOYi88G2l/+9YUXZ59SF542 klXiwIRHplGOzjbl0twcvrveNcVenyQ= X-MC-Unique: 7PziMIiAOPeoKY3Q4_6Rfg-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 8/9] gitlab: restrict git history to 100 commits Date: Tue, 24 Mar 2020 16:24:04 +0000 Message-Id: <20200324162405.3716297-9-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.22 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 don't need the full git history when running CI jobs. From a code POV we only need the most recent commit, but we want to be able to run checks on the commits too. In particular to validate the DCO signoff for each commit. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9814b6580a..2286d28707 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ stages: =20 variables: MAKE: make + GIT_DEPTH: 100 =20 =20 # Common templates --=20 2.24.1 From nobody Wed Apr 24 08:26:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.74 as permitted sender) client-ip=216.205.24.74; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-74.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.74 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=1585067097; cv=none; d=zohomail.com; s=zohoarc; b=Ogqyda84ZXmAMtDxE5LfBBCn1qKH0oeBDWm8wNpPWJDBM/RecEKd7h/kY1eperYKBw77YcwYlfxDVLwIOzXR7BTZb+aCKjpDKJs6cZVPvIz1SbS2lLkjPlb9Z5L8uXRm9wYIhhTwvslG9HXXjoNQIjqUmoNt3Z5nZvKahYSraqg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585067097; 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=v+Cn7bvLwJrkMXdSzu5qQ6OoeB8CgyTWcbI3+QWV6IE=; b=HZQ2DPs32HfwqsX5Fpm1ZZ6zT3z3aH89gY0LoTw6/qYB7lLNRK3XciIo3sTBq4Z9WFXaIbhXc8Jeq7w8DdsEuGubtsUNwpCjniZFHgv80NJQqzK0HRQn4wHSvhvO61PAZUI3/GNvHgk6pxviatI0UH5qLF4uyXJrlSQuBhvofG0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.74 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-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by mx.zohomail.com with SMTPS id 1585067097178496.0739755084787; Tue, 24 Mar 2020 09:24:57 -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-43-Hg12UYuMOIKPQIYOLjN00A-1; Tue, 24 Mar 2020 12:24:52 -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 7499213FB; Tue, 24 Mar 2020 16:24:46 +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 48FFF19C6A; Tue, 24 Mar 2020 16:24:46 +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 0064E18089CD; Tue, 24 Mar 2020 16:24:45 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02OGOav4030347 for ; Tue, 24 Mar 2020 12:24:36 -0400 Received: by smtp.corp.redhat.com (Postfix) id A1D855DA7B; Tue, 24 Mar 2020 16:24:36 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-208.ams2.redhat.com [10.36.112.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id CEF6F5D9C5; Tue, 24 Mar 2020 16:24:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585067096; 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=v+Cn7bvLwJrkMXdSzu5qQ6OoeB8CgyTWcbI3+QWV6IE=; b=XgJs8OeNu0TEiWXtBFmP6wv7dLNM/f6VEAKeOt4BIiNfLTLrdO9zAG9pkfnArR3Ezw8ZnW 0OP4qa7W1KeShtLZFFWQi08FP7npGtxA3/UNBTNYw91W1enU0Ns5gR6H6gfhXTzuPrXkIb h/OrNpECGH8qAbSn1woalb6zC5gAtxI= X-MC-Unique: Hg12UYuMOIKPQIYOLjN00A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH v2 9/9] gitlab: add job for building latest potfile Date: Tue, 24 Mar 2020 16:24:05 +0000 Message-Id: <20200324162405.3716297-10-berrange@redhat.com> In-Reply-To: <20200324162405.3716297-1-berrange@redhat.com> References: <20200324162405.3716297-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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" Whenever there is a change to the translatable strings we need to push a new libvirt.pot to weblate. This only needs to be done when code merges into git master, so the job is restricted to that branch. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2286d28707..08e8df5d25 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -136,3 +136,29 @@ website: expire_in: 30 days paths: - website + + +# This artifact published by this job is downloaded to push to Weblate +# for translation usage: +# https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?j= ob=3Dpotfile +potfile: + stage: prebuild + only: + refs: + - master + script: + - mkdir build + - cd build + - ../autogen.sh || (cat config.log && exit 1) + - $MAKE -j $(getconf _NPROCESSORS_ONLN) -C src generated-sources + - $MAKE -j $(getconf _NPROCESSORS_ONLN) -C po libvirt.pot + - cd .. + - mv build/po/libvirt.pot libvirt.pot + image: quay.io/libvirt/buildenv-libvirt-fedora-31:latest + artifacts: + expose_as: 'Potfile' + name: 'potfile' + when: on_success + expire_in: 30 days + paths: + - libvirt.pot --=20 2.24.1