-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
59 lines (51 loc) · 1.31 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
include:
- project: centrid/packagerepositry
ref: master
file: GitlabCIScripts/centrid-npm-ci.yml
stages:
- prepare
- before-release-scripts
- release
- after-release-scripts
prepare:
stage: prepare
extends: .base_npm_prepare
creator-before-release-scripts:
stage: before-release-scripts
trigger:
include:
- local: packages/native-modules-prebuilds-creator/.gitlab-ci/before-release.yml
strategy: depend
patcher-before-release-scripts:
stage: before-release-scripts
trigger:
include:
- local: packages/native-modules-prebuilds-patcher/.gitlab-ci/before-release.yml
strategy: depend
release:
stage: release
script:
- !reference [.base_npm_release-prepare, script]
- !reference [.base_release-upload, script]
needs:
- job: prepare
artifacts: true
- job: creator-before-release-scripts
- job: patcher-before-release-scripts
when: manual
creator-after-release-scripts:
stage: after-release-scripts
trigger:
include:
- local: packages/native-modules-prebuilds-creator/.gitlab-ci/after-release.yml
strategy: depend
needs:
- job: release
pacther-after-release-scripts:
stage: after-release-scripts
trigger:
include:
- local: packages/native-modules-prebuilds-patcher/.gitlab-ci/after-release.yml
strategy: depend
needs:
- job: release