-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
32 lines (28 loc) · 1.05 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
include:
- .gitlab-ci-test.yml
- .gitlab-ci-deploy.yml
image: registry.gitlab.com/linumlabs/molecule-sandbox/build/node-env:latest
# Cache modules in between jobs for current branch
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
- apt-cache/
variables:
PROTEA_FRONTEND_CONTAINER_IMAGE: registry.gitlab.com/linumlabs/proteav2/testing/protea-frontend:$CI_BUILD_REF_NAME
PROTEA_FRONTEND_CONTAINER_RELEASE_IMAGE: registry.gitlab.com/linumlabs/proteav2/release/protea-frontend:$CI_BUILD_REF_NAME
PROTEA_BACKEND_CONTAINER_IMAGE: registry.gitlab.com/linumlabs/proteav2/testing/protea-backend:$CI_BUILD_REF_NAME
PROTEA_BACKEND_CONTAINER_RELEASE_IMAGE: registry.gitlab.com/linumlabs/proteav2/release/protea-backend:$CI_BUILD_REF_NAME
API_HOST: api-$CI_BUILD_REF_NAME.protea.io/api
GIT_SUBMODULE_STRATEGY: recursive
#DOCKER_DRIVER: overlay2
#DOCKER_HOST: tcp://localhost:2375
NODE_OPTIONS: --max-old-space-size=4096
TOOL_NODE_FLAGS: --max-old-space-size=4096
stages:
- build
- test
- merge
- docker-build
- push
- deploy