diff options
author | Daniel Firth <dan.firth@codethink.co.uk> | 2016-12-12 14:55:14 +0000 |
---|---|---|
committer | Daniel Firth <dan.firth@codethink.co.uk> | 2016-12-12 15:29:20 +0000 |
commit | 079319075460062ea3cd6c500716c55a8478adf4 (patch) | |
tree | ea1419049869fd2024915ef8e041ee28d6d94aa0 /.gitlab-ci.yml | |
parent | 6a26d6e6c34fae9cfb10137556ced3c3b13c1974 (diff) | |
download | definitions-079319075460062ea3cd6c500716c55a8478adf4.tar.gz |
Validation CIjjardon/deploy
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
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 |