[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CI/CD testing of gnulib?
From: |
Simon Josefsson |
Subject: |
Re: CI/CD testing of gnulib? |
Date: |
Wed, 11 Nov 2020 18:59:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Bruno Haible <bruno@clisp.org> writes:
> Hi Simon,
>
>> I'm wondering if there is any CI/CD testing of gnulib for
>> different platforms?
>
> There is some automated CI testing done one gitlab.com. Tim, can you please
> answer my question from [1]?
Thanks -- indeed doing this on GitLab would be easy, and I'm happy to
help. I have just set up CI/CD of OATH Toolkit (which uses many gnulib
modules) and it was pretty straight forward, adding this file
https://gitlab.com/oath-toolkit/oath-toolkit/-/blob/master/.gitlab-ci.yml
results in these build logs:
https://gitlab.com/oath-toolkit/oath-toolkit/-/pipelines/214827317/builds
The only thing to do is to push the repository to gitlab and have the
CI/CD setting for the project set up to point at the .gitlab-ci.yml file
that is used. And to write the .gitlab-ci.yml file, of course.
> But it does not do so on multiple platforms, because
> * The CI systems for different platforms have different configurations
> (gitlab vs. travis vs. hydra etc.), and I don't have time to learn each
> of them. Volunteers for learning and putting in place a travis or hydra
> CI would be welcome!
> * Some platforms are not covered by CI testing platforms (e.g. AIX, Solaris,
> Minix, but also Alpine Linux).
GitLab provides free (up to some usage limits..) runners, and if there
is a docker image for the OS, it should Just Work. As you can see
above, Alpine exists. Proprietary OS's probably requires someone to
install a GitLab runner on it and connect it to the GitLab gnulib
project.
/Simon
signature.asc
Description: PGP signature