[PATCH] CI: Drop more TravisCI remnants

Andrew Cooper posted 1 patch 1 year, 6 months ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20221026123906.10421-1-andrew.cooper3@citrix.com
MAINTAINERS          |  1 -
scripts/travis-build | 32 --------------------------------
2 files changed, 33 deletions(-)
delete mode 100755 scripts/travis-build
[PATCH] CI: Drop more TravisCI remnants
Posted by Andrew Cooper 1 year, 6 months ago
This was missed from previous attempts to remove Travis.

Fixes: e0dc9b095e7c ("CI: Drop TravisCI")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: George Dunlap <George.Dunlap@eu.citrix.com>
CC: Jan Beulich <JBeulich@suse.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Wei Liu <wl@xen.org>
CC: Julien Grall <julien@xen.org>
CC: Henry Wang <Henry.Wang@arm.com>

Preforably for 4.17.  Not a bugfix, but this does reduce the amount of
irrelevant junk in the tree.
---
 MAINTAINERS          |  1 -
 scripts/travis-build | 32 --------------------------------
 2 files changed, 33 deletions(-)
 delete mode 100755 scripts/travis-build

diff --git a/MAINTAINERS b/MAINTAINERS
index 816656950ae2..175f10f33fc9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -274,7 +274,6 @@ W:	https://gitlab.com/xen-project/xen
 S:	Supported
 F:	.gitlab-ci.yml
 F:	automation/
-F:	scripts/travis-build
 
 CPU POOLS
 M:	Juergen Gross <jgross@suse.com>
diff --git a/scripts/travis-build b/scripts/travis-build
deleted file mode 100755
index 84d74266a01f..000000000000
--- a/scripts/travis-build
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash -ex
-
-$CC --version
-
-# random config or default config
-if [[ "${RANDCONFIG}" == "y" ]]; then
-    make -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config randconfig
-else
-    make -C xen defconfig
-fi
-
-# build up our configure options
-cfgargs=()
-cfgargs+=("--disable-stubdom") # more work needed into building this
-cfgargs+=("--disable-rombios")
-cfgargs+=("--enable-docs")
-cfgargs+=("--with-system-seabios=/usr/share/seabios/bios.bin")
-
-# Qemu requires Python 3.5 or later
-if ! type python3 || python3 -c "import sys; res = sys.version_info < (3, 5); exit(not(res))"; then
-    cfgargs+=("--with-system-qemu=/bin/false")
-fi
-
-if [[ "${XEN_TARGET_ARCH}" == "x86_64" ]]; then
-    cfgargs+=("--enable-tools")
-else
-    cfgargs+=("--disable-tools") # we don't have the cross depends installed
-fi
-
-./configure "${cfgargs[@]}"
-
-make dist
-- 
2.11.0
Re: [PATCH] CI: Drop more TravisCI remnants
Posted by Stefano Stabellini 1 year, 6 months ago
On Wed, 26 Oct 2022, Andrew Cooper wrote:
> This was missed from previous attempts to remove Travis.
> 
> Fixes: e0dc9b095e7c ("CI: Drop TravisCI")
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Acked-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
> CC: George Dunlap <George.Dunlap@eu.citrix.com>
> CC: Jan Beulich <JBeulich@suse.com>
> CC: Stefano Stabellini <sstabellini@kernel.org>
> CC: Wei Liu <wl@xen.org>
> CC: Julien Grall <julien@xen.org>
> CC: Henry Wang <Henry.Wang@arm.com>
> 
> Preforably for 4.17.  Not a bugfix, but this does reduce the amount of
> irrelevant junk in the tree.
> ---
>  MAINTAINERS          |  1 -
>  scripts/travis-build | 32 --------------------------------
>  2 files changed, 33 deletions(-)
>  delete mode 100755 scripts/travis-build
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 816656950ae2..175f10f33fc9 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -274,7 +274,6 @@ W:	https://gitlab.com/xen-project/xen
>  S:	Supported
>  F:	.gitlab-ci.yml
>  F:	automation/
> -F:	scripts/travis-build
>  
>  CPU POOLS
>  M:	Juergen Gross <jgross@suse.com>
> diff --git a/scripts/travis-build b/scripts/travis-build
> deleted file mode 100755
> index 84d74266a01f..000000000000
> --- a/scripts/travis-build
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -#!/bin/bash -ex
> -
> -$CC --version
> -
> -# random config or default config
> -if [[ "${RANDCONFIG}" == "y" ]]; then
> -    make -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config randconfig
> -else
> -    make -C xen defconfig
> -fi
> -
> -# build up our configure options
> -cfgargs=()
> -cfgargs+=("--disable-stubdom") # more work needed into building this
> -cfgargs+=("--disable-rombios")
> -cfgargs+=("--enable-docs")
> -cfgargs+=("--with-system-seabios=/usr/share/seabios/bios.bin")
> -
> -# Qemu requires Python 3.5 or later
> -if ! type python3 || python3 -c "import sys; res = sys.version_info < (3, 5); exit(not(res))"; then
> -    cfgargs+=("--with-system-qemu=/bin/false")
> -fi
> -
> -if [[ "${XEN_TARGET_ARCH}" == "x86_64" ]]; then
> -    cfgargs+=("--enable-tools")
> -else
> -    cfgargs+=("--disable-tools") # we don't have the cross depends installed
> -fi
> -
> -./configure "${cfgargs[@]}"
> -
> -make dist
> -- 
> 2.11.0
>
Re: [PATCH] CI: Drop more TravisCI remnants
Posted by Jan Beulich 1 year, 6 months ago
On 26.10.2022 14:39, Andrew Cooper wrote:
> This was missed from previous attempts to remove Travis.
> 
> Fixes: e0dc9b095e7c ("CI: Drop TravisCI")
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Acked-by: Jan Beulich <jbeulich@suse.com>
RE: [PATCH] CI: Drop more TravisCI remnants
Posted by Henry Wang 1 year, 6 months ago
Hi

> Subject: Re: [PATCH] CI: Drop more TravisCI remnants
> 
> On 26.10.2022 14:39, Andrew Cooper wrote:
> > This was missed from previous attempts to remove Travis.
> >
> > Fixes: e0dc9b095e7c ("CI: Drop TravisCI")
> > Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> 
> Acked-by: Jan Beulich <jbeulich@suse.com>

Release-acked-by: Henry Wang <Henry.Wang@arm.com>

Kind regards,
Henry