From nobody Sun Feb 8 12:37:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1550143884644190.36623129266786; Thu, 14 Feb 2019 03:31:24 -0800 (PST) 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 mx1.redhat.com (Postfix) with ESMTPS id 1718D99D32; Thu, 14 Feb 2019 11:31:22 +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 CA9A72618B; Thu, 14 Feb 2019 11:31:21 +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 725533F603; Thu, 14 Feb 2019 11:31:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x1EBUs2o000513 for ; Thu, 14 Feb 2019 06:30:54 -0500 Received: by smtp.corp.redhat.com (Postfix) id 9954C101E84F; Thu, 14 Feb 2019 11:30:54 +0000 (UTC) Received: from dhcp-17-197.lcy.redhat.com (unknown [10.42.17.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id 141CF1019601; Thu, 14 Feb 2019 11:30:53 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Thu, 14 Feb 2019 11:30:48 +0000 Message-Id: <20190214113048.18408-6-berrange@redhat.com> In-Reply-To: <20190214113048.18408-1-berrange@redhat.com> References: <20190214113048.18408-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH 5/5] Add project for CI testing libvirt-jenkins-ci 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: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 14 Feb 2019 11:31:23 +0000 (UTC) A build task will validate that the dockerfile generator is able to create output, and a syntax-check task will run flake8 Signed-off-by: Daniel P. Berrang=C3=A9 --- guests/playbooks/build/jobs/defaults.yml | 2 ++ .../build/projects/libvirt-jenkins-ci.yml | 15 +++++++++++++++ guests/vars/projects/libvirt-jenkins-ci.yml | 4 ++++ jobs/defaults.yaml | 2 ++ projects/libvirt-jenkins-ci.yaml | 14 ++++++++++++++ 5 files changed, 37 insertions(+) create mode 100644 guests/playbooks/build/projects/libvirt-jenkins-ci.yml create mode 100644 guests/vars/projects/libvirt-jenkins-ci.yml create mode 100644 projects/libvirt-jenkins-ci.yaml diff --git a/guests/playbooks/build/jobs/defaults.yml b/guests/playbooks/bu= ild/jobs/defaults.yml index 1c241fe..73cef08 100644 --- a/guests/playbooks/build/jobs/defaults.yml +++ b/guests/playbooks/build/jobs/defaults.yml @@ -52,6 +52,8 @@ git_urls: default: https://github.com/libvirt/libvirt-go-xml.git libvirt-go: default: https://github.com/libvirt/libvirt-go.git + libvirt-jenkins-ci: + default: https://github.com/libvirt/libvirt-jenkins-ci.git libvirt-ocaml: default: https://github.com/libvirt/libvirt-ocaml.git libvirt-perl: diff --git a/guests/playbooks/build/projects/libvirt-jenkins-ci.yml b/guest= s/playbooks/build/projects/libvirt-jenkins-ci.yml new file mode 100644 index 0000000..0314009 --- /dev/null +++ b/guests/playbooks/build/projects/libvirt-jenkins-ci.yml @@ -0,0 +1,15 @@ +--- +- set_fact: + name: libvirt-jenkins-ci + machines: '{{ rpm_machines }}' + git_url: '{{ git_urls["libvirt-jenkins-ci"][git_remote] }}' + +- include: '{{ playbook_base }}/jobs/prepare.yml' +- include: '{{ playbook_base }}/jobs/generic-build-job.yml' + vars: + command: | + $MAKE all +- include: '{{ playbook_base }}/jobs/generic-syntax-check-job.yml' + vars: + command: | + $MAKE syntax-check diff --git a/guests/vars/projects/libvirt-jenkins-ci.yml b/guests/vars/proj= ects/libvirt-jenkins-ci.yml new file mode 100644 index 0000000..e8c6fa5 --- /dev/null +++ b/guests/vars/projects/libvirt-jenkins-ci.yml @@ -0,0 +1,4 @@ +--- +packages: + - python3 + - python3-flake8 diff --git a/jobs/defaults.yaml b/jobs/defaults.yaml index 6b39724..19abb78 100644 --- a/jobs/defaults.yaml +++ b/jobs/defaults.yaml @@ -51,6 +51,8 @@ default: https://github.com/libvirt/libvirt-go-xml.git libvirt-go: default: https://github.com/libvirt/libvirt-go.git + libvirt-jenkins-ci: + default: https://github.com/libvirt/libvirt-jenkins-ci.git libvirt-ocaml: default: https://github.com/libvirt/libvirt-ocaml.git libvirt-perl: diff --git a/projects/libvirt-jenkins-ci.yaml b/projects/libvirt-jenkins-ci= .yaml new file mode 100644 index 0000000..04d13c4 --- /dev/null +++ b/projects/libvirt-jenkins-ci.yaml @@ -0,0 +1,14 @@ + +- project: + name: libvirt-jenkins-ci + machines: '{rpm_machines}' + title: libvirt Jenkins CI + git_url: '{git_urls[libvirt-jenkins-ci][default]}' + jobs: + - generic-build-job: + command: | + $MAKE all + - generic-syntax-check-job: + parent_jobs: 'libvirt-jenkins-ci-build' + command: | + $MAKE syntax-check --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list