Skip to contentSkip to conversation

.travis.yml: Deprecate it in favor of GitLab CI

PATCH-for-5.1 Philippe Mathieu-Daudé 4 participants 4 messages Aug 4, 2020

lore
Share & tools
lore
#0 lore raw

As of QEMU 5.2 we prefer to focus our CI development on GitLab. Mark Travis-CI as deprecated (adding a big warning).

---
 docs/system/deprecated.rst | 11 +++++++++++
 .travis.yml                |  7 +++++++
 2 files changed, 18 insertions(+)
docs/system/deprecated.rst +11 -0
index 851dbdeb8a..c17a5b0896 100644
@@ -17,6 +17,17 @@ they were first deprecated in the 2.10.0 release.
 What follows is a list of all features currently marked as
 deprecated.
 
+Build and test automation
+-------------------------
+
+``Travis-CI`` (Since 5.2)
+'''''''''''''''''''''''''
+
+``Travis-CI`` is deprecated in favor of GitLab-CI.
+
+The '.travis.yml' configuration should only be modified to remove jobs
+when equivalent exist on GitLab-CI. Adding new jobs is not allowed.
+
 System emulator command line arguments
 --------------------------------------
 
.travis.yml +7 -0
index 6695c0620f..4ad243f511 100644
@@ -1,3 +1,10 @@
+#  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING
+#
+#  As of QEMU 5.2, this file is now deprecated in favor of GitLab CI.
+#  Do not modify, except to remove jobs ported to GitLab CI.
+#
+#  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING
+
 # The current Travis default is a VM based 16.04 Xenial on GCE
 # Additional builds with specific requirements for a full VM need to
 # be added as additional matrix: entries later on
Signature · 1 line
2.21.3
#1 lore raw
Quoted 17 lines · Philippe Mathieu-Daudé

As of QEMU 5.2 we prefer to focus our CI development on GitLab. Mark Travis-CI as deprecated (adding a big warning).

---
 docs/system/deprecated.rst | 11 +++++++++++
 .travis.yml                |  7 +++++++
 2 files changed, 18 insertions(+)
docs/system/deprecated.rst +0 -0
index 851dbdeb8a..c17a5b0896 100644
@@ -17,6 +17,17 @@ they were first deprecated in the 2.10.0 release.
 What follows is a list of all features currently marked as
 deprecated.
 

docs/system/deprecated.rst they were first deprecated in the 2.10.0 release. · line 29

Quoted 10 lines
docs/system/deprecated.rst +10 -0
+Build and test automation
+-------------------------
+
+``Travis-CI`` (Since 5.2)
+'''''''''''''''''''''''''
+
+``Travis-CI`` is deprecated in favor of GitLab-CI.
+
+The '.travis.yml' configuration should only be modified to remove jobs
+when equivalent exist on GitLab-CI. Adding new jobs is not allowed.

I don't think that we need to document this for the normal users.

Quoted 8 lines
docs/system/deprecated.rst +0 -0
 System emulator command line arguments
 --------------------------------------
 
.travis.yml +0 -0
index 6695c0620f..4ad243f511 100644

.travis.yml line 6

Quoted 6 lines
.travis.yml +6 -0
@@ -1,3 +1,10 @@
+#  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING
+#
+#  As of QEMU 5.2, this file is now deprecated in favor of GitLab CI.
+#  Do not modify, except to remove jobs ported to GitLab CI.
+#
+#  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING

Fine for me to add this warning here (but maybe without saying 16 x WARNING) - but I guess we'd like to keep the non-x86 build jobs here for people who do not have access to aarch64, ppc64le and s390x runners otherwise?

Thomas

#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 17 lines · Philippe Mathieu-Daudé

As of QEMU 5.2 we prefer to focus our CI development on GitLab. Mark Travis-CI as deprecated (adding a big warning).

---
 docs/system/deprecated.rst | 11 +++++++++++
 .travis.yml                |  7 +++++++
 2 files changed, 18 insertions(+)
docs/system/deprecated.rst +0 -0
index 851dbdeb8a..c17a5b0896 100644
@@ -17,6 +17,17 @@ they were first deprecated in the 2.10.0 release.
 What follows is a list of all features currently marked as
 deprecated.
 

docs/system/deprecated.rst they were first deprecated in the 2.10.0 release. · line 29

Quoted 10 lines
docs/system/deprecated.rst +10 -0
+Build and test automation
+-------------------------
+
+``Travis-CI`` (Since 5.2)
+'''''''''''''''''''''''''
+
+``Travis-CI`` is deprecated in favor of GitLab-CI.
+
+The '.travis.yml' configuration should only be modified to remove jobs
+when equivalent exist on GitLab-CI. Adding new jobs is not allowed.

I don't think this is really needed. CI is not an end user feature that is covered by deprecation policy. We simply do whatever we want with CI at any time that suits maintainers.

Quoted 8 lines
docs/system/deprecated.rst +0 -0
 System emulator command line arguments
 --------------------------------------
 
.travis.yml +0 -0
index 6695c0620f..4ad243f511 100644

.travis.yml line 6

Quoted 6 lines
.travis.yml +6 -0
@@ -1,3 +1,10 @@
+#  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING
+#
+#  As of QEMU 5.2, this file is now deprecated in favor of GitLab CI.
+#  Do not modify, except to remove jobs ported to GitLab CI.
+#
+#  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING

NOTE: GitLab provides the primary CI platform, with Cirrus CI
as the preferred secondary. No new jobs or functionality should be added to Travis. The intent is to eliminate Travis whereever possible.

More broadly we would benefit from having a ci.rst file somewhere in docs/ to explain our setup and strategy

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#3 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 2 lines · Philippe Mathieu-Daudé

As of QEMU 5.2 we prefer to focus our CI development on GitLab. Mark Travis-CI as deprecated (adding a big warning).

Subject doesn't match body (5.1 vs 5.2)

Quoted 16 lines
---
 docs/system/deprecated.rst | 11 +++++++++++
 .travis.yml                |  7 +++++++
 2 files changed, 18 insertions(+)
docs/system/deprecated.rst +1 -0
index 851dbdeb8a..c17a5b0896 100644
@@ -17,6 +17,17 @@ they were first deprecated in the 2.10.0 release.
 What follows is a list of all features currently marked as
 deprecated.
 
+Build and test automation

docs/system/deprecated.rst they were first deprecated in the 2.10.0 release. · line 30

Quoted 10 lines
docs/system/deprecated.rst +10 -0
+-------------------------
+
+``Travis-CI`` (Since 5.2)
+'''''''''''''''''''''''''
+
+``Travis-CI`` is deprecated in favor of GitLab-CI.
+
+The '.travis.yml' configuration should only be modified to remove jobs
+when equivalent exist on GitLab-CI. Adding new jobs is not allowed.
+

As others have pointed out I think we need to start a new document - docs/devel/ci.rst and start putting things in there.

Quoted 18 lines
docs/system/deprecated.rst +0 -0
 System emulator command line arguments
 --------------------------------------
 
.travis.yml +7 -0
index 6695c0620f..4ad243f511 100644
@@ -1,3 +1,10 @@
+#  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING
+#
+#  As of QEMU 5.2, this file is now deprecated in favor of GitLab CI.
+#  Do not modify, except to remove jobs ported to GitLab CI.
+#
+#  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING
+
 # The current Travis default is a VM based 16.04 Xenial on GCE
 # Additional builds with specific requirements for a full VM need to
 # be added as additional matrix: entries later on
Signature · 1 line
Alex Bennée