From 8841beee28d98122eaecae967191e8509c129200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 16 Jan 2017 17:12:53 +0000 Subject: .gitlab-ci.yml: Only build and deploy build system --- .gitlab-ci.yml | 122 +++------------------------------------------------------ 1 file changed, 6 insertions(+), 116 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7f8a271..6658aecc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,9 +3,7 @@ image: python:2.7-slim stages: - validate - build-1 - - deploy-1 - - build-2 - - build-3 + - deploy-2 before_script: - export LC_ALL="C.UTF-8" @@ -25,122 +23,14 @@ build-system-x86_64-chroot-build: stage: build-1 script: - ybd/ybd.py systems/build-system-x86_64-chroot.morph x86_64 - only: - - master - - /^staging\/.*$/ -#build-system-x86_64-chroot-deploy: -# stage: deploy-1 -# 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-1 -# script: -# - sudo ybd/ybd.py systems/build-system-armv7lhf-rootfs.morph armv7lhf -# tags: -# - armv7l -# only: -# - master -# - /^staging\/.*$/ - -devel-build-64: - stage: build-2 - script: - - ybd/ybd.py systems/devel-system-x86_64-generic.morph x86_64 - only: - - master - - /^staging\/.*$/ - -genivi-baseline-build-64: - stage: build-2 - 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-3 - 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-3 - script: - - ybd/ybd.py ivi/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-3 - script: - - ybd/ybd.py gnome/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-1 - script: - - ybd/ybd.py systems/minimal-system-x86_64-chroot.morph x86_64 - only: - - master - - /^staging\/.*$/ - -minimal-system-x86_64-chroot-deploy: - stage: deploy-1 +build-system-x86_64-chroot-deploy: + stage: deploy-2 dependencies: - - minimal-build-64 + - build-system-x86_64-chroot-build script: - - ybd/ybd.py clusters/minimal-system-x86_64-chroot-deploy.morph x86_64 + - ybd/ybd.py clusters/build-system-x86_64-chroot-deploy.morph x86_64 artifacts: name: "${CI_BUILD_NAME}-${CI_BUILD_REF}" paths: - - minimal-system-x86_64-chroot.tar - only: - - master - - /^staging\/.*$/ - -trove-build-64: - stage: build-2 - script: - - ybd/ybd.py trove/systems/trove-system-x86_64.morph x86_64 - only: - - master - - /^staging\/.*$/ - -weston-build-64: - stage: build-2 - script: - - ybd/ybd.py weston/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-3 - script: - - ybd/ybd.py weston/systems/weston-qt5-system-x86_64.morph x86_64 - - ybd/ybd.py systems/initramfs-x86_64.morph x86_64 - only: - - master - - /^staging\/.*$/ + - build-system-x86_64-chroot.tar -- cgit v1.2.1