summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: b99ff2f036dc7c5442bed4cd7c3902bf389e07b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
image: debian:jessie

variables:
  YBD_base: "/cache/ybd_base"

before_script:
- git clone https//gitlab.com/baserock/ybd
- cd ybd
- sh ./install_dependencies.sh
- cd ..

cache:
  paths:
  - "$YBD_base"

stages:
- build

.build_template: &build_definition
  stage: build
  variables:
    YBD_kbas_url: "false-url"
    YBD_check_definitions: "exit"
  script:
  - ./ybd.py definitions/systems/base-system-x86_64-generic.morph x86_64
  only:
    - master

check_build_debian_stretch:
  image: debian:stretch
  <<: *build_definition