[libvirt] [jenkins-ci PATCH 1/2] Stop building Go projects on CentOS 7

Andrea Bolognani abologna at redhat.com
Fri Dec 21 09:15:32 UTC 2018


At some point during the life of CentOS 7, the Go compiler
and related packages appear to has been moved from out of
the base repositories and into EPEL.

Since as a rule we only rely on first-party repositories
to fulfill build requirements, this means we can no longer
build Go projects on CentOS 7.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/playbooks/build/projects/libvirt-go-xml.yml | 13 ++++++++++++-
 guests/playbooks/build/projects/libvirt-go.yml     | 13 ++++++++++++-
 projects/libvirt-go-xml.yaml                       |  9 ++++++++-
 projects/libvirt-go.yaml                           |  9 ++++++++-
 4 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/guests/playbooks/build/projects/libvirt-go-xml.yml b/guests/playbooks/build/projects/libvirt-go-xml.yml
index ef932b4..e132d47 100644
--- a/guests/playbooks/build/projects/libvirt-go-xml.yml
+++ b/guests/playbooks/build/projects/libvirt-go-xml.yml
@@ -1,7 +1,18 @@
 ---
 - set_fact:
     name: libvirt-go-xml
-    machines: '{{ all_machines }}'
+    machines:
+      - libvirt-debian-8
+      - libvirt-debian-9
+      - libvirt-debian-sid
+      - libvirt-fedora-28
+      - libvirt-fedora-29
+      - libvirt-fedora-rawhide
+      - libvirt-freebsd-11
+      - libvirt-freebsd-12
+      - libvirt-freebsd-current
+      - libvirt-ubuntu-16
+      - libvirt-ubuntu-18
     archive_format: gz
     git_url: '{{ git_urls["libvirt-go-xml"][git_remote] }}'
 
diff --git a/guests/playbooks/build/projects/libvirt-go.yml b/guests/playbooks/build/projects/libvirt-go.yml
index 6c59900..e008e24 100644
--- a/guests/playbooks/build/projects/libvirt-go.yml
+++ b/guests/playbooks/build/projects/libvirt-go.yml
@@ -1,7 +1,18 @@
 ---
 - set_fact:
     name: libvirt-go
-    machines: '{{ all_machines }}'
+    machines:
+      - libvirt-debian-8
+      - libvirt-debian-9
+      - libvirt-debian-sid
+      - libvirt-fedora-28
+      - libvirt-fedora-29
+      - libvirt-fedora-rawhide
+      - libvirt-freebsd-11
+      - libvirt-freebsd-12
+      - libvirt-freebsd-current
+      - libvirt-ubuntu-16
+      - libvirt-ubuntu-18
     archive_format: gz
     git_url: '{{ git_urls["libvirt-go"][git_remote] }}'
 
diff --git a/projects/libvirt-go-xml.yaml b/projects/libvirt-go-xml.yaml
index 40a5d79..6f076de 100644
--- a/projects/libvirt-go-xml.yaml
+++ b/projects/libvirt-go-xml.yaml
@@ -1,7 +1,14 @@
 
 - project:
     name: libvirt-go-xml
-    machines: '{all_machines}'
+    machines:
+      - libvirt-debian-8
+      - libvirt-debian-9
+      - libvirt-fedora-28
+      - libvirt-fedora-29
+      - libvirt-fedora-rawhide
+      - libvirt-freebsd-11
+      - libvirt-freebsd-12
     title: Libvirt Go XML
     archive_format: gz
     git_url: '{git_urls[libvirt-go-xml][default]}'
diff --git a/projects/libvirt-go.yaml b/projects/libvirt-go.yaml
index ed8e575..70586cb 100644
--- a/projects/libvirt-go.yaml
+++ b/projects/libvirt-go.yaml
@@ -1,7 +1,14 @@
 
 - project:
     name: libvirt-go
-    machines: '{all_machines}'
+    machines:
+      - libvirt-debian-8
+      - libvirt-debian-9
+      - libvirt-fedora-28
+      - libvirt-fedora-29
+      - libvirt-fedora-rawhide
+      - libvirt-freebsd-11
+      - libvirt-freebsd-12
     title: Libvirt Go
     archive_format: gz
     git_url: '{git_urls[libvirt-go][default]}'
-- 
2.19.2




More information about the libvir-list mailing list