-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
44 lines (36 loc) · 1.01 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
include:
- project: 'dracoon/cicd/pipeline/web-guild-ci'
file: 'pipeline-commons.yml'
ref: '3.0.3'
# --- GLOBAL SETTINGS / VARIABLES ---------------------------------------------
variables:
NAME: dracoon-sdk-crypto-javascript
JIRA_PROJECT_ID: SDKCRYPTJS
NODE_VERSION: 20.11.1
ENABLE_ARTIFACT_PUBLISHING: 'true'
ENABLE_PUBLIC_ARTIFACT_PUBLISHING: 'true'
ENABLE_CONTAINER_IMAGES: 'false'
ENABLE_CONTAINER_SCANNING: 'false'
# Global defaults, set on every job that doesn't override
default:
id_tokens:
ID_TOKEN:
aud: https://vault.dracoon.net
integration-test-service:
stage: test
script:
- npm run integration-test:ci
build-service:
artifacts:
paths:
- lib/
.dev-workflow:
job-rules:
publish-service:
# release branch should be automatic
- if: $PIPELINE_TRIGGER == "branch" &&
$PIPELINE_CONTEXT =~ /^(release|snapshot)$/
when: always
# other branch should be optional manual
- when: manual
allow_failure: true