-
Notifications
You must be signed in to change notification settings - Fork 76
/
.gitlab-ci.yml
82 lines (79 loc) · 2.61 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# -----------------------------------------------------------
# WARNING
# -----------------------------------------------------------
# This CI/CD file is public.
# Do not include credentials, secrets, or sensitive variables.
# -----------------------------------------------------------
#
# Note:
# Only the master branch, and TAG vx.x.x is mirrored to GITHUB.
#
# -----------------------------------------------------------
variables:
BUILD_IMAGE: prey-local/node-client-build:latest
NODE_AGENT_WINDOWS_VER: 20.16.0
NODE_AGENT_UNIX_VER: 20.16.0
stages:
- test
- sonar
- build_zip
- build_binaries
- release
include:
#######################################
# WORKFLOW #
#######################################
- project: 'deploy/ci-templates'
file: 'javascript/workflow_node_client.yml'
ref: master
# ###################################
# # Job Template for NODESEC TEST #
# ###################################
- project: 'deploy/ci-templates'
file: 'javascript/job_nodesec_test.yml'
ref: master
###################################
# Job Template for SONAR NODE TEST#
###################################
- project: 'deploy/ci-templates'
file: 'javascript/job_node_sonar.yml'
ref: master
#######################################
# Job Template for BUILD ZIP BINARIES #
#######################################
- project: 'deploy/ci-templates'
file: 'javascript/job_build_zip_client.yml'
ref: master
#######################################
# Job Template for BUILD BINARIES #
#######################################
- project: 'deploy/ci-templates'
file: 'javascript/job_build_pkg_macos.yml'
ref: master
- project: 'deploy/ci-templates'
file: 'javascript/job_build_exe_windows.yml'
ref: master
- project: 'deploy/ci-templates'
file: 'javascript/job_build_deb_ubuntu.yml'
ref: master
- project: 'deploy/ci-templates'
file: 'javascript/job_upload_clean.yml'
ref: master
#######################################
# Job Template upload binaries to NFS #
#######################################
- project: 'deploy/ci-templates'
file: 'nfs/job_upload_node_client.yml'
ref: master
#######################################
# Job Template create GIT releases #
#######################################
- project: 'deploy/ci-templates'
file: 'releases/job_node_client.yml'
ref: master
#######################################
# Job Template create LATEST releases #
#######################################
- project: 'deploy/ci-templates'
file: 'go/job_latest_create.yml'
ref: master