-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
43 lines (38 loc) · 917 Bytes
/
.gitlab-ci.yml
File metadata and controls
43 lines (38 loc) · 917 Bytes
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
variables:
ROLLOUT_RESOURCE_TYPE: deployment
POSTGRES_ENABLED: 'false'
REVIEW_DISABLED: 'true'
stages:
- build
- deploy
- review
- staging
- canary
- production
- incremental rollout 10%
- incremental rollout 25%
- incremental rollout 50%
- incremental rollout 100%
- cleanup
- lint
include:
- project: cartooncraft-cloud/cluster-management-project
file: applications/gitlab-runner-rootless-build/Rootless-Build.gitlab-ci.yml
- template: Jobs/Deploy.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Jobs/Deploy.gitlab-ci.yml
cache:
paths:
- node_modules/
eslint:
needs: []
stage: lint
image:
name: node:18-alpine
script:
- npm ci
- npm run lint:gitlab
artifacts:
reports:
codequality: gl-codequality.json
build:
before_script:
- '[ -z $CI_COMMIT_TAG ] || rm config/deployment/*.json'