[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 3/3] .shippable.yml: new CI provider
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH v3 3/3] .shippable.yml: new CI provider |
Date: |
Tue, 14 Feb 2017 22:11:17 +0800 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Tue, 02/14 10:07, Alex Bennée wrote:
> Ostensibly Shippable offers a similar set of services as Travis.
> However they are focused on Docker container based work-flows so we
> can use our existing containers to run a few extra builds - in this
> case a bunch of cross-compiled targets on a Debian multiarch system.
>
> Signed-off-by: Alex Bennée <address@hidden>
>
> ---
> v3
> - reduce matrix to armhf/arm64 which currently work
> - use the make docker-image-* build stanzas
> - add TARGET_LIST to each build
> ---
> .shippable.yml | 23 +++++++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 24 insertions(+)
> create mode 100644 .shippable.yml
>
> diff --git a/.shippable.yml b/.shippable.yml
> new file mode 100644
> index 0000000000..e4fa159481
> --- /dev/null
> +++ b/.shippable.yml
> @@ -0,0 +1,23 @@
> +language: c
> +env:
> + matrix:
> + - IMAGE=debian-armhf-cross
> + CROSS_PREFIX=arm-linux-gnueabihf-
> + TARGET_LIST=arm-softmmu,arm-linux-user
> + - IMAGE=debian-arm64-cross
> + CROSS_PREFIX=aarch64-linux-gnu-
> + TARGET_LIST=aarch64-softmmu,aarch64-linux-user
> + - IMAGE=centos6
> + TARGET_LIST=i386-softmmu,x86_64-softmmu
> +build:
> + pre_ci:
> + - make docker-image-${IMAGE}
> + pre_ci_boot:
> + image_name: qemu
> + image_tag: ${IMAGE}
> + pull: false
> + options: "-e HOME=/root"
> + ci:
> + - unset CC
> + - ./configure --cross-prefix=${CROSS_PREFIX} --target-list=${TARGET_LIST}
> + - make -j2
Looks cool!
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 7afbadaa15..578888d32d 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1805,6 +1805,7 @@ M: Alex Bennée <address@hidden>
> L: address@hidden
> S: Supported
> F: .travis.yml
> +F: .shippable.yml
>
> Documentation
> -------------
> --
> 2.11.0
>
>
May I propose we merge 'docker testing' section of MAINTAINERS into 'build and
test automation' section? I don't know as much about travis (and shippable) but
I'm totally fine if you want to have docker tests under your umbrella, and
it seems a logical step judging from their names.
Fam
[Qemu-devel] [PATCH v3 1/3] tests/docker: add basic user mapping support, Alex Bennée, 2017/02/14