-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
55 lines (52 loc) · 1.34 KB
/
.gitlab-ci.yml
File metadata and controls
55 lines (52 loc) · 1.34 KB
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
# ------------- VARIABLES
# Configure them in https://gitlab.satoshiengineering.com/satoshiengineering/lightning-tip-cards/-/settings/ci_cd
#
# ----- GLOBAL
# - DEPLOY_USER
# - DEPLOY_USER_SSH_KEY # can be found in sate access
#
# ----- BACKEND
# - BACKEND_DEPLOY_SERVER_MAIN
# - BACKEND_DEPLOY_SERVER_DEVELOP
# - BACKEND_DEPLOY_PORT_MAIN
# - BACKEND_DEPLOY_PORT_DEVELOP
# - BACKEND_DEPLOY_PATH_MAIN
# - BACKEND_DEPLOY_PATH_DEVELOP
# - BACKEND_ENV_FILE_MAIN
# - BACKEND_ENV_FILE_DEVELOP
# - BACKEND_ENV_FILE_E2E_TESTS
#
# ----- FRONTEND
# - FRONTEND_DEPLOY_SERVER_MAIN
# - FRONTEND_DEPLOY_SERVER_DEVELOP
# - FRONTEND_DEPLOY_PORT_MAIN
# - FRONTEND_DEPLOY_PORT_DEVELOP
# - FRONTEND_DEPLOY_PATH_MAIN
# - FRONTEND_DEPLOY_PATH_DEVELOP
# - FRONTEND_ENV_FILE_MAIN
# - FRONTEND_ENV_FILE_DEVELOP
#
# ----- E2E Tests
# - E2E_ENV_FILE_LIVE_CHECK_MAIN
# - E2E_ENV_FILE_LIVE_CHECK_DEVELOP
image: node:lts-alpine
# ------------- STAGES
# List of stages for jobs, and their order of execution
stages:
- install
- setup
- quality-check
- integration-and-e2e
- build
- deploy
- live-check
# ------------- INCLUDES
include:
- 'gitlab-ci/.shared_config.yml'
- 'gitlab-ci/install.yml'
- 'gitlab-ci/setup.yml'
- 'gitlab-ci/quality-check.yml'
- 'gitlab-ci/integration-and-e2e.yml'
- 'gitlab-ci/build.yml'
- 'gitlab-ci/deploy.yml'
- 'gitlab-ci/live-check.yml'