-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
39 lines (34 loc) · 1.46 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
# Copyright DB InfraGO AG and contributors
# SPDX-License-Identifier: CC0-1.0
include:
- remote: https://raw.githubusercontent.com/DSD-DBS/capella-dockerimages/${CAPELLA_DOCKER_IMAGES_REVISION}/ci-templates/gitlab/diagram-cache.yml
- remote: https://raw.githubusercontent.com/DSD-DBS/py-capellambse/${CAPELLAMBSE_REVISION}/ci-templates/gitlab/model-badge.yml
- project: se-toolchain/capella-tools/rm-bridge/capella-polarion-mirror
ref: main
file: "/ci-templates/gitlab/synchronise_elements.yml"
- project: se-toolchain/capella-tools/rm-bridge/capella-polarion-mirror
ref: main
file: "/ci-templates/gitlab/render_documents.yaml"
default:
tags:
- set-cdaas
image: $DOCKER_REGISTRY/base
workflow:
rules:
- if: $CI_COMMIT_BRANCH == "master"
generate-model-badge:
image: $DOCKER_REGISTRY/base
variables:
CAPELLA_VERSION: 7.0.0
ENTRYPOINT: "In-Flight Entertainment System.aird"
CAPELLA2POLARION_PROJECT_ID: inflighttest
CAPELLA2POLARION_CAPELLA_MODEL: '{"path": "In-Flight Entertainment System.aird", "diagram_cache": "./diagram_cache"}'
CAPELLA2POLARION_SYNCHRONIZE_CONFIG: capella2polarion_config.yaml
CAPELLA2POLARION_VERSION: "1.4.0"
CAPELLA2POLARION_GROUPED_LINKS_CUSTOM_FIELDS: 1
CAPELLA2POLARION_DEBUG: 1
CAPELLA2POLARION_FORCE_UPDATE: 0
CAPELLA2POLARION_DOCUMENT_CONFIG: capella2polarion_document_config.yaml.j2
CAPELLA2POLARION_OVERWRITE_LAYOUTS: 1
CAPELLA2POLARION_OVERWRITE_NUMBERING: 1
CAPELLAMBSE_PUSH_MODEL_BADGE: 0