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