summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 34c8714141a3a0ebbb6a01af25e116464842ffdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: python:2.7-slim

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 && git checkout ps-debug-install && ./install_dependencies.sh && cd ..
  - pip install -r spec/requirements.txt

build-system-x86_64-chroot-deploy:
  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