summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 82241d2f01e8b29cee2afe87f3a53de2da51d8d6 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
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 ..

build-system-x86_64-chroot-build:
  stage: build
  script:
  - ybd/ybd.py systems/build-system-x86_64-chroot.morph x86_64
  only:
  - master
  - /^staging\/.*$/

#build-system-x86_64-chroot-deploy:
#  stage: deploy
#  dependencies:
#  - build-system-x86_64-chroot-build
#  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
#  only:
#  - master
#  - /^staging\/.*$/

#build-system-armv7lhf-rootfs-build:
#  stage: build
#  script:
#  - sudo ybd/ybd.py systems/build-system-armv7lhf-rootfs.morph armv7lhf
#  tags:
#  - armv7l
#  only:
#  - master
#  - /^staging\/.*$/

devel-build-64:
  stage: build
  script:
  - ybd/ybd.py systems/devel-system-x86_64-generic.morph x86_64
  only:
  - master
  - /^staging\/.*$/

genivi-baseline-build-64:
  stage: build
  script:
  - ybd/ybd.py genivi/systems/genivi-baseline-system-x86_64-generic.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

genivi-demo-platform-build-64:
  stage: build
  script:
  - ybd/ybd.py genivi/systems/genivi-demo-platform-x86_64-generic.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

ivi-build-64:
  stage: build
  script:
  - ybd/ybd.py ivi/systems/ivi-system-x86_64.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

gnome-build-64:
  stage: build
  script:
  - ybd/ybd.py gnome/systems/gnome-system-x86_64.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

minimal-build-64:
  stage: build
  script:
  - ybd/ybd.py systems/minimal-system-x86_64-chroot.morph x86_64
  only:
  - master
  - /^staging\/.*$/

minimal-system-x86_64-chroot-deploy:
  stage: deploy
  dependencies:
  - minimal-build-64
  script:
  - ybd/ybd.py clusters/minimal-system-x86_64-chroot-deploy.morph x86_64
  artifacts:
    name: "${CI_BUILD_NAME}-${CI_BUILD_REF}"
    paths:
    - minimal-system-x86_64-chroot.tar
  only:
  - master
  - /^staging\/.*$/

trove-build-64:
  stage: build
  script:
  - ybd/ybd.py trove/systems/trove-system-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

weston-build-64:
  stage: build
  script:
  - ybd/ybd.py weston/systems/weston-system-x86_64-generic.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

weston-qt-build-64:
  stage: build
  script:
  - ybd/ybd.py weston/systems/weston-qt5-system-x86_64.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/