summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-11-26 22:54:43 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-12-11 17:01:14 (GMT)
commit5865e9cbb543e044b9e1f558fe78eda36da1982f (patch)
treec5ab918c27c4853c2f39123bdeeae8b77a6fb51e
parent8f8992a18d55c3abf28d4b6fc8036bd39d3dc1cf (diff)
downloaddefinitions-5865e9cbb543e044b9e1f558fe78eda36da1982f.tar.gz
.gitlab-ci.yml: Remove YBD and old format systems from the CI
Keep the conversion though
-rw-r--r--.gitlab-ci.yml133
1 files changed, 0 insertions, 133 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5038fa9..3b44e23 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,27 +7,9 @@ variables:
# to find what definitions to build -- that's why we put the cache in a
# hidden directory.
XDG_CACHE_HOME: "${CI_PROJECT_DIR}/.cache"
- YBD_base: "/cache/ybd_base"
- YBD_gits: "${CI_PROJECT_DIR}/.cache/ybd_base/gits"
DEFS2BST_SHA: '1dc5c0719de9357470b29ad4adc9b63f7012db86'
GET_SOURCES_ATTEMPTS: 3
-.ybd_before_script: &ybd_before_script
- before_script:
- # Install and configure YBD
- - |
- export SPEC_SHA='715023f3cf6e714839fb56236ade20de40855bd4'
- export YBD_SHA='157986cb2f7c0b95e0e4e0bf3a39547f548a298d'
- export LC_ALL="C.UTF-8"
- git clone https://gitlab.com/baserock/spec.git
- # Use specific version of spec.git
- git -C spec checkout $SPEC_SHA
- git clone https://gitlab.com/baserock/ybd.git
- # Use specific version of ybd.git
- git -C ybd checkout $YBD_SHA
- cd ybd && ./install_dependencies.sh && cd ..
- pip install -r spec/requirements.txt
-
.bst_before_script: &bst_before_script
before_script:
- |
@@ -73,18 +55,9 @@ variables:
fi
cat ~/.config/buildstream.conf
- # Nuke ybd cache to ensure buildstream tasks have enough disk space.
- - rm -rf "${YBD_base}"
-
# Store all the downloaded git and ostree repos in the distributed cache.
# This saves us fetching them from git.baserock.org and further afield
# on every build.
-.ybd_cache: &ybd_cache
- cache:
- # GitLab defined default key is "default". Reuse this for ybd.
- key: default
- paths:
- - "${YBD_gits}/"
.bst_cache: &bst_cache
cache:
key: bst
@@ -97,111 +70,6 @@ stages:
- deploy-1
- build-2
-ybd-validate-all-definitions:
- stage: preprocess
- <<: *ybd_before_script
- script:
- - python spec/quick_check.py .
- <<: *ybd_cache
-
-ybd-build-system-x86_64-chroot-build:
- stage: build-1
- dependencies: []
- <<: *ybd_before_script
- script:
- - ybd/ybd.py systems/build-system-x86_64-chroot.morph x86_64
- <<: *ybd_cache
-
-ybd-build-system-x86_64-chroot-deploy:
- stage: deploy-1
- dependencies:
- - ybd-build-system-x86_64-chroot-build
- <<: *ybd_before_script
- script:
- - ybd/ybd.py clusters/build-system-x86_64-chroot-deploy.morph x86_64
- cache:
- # GitLab defined default key is "default". Reuse this for ybd.
- key: default
- policy: pull
- paths:
- - .cache/ybd_base/gits
- artifacts:
- name: "${CI_BUILD_NAME}-${CI_BUILD_REF}"
- paths:
- - build-system-x86_64-chroot.tar
-
-#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\/.*$/
-
-ybd-genivi-demo-platform-build-64:
- stage: build-2
- dependencies: []
- <<: *ybd_before_script
- 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
- <<: *ybd_cache
-
-ybd-ivi-build-64:
- stage: build-2
- dependencies: []
- <<: *ybd_before_script
- script:
- - ybd/ybd.py ivi/systems/ivi-system-x86_64.morph x86_64
- - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
- <<: *ybd_cache
-
-ybd-gnome-build-64:
- stage: build-2
- dependencies: []
- <<: *ybd_before_script
- script:
- - ybd/ybd.py gnome/systems/gnome-system-x86_64.morph x86_64
- - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
- <<: *ybd_cache
-
-ybd-minimal-build-64:
- stage: build-1
- dependencies: []
- <<: *ybd_before_script
- script:
- - ybd/ybd.py systems/minimal-system-x86_64-chroot.morph x86_64
- <<: *ybd_cache
-
-ybd-minimal-system-x86_64-chroot-deploy:
- stage: deploy-1
- dependencies:
- - ybd-minimal-build-64
- <<: *ybd_before_script
- script:
- - ybd/ybd.py clusters/minimal-system-x86_64-chroot-deploy.morph x86_64
- cache:
- # GitLab defined default key is "default". Reuse this for ybd.
- key: default
- policy: pull
- paths:
- - .cache/ybd_base/gits
- artifacts:
- name: "${CI_BUILD_NAME}-${CI_BUILD_REF}"
- paths:
- - minimal-system-x86_64-chroot.tar
-
-ybd-trove-build-64:
- stage: build-2
- dependencies: []
- <<: *ybd_before_script
- script:
- - ybd/ybd.py trove/systems/trove-system-x86_64.morph x86_64
- <<: *ybd_cache
-
-
##########################################
# BuildStream conversions and tests #
##########################################
@@ -225,7 +93,6 @@ bst-convert:
artifacts:
paths:
- elements/
- <<: *ybd_cache
# Test building the simplest Baserock system first
bst-build-minimal-system: