-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
55 lines (44 loc) · 1.44 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
include:
- local: "/.gitlab-ci/utils.gitlab-ci.yml"
- local: "/.gitlab-ci/test.gitlab-ci.yml"
- local: "/.gitlab-ci/release.gitlab-ci.yml"
stages:
- test
- release
variables:
DRY_CARGO_RELEASE: "false"
CI_CARGO_PACKAGE: mavinspect
# ---------------------------------------------------------
# Test
# ---------------------------------------------------------
test:validate:upstream:
extends: .test:validate:upstream # from: local: "/.gitlab-ci/test.gitlab-ci.yml"
stage: test
test:validate:tags:
extends: .test:validate:tags # from: local: "/.gitlab-ci/test.gitlab-ci.yml"
stage: test
test:build:docs:
extends: .test:build:docs # from: local: "/.gitlab-ci/test.gitlab-ci.yml"
stage: test
test:test:
extends: .test:test # from: local: "/.gitlab-ci/test.gitlab-ci.yml"
stage: test
test:publish:
extends: .test:publish # from: local: "/.gitlab-ci/test.gitlab-ci.yml"
stage: test
# ---------------------------------------------------------
# Release
# ---------------------------------------------------------
release:publish:crates:
extends: .release:publish:crates # from: local: "/.gitlab-ci/release.gitlab-ci.yml"
stage: release
needs:
- test:validate:tags
- test:build:docs
- test:test
- test:publish
release:release:
extends: .release:release # from: local: "/.gitlab-ci/release.gitlab-ci.yml"
stage: release
needs:
- release:publish:crates