[libvirt] [PATCH 00/10] ci: Several fixes and improvements

Andrea Bolognani posted 10 patches 4 years, 8 months ago
Test syntax-check passed
Failed in applying to current master (apply log)
.gitignore                 |   2 +-
.travis.yml                |   8 +--
Makefile.am                |   6 +-
Makefile.ci => ci/Makefile | 109 +++++++++++++++++++------------------
ci/build.sh                |  40 ++++++++++++++
ci/prepare.sh              |  13 +++++
6 files changed, 118 insertions(+), 60 deletions(-)
rename Makefile.ci => ci/Makefile (79%)
create mode 100644 ci/build.sh
create mode 100644 ci/prepare.sh
[libvirt] [PATCH 00/10] ci: Several fixes and improvements
Posted by Andrea Bolognani 4 years, 8 months ago
See the individual commits for details, but the gist of it is that
after this series it's possible for users to hook into the build
process and customize it according to their needs; on top of that,
the whole thing is made more maintainable in the process.

Andrea Bolognani (10):
  ci: Fix /etc/sub{u,g}id parsing
  ci: Drop $(CI_SUBMODULES)
  ci: Move everything to a separate directory
  ci: Create user's home directory in the container
  ci: Move source directory under $(CI_USER_HOME)
  ci: Introduce $(CI_BUILD_SCRIPT)
  ci: Generalize running commands inside the container
  ci: Introduce $(CI_PREPARE_SCRIPT)
  ci: Run $(CI_PREPARE_SCRIPT) as root
  ci: Stop using --workdir

 .gitignore                 |   2 +-
 .travis.yml                |   8 +--
 Makefile.am                |   6 +-
 Makefile.ci => ci/Makefile | 109 +++++++++++++++++++------------------
 ci/build.sh                |  40 ++++++++++++++
 ci/prepare.sh              |  13 +++++
 6 files changed, 118 insertions(+), 60 deletions(-)
 rename Makefile.ci => ci/Makefile (79%)
 create mode 100644 ci/build.sh
 create mode 100644 ci/prepare.sh

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 00/10] ci: Several fixes and improvements
Posted by Andrea Bolognani 4 years, 8 months ago
On Fri, 2019-08-16 at 11:49 +0200, Andrea Bolognani wrote:
> See the individual commits for details, but the gist of it is that
> after this series it's possible for users to hook into the build
> process and customize it according to their needs; on top of that,
> the whole thing is made more maintainable in the process.
> 
> Andrea Bolognani (10):
>   ci: Fix /etc/sub{u,g}id parsing
>   ci: Drop $(CI_SUBMODULES)
>   ci: Move everything to a separate directory
>   ci: Create user's home directory in the container
>   ci: Move source directory under $(CI_USER_HOME)
>   ci: Introduce $(CI_BUILD_SCRIPT)
>   ci: Generalize running commands inside the container
>   ci: Introduce $(CI_PREPARE_SCRIPT)
>   ci: Run $(CI_PREPARE_SCRIPT) as root
>   ci: Stop using --workdir

Test build to prove this actually works:

  https://travis-ci.org/andreabolognani/libvirt/builds/572691710

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 00/10] ci: Several fixes and improvements
Posted by Ján Tomko 4 years, 8 months ago
On Fri, Aug 16, 2019 at 11:49:44AM +0200, Andrea Bolognani wrote:
>See the individual commits for details, but the gist of it is that
>after this series it's possible for users to hook into the build
>process and customize it according to their needs; on top of that,
>the whole thing is made more maintainable in the process.
>
>Andrea Bolognani (10):
>  ci: Fix /etc/sub{u,g}id parsing
>  ci: Drop $(CI_SUBMODULES)
>  ci: Move everything to a separate directory
>  ci: Create user's home directory in the container
>  ci: Move source directory under $(CI_USER_HOME)
>  ci: Introduce $(CI_BUILD_SCRIPT)
>  ci: Generalize running commands inside the container
>  ci: Introduce $(CI_PREPARE_SCRIPT)
>  ci: Run $(CI_PREPARE_SCRIPT) as root
>  ci: Stop using --workdir
>
> .gitignore                 |   2 +-
> .travis.yml                |   8 +--
> Makefile.am                |   6 +-
> Makefile.ci => ci/Makefile | 109 +++++++++++++++++++------------------
> ci/build.sh                |  40 ++++++++++++++
> ci/prepare.sh              |  13 +++++
> 6 files changed, 118 insertions(+), 60 deletions(-)
> rename Makefile.ci => ci/Makefile (79%)
> create mode 100644 ci/build.sh
> create mode 100644 ci/prepare.sh
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list