From d1b24042d39089bc16e47e89bda5d7b517772c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 14 Apr 2016 22:10:15 +0100 Subject: Add .gitlab-ci.yml This will not affect the current ci system in baserock, but it will allow to provide ci/cd for _free_ through the mirror of definitions I have in gitlab.com As an example, take a look to the pipelines generated here: https://gitlab.com/baserock/definitions/pipelines Change-Id: I3a23ef9e828c6c4bf625145b6f6f8d180b22ca3c --- .gitlab-ci.yml | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..1a617423 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,71 @@ +before_script: + - git clone https://github.com/devcurmudgeon/ybd + - apt-get update -qq && apt-get install -y -qq python-dev python-pip + - pip install fs pyyaml sandboxlib requests jsonschema + +devel-build-64: + stage: build + script: + - ybd/ybd.py systems/devel-system-x86_64-generic.morph x86_64 + +genivi-baseline-build-64: + stage: build + script: + - ybd/ybd.py systems/genivi-baseline-system-x86_64-generic x86_64 + - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 + +gnome-build-64: + stage: build + script: + - ybd/ybd.py systems/gnome-system-x86_64.morph x86_64 + - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 +gnome-deploy-64: + stage: deploy + script: + - ybd/ybd.py clusters/gnome-system-x86_64-deploy.morph x86_64 + artifacts: + paths: + - /gnome-system-x86_64.img + +minimal-build-64: + stage: build + script: + - ybd/ybd.py systems/minimal-system-x86_64-generic.morph x86_64 +minimal-deploy-64: + stage: deploy + script: + - ybd/ybd.py clusters/minimal-system-deploy.morph x86_64 + artifacts: + paths: + - minimal-system-x86_64-generic.img + +openstack-build-64: + stage: build + script: + - ybd/ybd.py systems/openstack-system-x86_64.morph x86_64 + +weston-build-64: + stage: build + script: + - ybd/ybd.py systems/weston-system-x86_64-generic.morph x86_64 + - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 +weston-deploy-64: + stage: deploy + script: + - ybd/ybd.py clusters/weston-system-x86_64-generic-deploy.morph x86_64 + artifacts: + paths: + - /weston-system-x86_64-generic.img + +weston-qt-build-64: + stage: build + script: + - ybd/ybd.py weston-qt5-system-x86_64.morph x86_64 + - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 +weston-qt-deploy-64: + stage: deploy + script: + - ybd/ybd.py clusters/weston-qt5-system-x86_64-deploy.morph x86_64 + artifacts: + paths: + - /weston-qt5-system-x86_64.img -- cgit v1.2.1