-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
.gitlab-ci.yml
66 lines (60 loc) · 1.95 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
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
- git clone https://github.com/QubesOS/qubes-continuous-integration ~/qubes-continuous-integration
- mv ~/qubes-continuous-integration/scripts/* ~/qubes-builder/scripts/
variables:
COMPONENTS: "core-vchan-xen builder-rpm"
# just any component build test
tests:dom0-fc32:no-upstream-tarball:
extends: .components_build
stage: tests
needs:
- prep:sources
# - project: QubesOS/qubes-builder-rpm
# ref: master
# job: chroot:dom0-fc32
# artifacts: true
tags:
- docker
variables:
DIST_DOM0: fc32
USE_QUBES_REPO_VERSION: "4.1"
USE_QUBES_REPO_TESTING: "1"
USE_DIST_BUILD_TOOLS: 0
COMPONENTS: core-vchan-xen
script:
- ~/qubes-builder/scripts/gitlab-build "$COMPONENTS"
- ls -l ~/qubes-builder/qubes-packages-mirror-repo/dom0-fc32/rpm/*vchan*rpm
tests:sources-unsigned:
extends: .components_prepare
before_script:
- cp -a $CI_PROJECT_DIR ~/qubes-builder
script:
- "! ~/qubes-builder/scripts/gitlab-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/gitlab-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
- git clone https://github.com/QubesOS/qubes-continuous-integration ~/qubes-continuous-integration
- mv ~/qubes-continuous-integration/scripts/* ~/qubes-builder/scripts/
variables:
GIT_CLONE_FAST: ""
COMPONENTS: "core-vchan-xen builder-rpm"