forked from QubesOS/qubes-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
62 lines (56 loc) · 1.59 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
include:
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-base.yml'
prep:sources:
extends: .components_prepare
before_script:
- cp -a $CI_PROJECT_DIR ~/qubes-builder
variables:
COMPONENTS: "core-vchan-xen builder-rpm"
# just any component build test
tests:vm-fc32:no-upstream-tarball:
extends: .components_build
stage: tests
needs:
- prep:sources
- project: QubesOS/qubes-builder-rpm
ref: master
job: chroot:vm-fc32
artifacts: true
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
script:
- ~/qubes-builder/scripts/travis-build "$COMPONENTS"
- ls -l ~/qubes-builder/qubes-packages-mirror-repo/vm-fc32/rpm/*vchan*rpm
tests:sources-unsigned:
extends: .components_prepare
before_script:
- cp -a $CI_PROJECT_DIR ~/qubes-builder
script:
- "! ~/qubes-builder/scripts/travis-prepare \"$COMPONENTS\""
variables:
# this does not have signed tags
COMPONENTS: updates-status
GIT_URL_updates_status: https://github.com/QubesOS/updates-status
tests:sources-unknown-key:
extends: .components_prepare
before_script:
- cp -a $CI_PROJECT_DIR ~/qubes-builder
script:
- "! ~/qubes-builder/scripts/travis-prepare \"$COMPONENTS\""
variables:
# this is signed with non-code key
COMPONENTS: doc
prep:non-fast-clone:
extends: .components_prepare
before_script:
- cp -a $CI_PROJECT_DIR ~/qubes-builder
variables:
GIT_CLONE_FAST: ""
COMPONENTS: "core-vchan-xen builder-rpm"