blob: 0c06c4b1c3ddde9b251687d004f00487e1dc38a2 (
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
|
image: python:2.7-slim
before_script:
- export LC_ALL="C.UTF-8"
- apt-get update -qq && apt-get install -y -qq git
- git clone https://gitlab.com/baserock/ybd.git
- cd ybd && ./install_dependencies.sh && cd ..
- echo "deb http://us.archive.ubuntu.com/ubuntu yakkety main universe" >> /etc/apt/sources.list
- apt-get update --fix-missing -qq && apt-get install --force-yes -qq ostree gir1.2-ostree-1.0 python-dev python-gi
- mkdir -p /ostree/repo
- ostree init --repo=/ostree/repo
minimal-system-x86_64-generic:
stage: build
script:
- ybd/ybd.py systems/minimal-system-x86_64-generic.morph
only:
- master
- /^staging\/.*$/
minimal-system-deploy-ostree:
stage: deploy
script:
- ybd/ybd.py cluster/minimal-system-deploy-ostree.morph
only:
- master
- /^staging\/.*$/
|