From ab5cdfe2eea45258404835576e1fa20ddbb6c2a4 Mon Sep 17 00:00:00 2001 From: Ana Huelamo Date: Mon, 16 Jan 2017 16:17:12 +0000 Subject: Test ostree deployment on a minimal system --- .gitlab-ci.yml | 119 ++++++--------------------------------------------------- 1 file changed, 11 insertions(+), 108 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d762e84a..0c06c4b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,121 +5,24 @@ before_script: - apt-get update -qq && apt-get install -y -qq git - git clone https://gitlab.com/baserock/ybd.git - cd ybd && ./install_dependencies.sh && cd .. + - echo "deb http://us.archive.ubuntu.com/ubuntu yakkety main universe" >> /etc/apt/sources.list + - apt-get update --fix-missing -qq && apt-get install --force-yes -qq ostree gir1.2-ostree-1.0 python-dev python-gi + - mkdir -p /ostree/repo + - ostree init --repo=/ostree/repo -build-system-x86_64-chroot-build: +minimal-system-x86_64-generic: stage: build script: - - ybd/ybd.py systems/build-system-x86_64-chroot.morph x86_64 + - ybd/ybd.py systems/minimal-system-x86_64-generic.morph only: - master - /^staging\/.*$/ -#build-system-x86_64-chroot-deploy: -# stage: deploy -# dependencies: -# - build-system-x86_64-chroot-build -# script: -# - ybd/ybd.py clusters/build-system-x86_64-chroot-deploy.morph x86_64 -# artifacts: -# name: "${CI_BUILD_NAME}-${CI_BUILD_REF}" -# paths: -# - build-system-x86_64-chroot.tar -# only: -# - master -# - /^staging\/.*$/ - -#build-system-armv7lhf-rootfs-build: -# stage: build -# script: -# - sudo ybd/ybd.py systems/build-system-armv7lhf-rootfs.morph armv7lhf -# tags: -# - armv7l -# only: -# - master -# - /^staging\/.*$/ - -devel-build-64: - stage: build - script: - - ybd/ybd.py systems/devel-system-x86_64-generic.morph x86_64 - only: - - master - - /^staging\/.*$/ - -genivi-baseline-build-64: - stage: build - script: - - ybd/ybd.py genivi/systems/genivi-baseline-system-x86_64-generic.morph x86_64 - - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 - only: - - master - - /^staging\/.*$/ - -genivi-demo-platform-build-64: - stage: build - script: - - ybd/ybd.py genivi/systems/genivi-demo-platform-x86_64-generic.morph x86_64 - - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 - only: - - master - - /^staging\/.*$/ - -ivi-build-64: - stage: build - script: - - ybd/ybd.py systems/ivi-system-x86_64.morph x86_64 - - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 - only: - - master - - /^staging\/.*$/ - -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 - only: - - master - - /^staging\/.*$/ - -minimal-build-64: - stage: build +minimal-system-deploy-ostree: + stage: deploy script: - - ybd/ybd.py systems/minimal-system-x86_64-generic.morph x86_64 - only: - - master + - ybd/ybd.py cluster/minimal-system-deploy-ostree.morph + only: + - master - /^staging\/.*$/ -openstack-build-64: - stage: build - script: - - ybd/ybd.py systems/openstack-system-x86_64.morph x86_64 - only: - - master - - /^staging\/.*$/ - -trove-build-64: - stage: build - script: - - ybd/ybd.py systems/trove-system-x86_64.morph x86_64 - only: - - master - - /^staging\/.*$/ - -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 - only: - - master - - /^staging\/.*$/ - -weston-qt-build-64: - stage: build - script: - - ybd/ybd.py systems/weston-qt5-system-x86_64.morph x86_64 - - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 - only: - - master - - /^staging\/.*$/ -- cgit v1.2.1