xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH] automation: Fix CI with the fedora container
@ 2019-06-11 10:56 Andrew Cooper
  2019-06-11 13:02 ` Andrew Cooper
  2019-06-11 16:26 ` Doug Goldstein
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Cooper @ 2019-06-11 10:56 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Doug Goldstein, Wei Liu

A recent rebuild of the CI contaniers switched from Fedora 29 to 30 because
the dockerfile is targetting latest.

Unfortunately, the version of iPXE in master doesn't build with the default
GCC in Fedora 30, which is blocking all CI activity.

Switch from latest to an explicit version, to avoid future breakage.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Wei Liu <wl@xen.org>
CC: Doug Goldstein <cardoe@cardoe.com>

I have already pushed an "updated" fedora:latest container which is actually
29 to unblock existing CI, and pushed fedora:29 built from this dockerfile.
---
 automation/build/fedora/{latest.dockerfile => 29.dockerfile} | 2 +-
 automation/gitlab-ci/build.yaml                              | 4 ++--
 automation/scripts/containerize                              | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename automation/build/fedora/{latest.dockerfile => 29.dockerfile} (97%)

diff --git a/automation/build/fedora/latest.dockerfile b/automation/build/fedora/29.dockerfile
similarity index 97%
rename from automation/build/fedora/latest.dockerfile
rename to automation/build/fedora/29.dockerfile
index e0db7af..8ad0b2b 100644
--- a/automation/build/fedora/latest.dockerfile
+++ b/automation/build/fedora/29.dockerfile
@@ -1,4 +1,4 @@
-FROM fedora:latest
+FROM fedora:29
 LABEL maintainer.name="The Xen Project" \
       maintainer.email="xen-devel@lists.xenproject.org"
 
diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
index 17de3b1..1e61d30 100644
--- a/automation/gitlab-ci/build.yaml
+++ b/automation/gitlab-ci/build.yaml
@@ -341,12 +341,12 @@ debian-unstable-32-gcc-debug:
 fedora-gcc:
   extends: .gcc-x86-64-build
   variables:
-    CONTAINER: fedora:latest
+    CONTAINER: fedora:29
 
 fedora-gcc-debug:
   extends: .gcc-x86-64-build-debug
   variables:
-    CONTAINER: fedora:latest
+    CONTAINER: fedora:29
 
 # Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5
 
diff --git a/automation/scripts/containerize b/automation/scripts/containerize
index a7809b3..dc6d4f3 100755
--- a/automation/scripts/containerize
+++ b/automation/scripts/containerize
@@ -19,7 +19,7 @@ case "_${CONTAINER}" in
     _centos6) CONTAINER="${BASE}/centos:6" ;;
     _centos7) CONTAINER="${BASE}/centos:7" ;;
     _centos72) CONTAINER="${BASE}/centos:7.2" ;;
-    _fedora) CONTAINER="${BASE}/fedora:latest";;
+    _fedora) CONTAINER="${BASE}/fedora:29";;
     _jessie) CONTAINER="${BASE}/debian:jessie" ;;
     _stretch|_) CONTAINER="${BASE}/debian:stretch" ;;
     _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Xen-devel] [PATCH] automation: Fix CI with the fedora container
  2019-06-11 10:56 [Xen-devel] [PATCH] automation: Fix CI with the fedora container Andrew Cooper
@ 2019-06-11 13:02 ` Andrew Cooper
  2019-06-11 16:26 ` Doug Goldstein
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cooper @ 2019-06-11 13:02 UTC (permalink / raw)
  To: Xen-devel; +Cc: Doug Goldstein, Wei Liu

On 11/06/2019 11:56, Andrew Cooper wrote:
> A recent rebuild of the CI contaniers switched from Fedora 29 to 30 because
> the dockerfile is targetting latest.
>
> Unfortunately, the version of iPXE in master doesn't build with the default
> GCC in Fedora 30, which is blocking all CI activity.
>
> Switch from latest to an explicit version, to avoid future breakage.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> ---
> CC: Wei Liu <wl@xen.org>
> CC: Doug Goldstein <cardoe@cardoe.com>
>
> I have already pushed an "updated" fedora:latest container which is actually
> 29 to unblock existing CI, and pushed fedora:29 built from this dockerfile.

https://gitlab.com/xen-project/people/andyhhp/xen/pipelines/65651062 is
a run with this change in place.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xen-devel] [PATCH] automation: Fix CI with the fedora container
  2019-06-11 10:56 [Xen-devel] [PATCH] automation: Fix CI with the fedora container Andrew Cooper
  2019-06-11 13:02 ` Andrew Cooper
@ 2019-06-11 16:26 ` Doug Goldstein
  1 sibling, 0 replies; 3+ messages in thread
From: Doug Goldstein @ 2019-06-11 16:26 UTC (permalink / raw)
  To: Andrew Cooper; +Cc: Xen-devel, Wei Liu

On Tue, Jun 11, 2019 at 11:56:36AM +0100, Andrew Cooper wrote:
> A recent rebuild of the CI contaniers switched from Fedora 29 to 30 because
> the dockerfile is targetting latest.
> 
> Unfortunately, the version of iPXE in master doesn't build with the default
> GCC in Fedora 30, which is blocking all CI activity.
> 
> Switch from latest to an explicit version, to avoid future breakage.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Acked-by: Doug Goldstein <cardoe@cardoe.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-11 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-11 10:56 [Xen-devel] [PATCH] automation: Fix CI with the fedora container Andrew Cooper
2019-06-11 13:02 ` Andrew Cooper
2019-06-11 16:26 ` Doug Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).