[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC PATCH 0/6] Using GitLab CI for build testing



Really early work on switching over to using GitLab CI over
Travis CI. GitLab is a competitor to GitHub with some advantages
such as an integrated CI system with a lot more flexibility
and control. It additionally is fully open sourced unlike GitHub
and Travis CI. We can even run an instance if that is preferred
over using the hosted instance.

This change uses GitLab CI's ability to use Docker based runners
for running tests. With GitHub we also use a Docker based runner
but we are limited to one Docker container that is then morphed
a number of different ways. With this approach we can specify
different Docker containers for every run (or use the same). By
using different Docker containers we can build environments that
match systems where Xen can and should build. Using this
approach we should be able to cutdown on the number of surpise
build failures encountered by users.

An example run can be seen here:
https://gitlab.com/cardoe/xen/pipelines/18789907

If there is interest in this I will move it over to the "xen-project"
name space in the next version.

Doug Goldstein (6):
  ci: add Dockerfile for CentOS 7.2
  ci: add Dockerfile for Ubuntu 14.04
  ci: add Dockerfile for Ubuntu 16.04
  ci: add Dockerfile for Debian jessie
  ci: add cfg to use GitLab CI to build
  ci: add a README about the containers

 .gitlab-ci.yml                          | 34 ++++++++++++++++++++++-
 extras/testing/README.md                | 29 ++++++++++++++++++-
 extras/testing/centos/CentOS-7.2.repo   | 35 ++++++++++++++++++++++-
 extras/testing/centos/Dockerfile.7.2    | 41 ++++++++++++++++++++++++++-
 extras/testing/debian/Dockerfile.jessie | 21 +++++++++++++-
 extras/testing/ubuntu/Dockerfile.trusty | 21 +++++++++++++-
 extras/testing/ubuntu/Dockerfile.xenial | 21 +++++++++++++-
 7 files changed, 202 insertions(+)
 create mode 100644 .gitlab-ci.yml
 create mode 100644 extras/testing/README.md
 create mode 100644 extras/testing/centos/CentOS-7.2.repo
 create mode 100644 extras/testing/centos/Dockerfile.7.2
 create mode 100644 extras/testing/debian/Dockerfile.jessie
 create mode 100644 extras/testing/ubuntu/Dockerfile.trusty
 create mode 100644 extras/testing/ubuntu/Dockerfile.xenial

base-commit: 966f154c58bacf07690135d7da3f1d5281d84ab0
-- 
git-series 0.9.1

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.