[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 7/8] gitlab: create a build-deprecated target
From: |
Alex Bennée |
Subject: |
Re: [PULL 7/8] gitlab: create a build-deprecated target |
Date: |
Wed, 16 Sep 2020 14:23:32 +0100 |
User-agent: |
mu4e 1.5.5; emacs 28.0.50 |
Peter Maydell <peter.maydell@linaro.org> writes:
> On Wed, 16 Sep 2020 at 13:27, Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>> These targets might be deprecated but we should keep them building
>> before the final axe comes down. Lets keep them all in one place and
>> don't hold up the CI if they do fail. They are either poorly tested or
>> already flaky anyway.
>>
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> Acked-by: Thomas Huth <thuth@redhat.com>
>> Message-Id: <20200915134317.11110-8-alex.bennee@linaro.org>
>>
>> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
>> index 72e8604579ee..f027b55aef15 100644
>> --- a/.gitlab-ci.yml
>> +++ b/.gitlab-ci.yml
>> @@ -254,6 +254,16 @@ build-clang:
>> ppc-softmmu s390x-softmmu arm-linux-user
>> MAKE_CHECK_ARGS: check
>>
>> +# These targets are on the way out
>> +build-deprecated:
>> + <<: *native_build_job_definition
>> + variables:
>> + IMAGE: debian-all-test-cross
>> + CONFIGURE_ARGS: --disable-docs --disable-tools --disable-system
>> + MAKE_CHECK_ARGS: check-tcg
>> + TARGETS: ppc64abi32-linux-user tilegx-linux-user
>> + allow_failure: true
>
> It's kind of awkward to have the CI config need to be updated when
> we mark a config as deprecated. Can we have something so that
> the CI just arranges to build all of the deprecated targets?
You mean a configure --enable-deprecated-targets?
>
> (As demonstration, this list is missing unicore32, which is also
> deprecated.)
That was fixed up in the next patch.
> Also, "allow_failure: true" seems wrong to me. These targets
> are only deprecated, which means we promise that the feature
> should still work (to whatever extent it already did) for the 2
> releases in which it is deprecated. We want our CI to tell us
> if it fails to compile or fails tests, because we would need to
> fix those bugs for a release.
I can revert that bit.
--
Alex Bennée
- [PULL 0/8] configure deprecation, linux-user and test fix, Alex Bennée, 2020/09/16
- [PULL 1/8] linux-user: test, don't assert addr != test in pgb_reserved_va, Alex Bennée, 2020/09/16
- [PULL 2/8] iotests: Drop readlink -f, Alex Bennée, 2020/09/16
- [PULL 4/8] configure: also skip deprecated targets with target-list-exclude, Alex Bennée, 2020/09/16
- [PULL 3/8] configure: move deprecated feature processing to supported_target, Alex Bennée, 2020/09/16
- [PULL 5/8] configure: clean-up the target-list-exclude logic, Alex Bennée, 2020/09/16
- [PULL 6/8] configure: include tilegx-linux-user in the deprecation logic, Alex Bennée, 2020/09/16
- [PULL 7/8] gitlab: create a build-deprecated target, Alex Bennée, 2020/09/16
[PULL 8/8] configure: add [lm32|unicore32]-softmmu to deprecation logic, Alex Bennée, 2020/09/16
Re: [PULL 0/8] configure deprecation, linux-user and test fix, Peter Maydell, 2020/09/17