forked from QubesOS/qubes-builder-rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
113 lines (103 loc) · 2.65 KB
/
.gitlab-ci.yml
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
include:
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-base.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-dom0-chroot.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-vm-fedora-chroot.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-vm-fedora-build-template.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-vm-centos-chroot.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-vm-centos-build-template.yml'
default:
tags:
- vm-runner
- long-living-job
after_script:
- ls -l ~/qubes-builder/qubes-src/linux-template-builder/rpm/noarch
variables:
COMPONENTS: linux-template-builder
USE_DIST_BUILD_TOOL: 0
prep:sources:
extends: .components_prepare
variables:
COMPONENTS: "linux-template-builder core-vchan-xen linux-utils linux-scrypt app-linux-split-gpg linux-dom0-updates"
BRANCH_linux_dom0_updates: "release4.0"
tests:vm-fc32:no-upstream-tarball:
extends: .components_build
stage: tests
needs:
- prep:sources
- chroot:vm-fc32
tags:
- docker
variables:
DISTS_VM: fc32
USE_QUBES_REPO_VERSION: "4.1"
USE_QUBES_REPO_TESTING: "1"
USE_DIST_BUILD_TOOL: 1
COMPONENTS: core-vchan-xen
tests:dom0-fc32:dom0-package:
extends: .components_build
stage: tests
needs:
- prep:sources
- chroot:dom0-fc32
tags:
- docker
variables:
DIST_DOM0: fc32
USE_QUBES_REPO_VERSION: "4.1"
USE_QUBES_REPO_TESTING: "1"
USE_DIST_BUILD_TOOL: 1
COMPONENTS: linux-utils
tests:vm-fc32:upstream-tarball:
extends: .components_build
stage: tests
needs:
- prep:sources
- chroot:vm-fc32
tags:
- docker
variables:
DISTS_VM: fc32
USE_QUBES_REPO_VERSION: "4.1"
USE_QUBES_REPO_TESTING: "1"
USE_DIST_BUILD_TOOL: 1
COMPONENTS: linux-scrypt
tests:vm-centos8:upstream-tarball-no-qubes-repos:
extends: .components_build
stage: tests
needs:
- prep:sources
- chroot:vm-centos8
tags:
- docker
variables:
DISTS_VM: centos8
USE_DIST_BUILD_TOOL: 1
COMPONENTS: app-linux-split-gpg
tests:dom0-fc25:src-rpm:
extends: .components_build
stage: tests
needs:
- prep:sources
- chroot:dom0-fc25
tags:
- docker
variables:
DIST_DOM0: fc25
USE_DIST_BUILD_TOOL: 1
COMPONENTS: linux-dom0-updates
BRANCH_linux_dom0_updates: "release4.0"
checks:shellcheck:
stage: checks
tags:
- docker
before_script:
- sudo dnf install -y ShellCheck
script:
- shellcheck -e SC1117 $(grep -l '^#!/bin/\(ba\)\?sh' $(git ls-files))
allow_failure: true