From 079319075460062ea3cd6c500716c55a8478adf4 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Mon, 12 Dec 2016 14:55:14 +0000 Subject: Validation CI --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d63b33c2..c7f8a271 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ image: python:2.7-slim stages: + - validate - build-1 - deploy-1 - build-2 @@ -10,8 +11,15 @@ before_script: - export LC_ALL="C.UTF-8" - apt-get update -qq && apt-get install -y -qq git - export CI_YBD_BRANCH=`[[ "$CI_BUILD_REF_NAME" =~ ^staging/fromybd/ ]] && echo -b ${CI_BUILD_REF_NAME#staging/fromybd/}` + - git clone https://gitlab.com/baserock/spec.git - git clone https://gitlab.com/baserock/ybd.git $CI_YBD_BRANCH - cd ybd && ./install_dependencies.sh && cd .. + - pip install -r spec/requirements.txt + +validate-all-definitions: + stage: validate + script: + - python spec/quick_check.py . build-system-x86_64-chroot-build: stage: build-1 -- cgit v1.2.1