From nobody Sun Feb 8 13:09:27 2026 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