From nobody Sun May 5 01:46:33 2024 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 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1508764755999794.5441216020699; Mon, 23 Oct 2017 06:19:15 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 14E6772D10; Mon, 23 Oct 2017 13:19:14 +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 E09A078DEF; Mon, 23 Oct 2017 13:19:13 +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 B9E575EC64; Mon, 23 Oct 2017 13:19:12 +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 v9NDJCJe002275 for ; Mon, 23 Oct 2017 09:19:12 -0400 Received: by smtp.corp.redhat.com (Postfix) id 51E697982B; Mon, 23 Oct 2017 13:19:12 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.219]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CE8436A509 for ; Mon, 23 Oct 2017 13:19:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 14E6772D10 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Date: Mon, 23 Oct 2017 15:19:00 +0200 Message-Id: <20171023131904.28213-2-abologna@redhat.com> In-Reply-To: <20171023131904.28213-1-abologna@redhat.com> References: <20171023131904.28213-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH v2 1/5] guests: Shuffle base steps around 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 23 Oct 2017 13:19:14 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" We want to add extra repositories before updating the installed packages; however, adding extra repositories might require the libselinux-python package to be installed on some systems. Reorder the steps so that the libselinux-python package is installed before adding extra repositories, which in turn happens before updating installed packages. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- guests/tasks/base.yml | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/guests/tasks/base.yml b/guests/tasks/base.yml index 572da9d..798d7cd 100644 --- a/guests/tasks/base.yml +++ b/guests/tasks/base.yml @@ -33,6 +33,30 @@ - ( os_name =3D=3D 'CentOS' or os_name =3D=3D 'Fedora' ) =20 +- name: Bootstrap the package module + command: apt-get install -y python-apt + args: + creates: /usr/lib/python2*/*-packages/apt + warn: no + when: + - package_format =3D=3D 'deb' + +- name: Bootstrap the package module + command: dnf install -y python2-dnf + args: + creates: /usr/lib*/python2*/*-packages/dnf + warn: no + when: + - os_name =3D=3D 'Fedora' + +- name: Permit file editing on SELinux-enabled systems + package: + name: libselinux-python + state: present + when: + - ( os_name =3D=3D 'CentOS' or + os_name =3D=3D 'Fedora' ) + - name: Enable jessie-backports repository copy: src: files/jessie-backports.sources @@ -53,22 +77,6 @@ - os_name =3D=3D 'Debian' - os_version =3D=3D '8' =20 -- name: Bootstrap the package module - command: apt-get install -y python-apt - args: - creates: /usr/lib/python2*/*-packages/apt - warn: no - when: - - package_format =3D=3D 'deb' - -- name: Bootstrap the package module - command: dnf install -y python2-dnf - args: - creates: /usr/lib*/python2*/*-packages/dnf - warn: no - when: - - os_name =3D=3D 'Fedora' - - name: Update installed packages package: name: '*' @@ -106,14 +114,6 @@ with_items: - nano =20 -- name: Permit file editing on SELinux-enabled systems - package: - name: libselinux-python - state: present - when: - - ( os_name =3D=3D 'CentOS' or - os_name =3D=3D 'Fedora' ) - - name: Configure hostname hostname: name: '{{ inventory_hostname }}' --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 01:46:33 2024 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 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1508764763594694.4065163288092; Mon, 23 Oct 2017 06:19:23 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 01493C051674; Mon, 23 Oct 2017 13:19:22 +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 D387860BE6; Mon, 23 Oct 2017 13:19: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 7F01B1804486; Mon, 23 Oct 2017 13:19:21 +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 v9NDJDow002284 for ; Mon, 23 Oct 2017 09:19:13 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3804679C4A; Mon, 23 Oct 2017 13:19:13 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.219]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9FC1F6A509 for ; Mon, 23 Oct 2017 13:19:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 01493C051674 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Date: Mon, 23 Oct 2017 15:19:01 +0200 Message-Id: <20171023131904.28213-3-abologna@redhat.com> In-Reply-To: <20171023131904.28213-1-abologna@redhat.com> References: <20171023131904.28213-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH v2 2/5] guests: Use non-debug kernel on Fedora Rawhide 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 23 Oct 2017 13:19:22 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" By default, Fedora Rawhide uses a kernel with a lot of debug options enable. This is very useful for the development of Rawhide itself, but also causes a pretty significant performance penalty. Enable the fedora-rawhide-kernel-nodebug, with higher than default priority, to make sure the non-debug kernels are picked up instead of the debug ones. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- guests/files/fedora-rawhide-kernel-nodebug.repo | 8 ++++++++ guests/tasks/base.yml | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 guests/files/fedora-rawhide-kernel-nodebug.repo diff --git a/guests/files/fedora-rawhide-kernel-nodebug.repo b/guests/files= /fedora-rawhide-kernel-nodebug.repo new file mode 100644 index 0000000..76198dc --- /dev/null +++ b/guests/files/fedora-rawhide-kernel-nodebug.repo @@ -0,0 +1,8 @@ +[fedora-rawhide-kernel-nodebug] +name=3DRawhide kernels built without debugging turned on +baseurl=3Dhttps://dl.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/$bas= earch +enabled=3D1 +skip_if_unavailable=3D0 +metadata_expire=3D6h +gpgcheck=3D0 +priority=3D90 diff --git a/guests/tasks/base.yml b/guests/tasks/base.yml index 798d7cd..1604cd0 100644 --- a/guests/tasks/base.yml +++ b/guests/tasks/base.yml @@ -77,6 +77,16 @@ - os_name =3D=3D 'Debian' - os_version =3D=3D '8' =20 +- name: Enable fedora-rawhide-kernel-nodebug repository + copy: + src: files/fedora-rawhide-kernel-nodebug.repo + dest: /etc/yum.repos.d/fedora-rawhide-kernel-nodebug.repo + owner: root + group: root + when: + - os_name =3D=3D 'Fedora' + - os_version =3D=3D 'Rawhide' + - name: Update installed packages package: name: '*' --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 01:46:33 2024 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 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1508764757411114.30754783410316; Mon, 23 Oct 2017 06:19:17 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B9D603E80E; Mon, 23 Oct 2017 13:19: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 8CDEE78DE6; Mon, 23 Oct 2017 13:19: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 4C1121804482; Mon, 23 Oct 2017 13:19:15 +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 v9NDJEAJ002294 for ; Mon, 23 Oct 2017 09:19:14 -0400 Received: by smtp.corp.redhat.com (Postfix) id 044227982B; Mon, 23 Oct 2017 13:19:14 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.219]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8096B79C46 for ; Mon, 23 Oct 2017 13:19:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B9D603E80E Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Date: Mon, 23 Oct 2017 15:19:02 +0200 Message-Id: <20171023131904.28213-4-abologna@redhat.com> In-Reply-To: <20171023131904.28213-1-abologna@redhat.com> References: <20171023131904.28213-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH v2 3/5] guests: Clean up non-CI guests 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 23 Oct 2017 13:19:16 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Guests that are not part of the libvirt CI setup don't need to install Java, configure the Jenkins agent or have a Jenkins secret associated with them. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- guests/host_vars/libvirt-ubuntu-12/main.yml | 1 - guests/host_vars/libvirt-ubuntu-14/main.yml | 1 - guests/host_vars/libvirt-ubuntu-16/main.yml | 1 - guests/vars/mappings.yml | 3 +- guests/vars/vault.yml | 98 +++++++++++++------------= ---- 5 files changed, 46 insertions(+), 58 deletions(-) diff --git a/guests/host_vars/libvirt-ubuntu-12/main.yml b/guests/host_vars= /libvirt-ubuntu-12/main.yml index 8873530..4d53bb3 100644 --- a/guests/host_vars/libvirt-ubuntu-12/main.yml +++ b/guests/host_vars/libvirt-ubuntu-12/main.yml @@ -1,5 +1,4 @@ --- projects: - base - - jenkins - libvirt diff --git a/guests/host_vars/libvirt-ubuntu-14/main.yml b/guests/host_vars= /libvirt-ubuntu-14/main.yml index fd1d7ee..18b013d 100644 --- a/guests/host_vars/libvirt-ubuntu-14/main.yml +++ b/guests/host_vars/libvirt-ubuntu-14/main.yml @@ -1,7 +1,6 @@ --- projects: - base - - jenkins - libosinfo - libvirt - libvirt-perl diff --git a/guests/host_vars/libvirt-ubuntu-16/main.yml b/guests/host_vars= /libvirt-ubuntu-16/main.yml index f00a9d5..7baecf7 100644 --- a/guests/host_vars/libvirt-ubuntu-16/main.yml +++ b/guests/host_vars/libvirt-ubuntu-16/main.yml @@ -1,7 +1,6 @@ --- projects: - base - - jenkins - libosinfo - libvirt - libvirt-glib diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml index 8ce7ff2..e78277a 100644 --- a/guests/vars/mappings.yml +++ b/guests/vars/mappings.yml @@ -174,8 +174,7 @@ mappings: deb: openjdk-8-jre-headless pkg: openjdk8-jre rpm: java-1.8.0-openjdk-headless - Ubuntu12: openjdk-7-jre-headless - Ubuntu14: openjdk-7-jre-headless + Ubuntu: =20 libacl: deb: libacl1-dev diff --git a/guests/vars/vault.yml b/guests/vars/vault.yml index 62f6fb5..abcfe81 100644 --- a/guests/vars/vault.yml +++ b/guests/vars/vault.yml @@ -1,54 +1,46 @@ $ANSIBLE_VAULT;1.1;AES256 -36343464383430343730353537646435373935336634613536333665663735636434366463= 646338 -3738333139626366383661303364356539633537333733350a323434666637363638396538= 303532 -61303230643230396563613564656163336630316462356461616262643036353964356264= 363631 -3862653531383164360a303766396239393636343831343535336636356461623366633031= 336361 -38633563313134656339666632383666653536353331303563323335326230633466366365= 386361 -37656634373533336333646230386365353630353833333839306433373061623631633737= 663636 -63343733353663386338663730353466656135373837336530616330346433623236326462= 636366 -34623966343662396131373665363631323061663536646133653433646666373637613338= 313165 -31313364623237326562653065343264386635343732366234633061613936393132323161= 346136 -61303534313837353238643864643432663937346266636165393330643962656532626137= 653532 -37306565313633373861396230646232663639353833326562336438383764333831303464= 393161 -63356534393362393563346435393536653933663535306337623033323932306236346638= 626262 -31316366666464323430356638383539343466663938663866366233623134356265386664= 356433 -33363663313866626366376136616166656565336438663234663536306661633937346532= 323831 -62373431656231313232393836616234366638633939623933666361326664636265386539= 396565 -64626365333631313238333562646533313466613433666331636566366431666336643766= 373237 -30626633356632623230616135356162663339356663306334306131333964633931343936= 356436 -30623839326163656336646232636364373762353562396664313365326637356466303235= 656465 -30323330396134666338323363633762366536353063646563343161646632646137383537= 373135 -31343162366464626563663132316332633534313535626264366136633764393636626662= 663730 -64346139363239623363313165623335626338323236613164613862623632303635643264= 613135 -61306436626638316364303338373063643864386531376235666465396266646333616538= 613536 -36626661363233393463393466313437316230343966303834343965386430306664653265= 336234 -31313239313661313962643638613637636265303861383434353439666233373537343830= 313162 -66666637393637356661383265653065653331623839336639383137396637626139346235= 616361 -64646465393730623465663938626264373337313633323934343561353830636432656238= 323735 -62393531363235643331383538663735326464346639323831323364636139663961313935= 323635 -30343166613139323464333062336162303333656666383238363835643534316162353634= 616165 -33326366303539646438313630396438396136326130666330383335396432643862616662= 333735 -37366332623932363262366464623861303035623861376334656234373433363833386333= 666665 -61326133656562656561333763343333663730653735326430383965353565313965373635= 633534 -32623438656132353832326265306331303265613232323835663339306266303333366362= 303739 -39613932653661623831663531373531663261653736343066336637313930646331373035= 333132 -30313962376461643035326138343432633962373639326336313261353132656365643661= 373333 -39363035626634303738346233346561623531373538666639646533623933613733626534= 626338 -62343039313335313037396132663337383035313363663134666430656333343234313564= 323436 -64393631323537353061623034366237626538653530626134353465383533303861323539= 613936 -38376161383434346533303639633063356634633233333835643534363365613162323164= 316432 -31356232313832326539326437663430316634363431303837393965393936656334343037= 653364 -62363033303731343132343334653834316264313235306430636335383831623136626665= 376239 -63653938323736313963393164353366313930303730666136626130393463653064336639= 343766 -66633733656534303666316638383336366138343831313063643732636437313564336637= 633765 -30313365303732316561303665643732616433386639666231633332616435373061313161= 636633 -36633062623163393234303563306363303831353437363535393633303930656665323761= 313834 -31623935643063613536653532653766313235396366333231353234323565646461343930= 393839 -37303130633439396364656261333135663764666164623130666664666133623361323930= 396334 -32376639373234633532343764656438303939343538363031326633656561333937396164= 323963 -63633839376136633131353137646133303566386466303035353236303930356163313666= 616539 -37336132663033343165663566663636376233346264346363666131336330393064396563= 346335 -33636130333135613764643862663836336461383136666361663135373933373539653131= 653338 -30656233656464643438636635373139323061616561386638663431633861303362343762= 626338 -37326334363764633232633538343434353661616632626336343134313332383936353161= 616535 -6463 +64343731373437366531636566663438363261343431663139383066646464636533653936= 383962 +3936346536323236363365306639613464303566373464650a663236353065366666303666= 363431 +35363464613031346338336437383930353839346162316261613835636138356361626439= 616638 +6237623363383330370a663732313138623732393534316164653039323430363964306666= 326334 +33343861306562663037653436666361396131656434393261366664623539313831373033= 313231 +65633265366230363139666533333264343364316564623766346134646233656434313839= 393838 +39623862643537633238376362373038636666393165326261353434373763626233356438= 623338 +36376266626134336165633065303762346136386461376466633563386666366636613534= 653632 +63613931383035613133613564356232386565326534356366656633373338663963356236= 343964 +38626531336238663666326531383333396139646339323835346231633636346563313161= 343133 +30393339326666613030326636663365313536366439336137363031343032643939616161= 396361 +31636664366631383831323438373265343531653539366331643461646239386261333333= 343236 +32616664396530653736643865666138333136373139323438636566386664656137323261= 633765 +61356639623161386235613333303335643864373131393663303335316132663632626530= 653036 +30313062316466373230626437666433366162656461356336393232353737396166316564= 666438 +36666633623032363330613464376336313264623132636430646334663435393039656233= 396336 +66343161656564323538386132366634303564303038623033656362643562653265343863= 303939 +32323362386436343133336639303666336235346265653666366331643939663034336662= 656435 +30393232386531353532353139393037303333396662313564323731363537316261333730= 326635 +61393866386233633261653630653930376564373734373334313764396339353161396463= 613032 +31376239366431386538636663616533306362646134336434346231386638363765613631= 383035 +31313439353863396365646639383834313961653038316333613337663134396239303866= 666236 +63313363306561373936343832373037336635313565313664356331616461353637633131= 333464 +34366332356463646230613133353361363766616635616234656666373639333936653639= 373535 +30316365373839353563343133613061326237313265383331623834633133633034663934= 333364 +64393335333738303262323234663135636235396265656335323934363534323636643934= 613866 +61386137303135613734633064383638316131383631653333366632356133646231623534= 313134 +36386339323638646266626137613032333738333739636439653334363333343437633964= 613738 +61363336333966663731313362366165323034303538323037623735346239303663623361= 643432 +63376236663963343231653031373961313732393833323932316533616165623336386337= 643363 +36666236623435396332386538616139653430666130386562373735626435373665346630= 643831 +35303533626537396330346530656234363830383330353234386234353163306637653938= 646635 +31666631326132343030393763633362343738303030343032326435386165346463666662= 336130 +33353030323438346437396632616234333333623136373563343965383235626337643164= 393361 +65313463336237636433333835326363663335396238356663346233666430373530396266= 336630 +31393036383431303631333365663961303639323635376236313531626638323864656438= 613138 +32303230313930613363323330623936343531393034616634323439303765623938366661= 613561 +30313633363764646362343862333766616465656465303132313166666239373238633134= 383131 +32656664383230333263396537373636663337346638306634613862373365653534666362= 383139 +64313735646636393866386230373232363635623333613833306165663136613162393730= 356565 +35393238663531366634636139616563303336653733353832336138656663653764636462= 316561 +64653935656134636139396262316461383765623334353664306165316130393462383863= 643133 +39313538396337633136353637366632653731643665666161396164636566366136396261= 663264 +62626464353231306435666339663939323733346165333663363765363835323864306264= 393561 +63303731383339396366353761316435396466613732646633616438346336623863 --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 01:46:33 2024 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 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1508764766832710.310570404292; Mon, 23 Oct 2017 06:19:26 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id C386E80C18; Mon, 23 Oct 2017 13:19: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 9B6DD7C017; Mon, 23 Oct 2017 13:19: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 629516EF23; Mon, 23 Oct 2017 13:19:24 +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 v9NDJEdP002301 for ; Mon, 23 Oct 2017 09:19:14 -0400 Received: by smtp.corp.redhat.com (Postfix) id D22F37982B; Mon, 23 Oct 2017 13:19:14 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.219]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5A61479C4A for ; Mon, 23 Oct 2017 13:19:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C386E80C18 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Date: Mon, 23 Oct 2017 15:19:03 +0200 Message-Id: <20171023131904.28213-5-abologna@redhat.com> In-Reply-To: <20171023131904.28213-1-abologna@redhat.com> References: <20171023131904.28213-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH v2 4/5] ansible: Use ansible_distribution_release on FreeBSD 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 23 Oct 2017 13:19:25 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" In general, we can rely on ansible_distribution_major_version for a quick way to figure out the OS version; however, when it comes to FreeBSD's -CURRENT snapshots, that variable is not available, which causes the playbook to fail. Work around the problem by always extracting the OS version from ansible_distribution_release, which is available even on -CURRENT. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- guests/tasks/base.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/guests/tasks/base.yml b/guests/tasks/base.yml index 1604cd0..8d7ff44 100644 --- a/guests/tasks/base.yml +++ b/guests/tasks/base.yml @@ -4,6 +4,7 @@ os_name: '{{ ansible_distribution }}' os_version: '{{ ansible_distribution_major_version }}' when: + - ansible_distribution !=3D 'FreeBSD' - ansible_distribution_release !=3D 'Rawhide' =20 - name: Set additional facts (OS) @@ -11,8 +12,16 @@ os_name: '{{ ansible_distribution }}' os_version: Rawhide when: + - ansible_distribution !=3D 'FreeBSD' - ansible_distribution_release =3D=3D 'Rawhide' =20 +- name: Set additional facts (OS) + set_fact: + os_name: '{{ ansible_distribution }}' + os_version: '{{ ansible_distribution_release|regex_replace("^(\d+)\.\d= +-.*$", "\1") }}' + when: + - ansible_distribution =3D=3D 'FreeBSD' + - name: Set additional facts (package format) set_fact: package_format: deb --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 01:46:33 2024 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 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1508764768860248.60896935288588; Mon, 23 Oct 2017 06:19:28 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 526474E906; Mon, 23 Oct 2017 13:19:27 +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 30C7D58840; Mon, 23 Oct 2017 13:19:27 +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 E8ED51804486; Mon, 23 Oct 2017 13:19:26 +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 v9NDJFmu002311 for ; Mon, 23 Oct 2017 09:19:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id A48DD79C4D; Mon, 23 Oct 2017 13:19:15 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.219]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2B5727982B for ; Mon, 23 Oct 2017 13:19:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 526474E906 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Date: Mon, 23 Oct 2017 15:19:04 +0200 Message-Id: <20171023131904.28213-6-abologna@redhat.com> In-Reply-To: <20171023131904.28213-1-abologna@redhat.com> References: <20171023131904.28213-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH v2 5/5] guests: Add Debian sid and FreeBSD -CURRENT 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 23 Oct 2017 13:19:27 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" We already have support for Fedora's development branch; it only makes sense to include Debian's and FreeBSD's as well. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- guests/host_vars/libvirt-debian-sid/install.yml | 3 +++ guests/host_vars/libvirt-debian-sid/main.yml | 16 ++++++++++++++++ guests/host_vars/libvirt-freebsd-current/main.yml | 23 +++++++++++++++++++= ++++ 3 files changed, 42 insertions(+) create mode 100644 guests/host_vars/libvirt-debian-sid/install.yml create mode 100644 guests/host_vars/libvirt-debian-sid/main.yml create mode 100644 guests/host_vars/libvirt-freebsd-current/main.yml diff --git a/guests/host_vars/libvirt-debian-sid/install.yml b/guests/host_= vars/libvirt-debian-sid/install.yml new file mode 100644 index 0000000..da1c7a8 --- /dev/null +++ b/guests/host_vars/libvirt-debian-sid/install.yml @@ -0,0 +1,3 @@ +--- +install_url: http://deb.debian.org/debian/dists/sid/main/installer-amd64/ +install_config: preseed.cfg diff --git a/guests/host_vars/libvirt-debian-sid/main.yml b/guests/host_var= s/libvirt-debian-sid/main.yml new file mode 100644 index 0000000..ff28698 --- /dev/null +++ b/guests/host_vars/libvirt-debian-sid/main.yml @@ -0,0 +1,16 @@ +--- +projects: + - base + - libosinfo + - libvirt + - libvirt-glib + - libvirt-go + - libvirt-go-xml + - libvirt-perl + - libvirt-python + - libvirt-sandbox + - libvirt-tck + - osinfo-db + - osinfo-db-tools + - virt-manager + - virt-viewer diff --git a/guests/host_vars/libvirt-freebsd-current/main.yml b/guests/hos= t_vars/libvirt-freebsd-current/main.yml new file mode 100644 index 0000000..3848c3d --- /dev/null +++ b/guests/host_vars/libvirt-freebsd-current/main.yml @@ -0,0 +1,23 @@ +--- +ansible_python_interpreter: /usr/local/bin/python2 + +bash: /usr/local/bin/bash +java: /usr/local/bin/java +make: /usr/local/bin/gmake +su: /usr/bin/su +sudoers: /usr/local/etc/sudoers + +projects: + - base + - libosinfo + - libvirt + - libvirt-glib + - libvirt-go + - libvirt-go-xml + - libvirt-perl + - libvirt-python + - libvirt-tck + - osinfo-db + - osinfo-db-tools + - virt-manager + - virt-viewer --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list