[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2] gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD |
Date: |
Mon, 30 Nov 2020 10:14:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
On 11/30/20 5:26 AM, Cho, Yu-Chen wrote:
> v2:
> Drop some package from dockerfile to make docker image more light.
>
> v1:
> Add build-system-opensuse jobs and opensuse-leap.docker dockerfile.
> Use openSUSE Leap 15.2 container image in the gitlab-CI.
>
> Signed-off-by: Cho, Yu-Chen <acho@suse.com>
> ---
> .gitlab-ci.d/containers.yml | 5 ++
> .gitlab-ci.yml | 30 +++++++++++
> tests/docker/dockerfiles/opensuse-leap.docker | 54 +++++++++++++++++++
> 3 files changed, 89 insertions(+)
> create mode 100644 tests/docker/dockerfiles/opensuse-leap.docker
>
> diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml
> index 892ca8d838..910754a699 100644
> --- a/.gitlab-ci.d/containers.yml
> +++ b/.gitlab-ci.d/containers.yml
> @@ -246,3 +246,8 @@ amd64-ubuntu-container:
> <<: *container_job_definition
> variables:
> NAME: ubuntu
> +
> +amd64-opensuse-leap-container:
> + <<: *container_job_definition
> + variables:
> + NAME: opensuse-leap
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index d0173e82b1..6a256fe07b 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -195,6 +195,36 @@ acceptance-system-centos:
> MAKE_CHECK_ARGS: check-acceptance
> <<: *acceptance_definition
>
What about adding in a comment who is the maintainer
of these jobs? Some sort of contact in case there is
a OpenSUSE specific issue for example.
See:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg758968.html
> +build-system-opensuse:
> + <<: *native_build_job_definition
> + variables:
> + IMAGE: opensuse-leap
> + TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
> + MAKE_CHECK_ARGS: check-build
> + artifacts:
> + expire_in: 2 days
> + paths:
> + - build
> +
> +check-system-opensuse:
> + <<: *native_test_job_definition
> + needs:
> + - job: build-system-opensuse
> + artifacts: true
> + variables:
> + IMAGE: opensuse-leap
> + MAKE_CHECK_ARGS: check
> +
> +acceptance-system-opensuse:
> + <<: *native_test_job_definition
> + needs:
> + - job: build-system-opensuse
> + artifacts: true
> + variables:
> + IMAGE: opensuse-leap
> + MAKE_CHECK_ARGS: check-acceptance
> + <<: *acceptance_definition
> +
> build-disabled:
> <<: *native_build_job_definition
> variables: