summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-04-14 22:10:15 +0100
committerJavier Jardón <jjardon@gnome.org>2016-07-04 17:07:53 +0100
commitd1b24042d39089bc16e47e89bda5d7b517772c39 (patch)
tree746b647f2f5fb168e8d2697f1374179c8949cb04
parentf23ba1208ff3f30e646b9b759a4ca240f26d9794 (diff)
downloaddefinitions-d1b24042d39089bc16e47e89bda5d7b517772c39.tar.gz
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
-rw-r--r--.gitlab-ci.yml71
1 files changed, 71 insertions, 0 deletions
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