forked from mountainraptor/bits-network-manager
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
58 lines (52 loc) · 898 Bytes
/
.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
stages:
- build
- test
- omg
cache:
paths:
- .build-ids/
- .test-branch
.build-module: &build_definition
stage: build
tags:
- bits
- docker
script:
- /opt/bits-tools/build-tools/package-module.py -a '/usr/bin/destiny -d ./' -m ./ --version "${CI_COMMIT_TAG}"
build-rc:
<<: *build_definition
only:
- /^[0-9]*\.[0-9]*\.[0-9]*-rc\.[0-9]*$/
except:
- branches
artifacts:
paths:
- "*.tgz"
expire_in: 10d
build-release:
<<: *build_definition
only:
- /^[0-9]*\.[0-9]*\.[0-9]*$/
except:
- branches
artifacts:
paths:
- "*.tgz"
build-master:
<<: *build_definition
only:
- master
except:
- tags
artifacts:
paths:
- "*.tgz"
build-branch:
<<: *build_definition
except:
- master
- tags
artifacts:
paths:
- "*.tgz"
expire_in: 3d