Skip to contentSkip to conversation

travis.yml: Remove the "Release tarball" job

PATCH In review Thomas Huth 4 participants 6 messages Sep 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis.yml: Remove the "Release tarball" job

This is a leftover from the days when we were using Travis excessively, but since x86 jobs are not really usable there anymore, this job has likely never been used since many months. Let's simply remove it now.

---
 .travis.yml | 23 -----------------------
 1 file changed, 23 deletions(-)
.travis.yml +0 -23
index 0faddf7b4e..41010ebe6b 100644
@@ -305,26 +305,3 @@ jobs:
         - CONFIG="--disable-containers --disable-tcg --enable-kvm
                   --disable-tools --host-cc=clang --cxx=clang++"
         - UNRELIABLE=true
-
-    # Release builds
-    # The make-release script expect a QEMU version, so our tag must start with a 'v'.
-    # This is the case when release candidate tags are created.
-    - name: "Release tarball"
-      if: tag IS present AND tag =~ /^v\d+\.\d+(\.\d+)?(-\S*)?$/
-      env:
-        # We want to build from the release tarball
-        - BUILD_DIR="release/build/dir" SRC_DIR="../../.."
-        - BASE_CONFIG="--prefix=$PWD/dist"
-        - CONFIG="--target-list=x86_64-softmmu,aarch64-softmmu,armeb-linux-user,ppc-linux-user"
-        - TEST_CMD="make install -j${JOBS}"
-        - QEMU_VERSION="${TRAVIS_TAG:1}"
-        - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
-      script:
-        - make -C ${SRC_DIR} qemu-${QEMU_VERSION}.tar.bz2
-        - ls -l ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2
-        - tar -xf ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2 && cd qemu-${QEMU_VERSION}
-        - mkdir -p release-build && cd release-build
-        - ../configure ${BASE_CONFIG} ${CONFIG} || { cat config.log meson-logs/meson-log.txt && exit 1; }
-        - make install
-  allow_failures:
-    - env: UNRELIABLE=true
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Thomas Huth

This is a leftover from the days when we were using Travis excessively, but since x86 jobs are not really usable there anymore, this job has likely never been used since many months. Let's simply remove it now.

---
 .travis.yml | 23 -----------------------
 1 file changed, 23 deletions(-)

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 :|
#2 lore raw
In reply to Thomas Huth
Quoted 5 lines · Thomas Huth

This is a leftover from the days when we were using Travis excessively, but since x86 jobs are not really usable there anymore, this job has likely never been used since many months. Let's simply remove it now.

Queued to testing/next, thanks.

Signature · 1 line
Alex Bennée
#3 lore raw
In reply to Thomas Huth
Quoted 9 lines · Thomas Huth

This is a leftover from the days when we were using Travis excessively, but since x86 jobs are not really usable there anymore, this job has likely never been used since many months. Let's simply remove it now.

---
 .travis.yml | 23 -----------------------
 1 file changed, 23 deletions(-)

Do we have the equivalent job on GitLab?

Quoted 1 line
#4 lore raw
Quoted 6 lines · Philippe Mathieu-Daudé

Le ven. 17 sept. 2021 11:48, Thomas Huth <[email protected] <mailto:[email protected]>> a écrit :

This is a leftover from the days when we were using Travis excessively, but since x86 jobs are not really usable there anymore, this job has likely never been used since many months. Let's simply remove it now.

Quoted 6 lines
Signed-off-by Thomas Huth <[email protected] <mailto:[email protected]>>

---
 .travis.yml | 23 -----------------------
 1 file changed, 23 deletions(-)

Do we have the equivalent job on GitLab?

I'm not aware of any. But since this job was only running on v* tags anyway, it likely does not make much sense to translate it 1:1 to a gitlab job. But maybe Michael could suggest something similar if it's helpful for making sure the release tarballs do no regress?

Thomas

#5 lore raw
Quoted 15 lines · Thomas Huth
Quoted 14 lines · Philippe Mathieu-Daudé

Le ven. 17 sept. 2021 11:48, Thomas Huth <[email protected] <mailto:[email protected]>> a écrit :

    This is a leftover from the days when we were using Travis excessively,
    but since x86 jobs are not really usable there anymore, this job has likely never been used since many months. Let's simply remove it now.

<mailto:[email protected]>>
    ---
      .travis.yml | 23 -----------------------

      1 file changed, 23 deletions(-)
Quoted 6 lines
Quoted 1 line

Do we have the equivalent job on GitLab?

I'm not aware of any. But since this job was only running on v* tags anyway, it likely does not make much sense to translate it 1:1 to a gitlab job. But maybe Michael could suggest something similar if it's helpful for making sure the release tarballs do no regress?

This is why we added this job in the first place... Peter tagged a released then Michael got issues when generating the archive.