summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2016-12-12 14:55:14 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2016-12-12 15:29:20 +0000
commit079319075460062ea3cd6c500716c55a8478adf4 (patch)
treeea1419049869fd2024915ef8e041ee28d6d94aa0
parent6a26d6e6c34fae9cfb10137556ced3c3b13c1974 (diff)
downloaddefinitions-jjardon/deploy.tar.gz
Validation CIjjardon/deploy
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
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