From nobody Sun Feb 8 03:57:59 2026 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=1588851244; cv=none; d=zohomail.com; s=zohoarc; b=BAIiCRYqq22NXR6t+nHoI5FKDVw6QhT51nWAt7HYj8mCozY/X3CANUv36A8he54FhxiTJBGn9Wj7jEq7BDclV1/aIkikQGdOXlvepHNFx03bY3aP83dfFpPTcaGRGBgo3r3/hhHm4EU9ToqjmfUJIoR5NLDkJYn8Q3XM4aKQqhM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588851244; 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=AK7UL8DsUmoEQP4GH4JQu0wS2TbvPL6tUE1AypWKhnE=; b=RBa2S+WIe2FZSZJVydr/WKbrVs/g5xRomPXyQQaQI4QtLtn0EWsyksbycffs1wO5oXrNXnAa5TRe50tBKOW/OPJ+efm4uvaHwELtK1tCfZGhYJJXXfzdP2TFMt8Svn5DiaQ9bjPugS9nAtWkRkd3OOcH2BHZMHB8+FP8+qCZ4PU= 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 1588851244099337.6523234547768; Thu, 7 May 2020 04:34: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-43-UtOzJLRWM8q5c-eAU-9SCw-1; Thu, 07 May 2020 07:32:57 -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 6E3FF872FED; Thu, 7 May 2020 11:32:51 +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 4585A5F9DE; Thu, 7 May 2020 11:32:51 +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 EF26B4E44C; Thu, 7 May 2020 11:32:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 047BWfrj011592 for ; Thu, 7 May 2020 07:32:41 -0400 Received: by smtp.corp.redhat.com (Postfix) id 230065C296; Thu, 7 May 2020 11:32:41 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 369F65C1BE; Thu, 7 May 2020 11:32:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588851242; 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=AK7UL8DsUmoEQP4GH4JQu0wS2TbvPL6tUE1AypWKhnE=; b=D6p2Cqwp46kEBeAlIn3ob+e8RPdRiMXyzVYWleT//ge8tqGQnnK4RglozZWKIz7eS9o4Wg Sv5fiQOxLgRSXkxIbqLzeKRTR9iRg7/TkBQYBkJqm/EjrSQwu25YdQhkZKQwHra/gZhIVT w083d5XkLHboQKkqmo5dn7ahf4Ca+ss= X-MC-Unique: UtOzJLRWM8q5c-eAU-9SCw-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [perl PATCH v2 2/3] gitlab: add a simple job that publishes the API docs as HTML Date: Thu, 7 May 2020 12:32:31 +0100 Message-Id: <20200507113232.1120071-3-berrange@redhat.com> In-Reply-To: <20200507113232.1120071-1-berrange@redhat.com> References: <20200507113232.1120071-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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" The Perl modules have inline POD docs. This can be converted to HTML and published as a GitLab artifact. The rendered HTML is kind of ugly but improving this is left as an exercise for the future. Signed-off-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3970639..8fa563e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ stages: - prebuild - containers - builds + - docs =20 .container_job_template: &container_job_definition image: docker:stable @@ -172,3 +173,17 @@ ubuntu-2004-git-build: <<: *git_build_job_definition variables: NAME: ubuntu-2004 + +apiref: + stage: docs + image: $CI_REGISTRY_IMAGE/ci-centos-8:latest + script: + - mkdir apiref + - perl -MPod::Simple::HTMLBatch -e Pod::Simple::HTMLBatch::go lib apir= ef + artifacts: + expose_as: 'API Reference' + name: 'apiref' + when: on_success + expire_in: 30 days + paths: + - apiref --=20 2.26.2