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

Anthony PERARD posted 3 patches 2 years, 2 months ago
Failed in applying to current master (apply log)
.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
[XEN PATCH 0/3] automation: auto-build container, check generated file
Posted by Anthony PERARD 2 years, 2 months ago
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

-- 
Anthony PERARD
Re: [XEN PATCH 0/3] automation: auto-build container, check generated file
Posted by Anthony PERARD 2 years, 2 months ago
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)

-- 
Anthony PERARD