-
Notifications
You must be signed in to change notification settings - Fork 43
/
config.yml
56 lines (46 loc) · 1.39 KB
/
config.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
45
46
47
48
49
50
51
52
53
54
55
56
---
general:
buildTool: 'mta'
service:
stages:
Build:
credentialVariables:
- name: "Catalog"
credentialId: "susaas-catalog"
runFirst:
command: |
# Disable debug mode (turn off echo for all commands and variables)
set +x
echo "$Catalog" > ./code/broker/catalog-private.json
# Enable debug mode (echo commands and variables) again
set -x
stages:
Build:
mavenExecuteStaticCodeChecks: false
npmExecuteLint: true
Additional Unit Tests:
karmaExecuteTests: false
Release:
cloudFoundryDeploy: true
steps:
npmExecuteLint:
failOnError: true
mtaBuild:
platform: 'CF'
source: './deploy/cf/'
extensions: '<relative-path-of-the-mtaext-file>'
##### e.g., './mtaext/free-basic-cicd.mtaext'
cloudFoundryDeploy:
cfCredentialsId: susaas-cf-credentials
apiEndpoint: '<cf-api>'
org: '<cf-org>'
space: '<cf-space>'
mtaDeployParameters: '-f --version-rule ALL'
mtaExtensionDescriptor: '<relative-path-of-the-mtaext-file>'
################# e.g., './deploy/cf/mtaext/free-basic-cicd.mtaext'
mtaExtensionCredentials:
susaas-sb-credentials: susaas-sb-credentials
# tmsUpload: # only relevant once you finish the SAP Cloud Transport Management Expert Feature chapter
# nodeName: 'QA'
# credentialsId: 'tms'
# customDescription: 'TMS Upload'