mbox series

[XEN,0/3] automation: auto-build container, check generated file

Message ID 20220301121133.19271-1-anthony.perard@citrix.com (mailing list archive)
Headers show
Series automation: auto-build container, check generated file | expand

Message

Anthony PERARD March 1, 2022, 12:11 p.m. UTC
Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.gitlab-ci-build-container-v1

I wanted to automatically check that generated files that we have in our repo
are up-to-date, those are autoconf and *.gen.go files generataed from
libxl_types.idl. But this can only be check on debian stable. So new container,
and I look at building the new container from the CI.

The second patch depends on some changes to our GitLab runner:
    https://gitlab.com/xen-project/xen-gitlab-ci/-/merge_requests/15
I've already apply the changes to one runner, for testing.

The new debian:stable container is already published, but commiting the change
should rebuild it.

Thanks.

Anthony PERARD (3):
  automation: adding debian:stable container
  automation: automatically build debian:stable container
  automation: check for generated files

 .gitlab-ci.yml                            |  2 +
 automation/build/debian/stable.dockerfile | 53 ++++++++++++++++++++++
 automation/gitlab-ci/containers.yaml      | 22 +++++++++
 automation/gitlab-ci/test.yaml            | 10 +++++
 automation/scripts/check-generated-files  | 55 +++++++++++++++++++++++
 5 files changed, 142 insertions(+)
 create mode 100644 automation/build/debian/stable.dockerfile
 create mode 100644 automation/gitlab-ci/containers.yaml
 create mode 100755 automation/scripts/check-generated-files

Comments

Anthony PERARD March 1, 2022, 12:20 p.m. UTC | #1
On Tue, Mar 01, 2022 at 12:11:30PM +0000, Anthony PERARD wrote:
> Patch series available in this git branch:
> https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.gitlab-ci-build-container-v1
> 
> I wanted to automatically check that generated files that we have in our repo
> are up-to-date, those are autoconf and *.gen.go files generataed from
> libxl_types.idl. But this can only be check on debian stable. So new container,
> and I look at building the new container from the CI.
> 
> The second patch depends on some changes to our GitLab runner:
>     https://gitlab.com/xen-project/xen-gitlab-ci/-/merge_requests/15
> I've already apply the changes to one runner, for testing.
> 
> The new debian:stable container is already published, but commiting the change
> should rebuild it.

Forgot to say that this series also depends on my previous one:
    [XEN PATCH 0/4] Some improvement for gitlab CI jobs
    <20220228145523.8954-1-anthony.perard@citrix.com>
(for the last patch)