-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathconfig.yml
90 lines (88 loc) · 3.11 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
general:
buildTool: "npm"
chartPath: deploy/kyma/charts/sustainable-saas
service:
buildToolVersion: "N18"
stages:
Build:
credentialVariables:
- name: "ValuesPrivateYaml"
credentialId: "susaas-values-private-yaml"
runFirst:
command: |
# Disable debug mode
set +x
echo "$ValuesPrivateYaml" > ./cloudcitransfer/values-private.yaml
# Enable debug mode
set -x
stages:
Build:
npmExecuteLint: false
Additional Unit Tests:
npmExecuteScripts: false
Acceptance:
kubernetesDeploy: false
Compliance:
sonarExecuteScan: false
Release:
kubernetesDeploy: true
deploymentName: susaas
kubeConfigFileCredentialsId: susaas-kube-config
namespace: default
helmValues:
- ./deploy/kyma/charts/sustainable-saas/values.yaml
- ./cloudcitransfer/values-private.yaml
steps:
buildExecute:
npmRunScripts: [ 'cds-build' ]
npmInstall: false
cnbBuild: true
helmExecute: false
cnbBuild:
containerRegistryUrl: docker.io
dockerConfigJsonCredentialsId: susaas-registry-config
multipleImages:
- path: ./code/router
containerImageName: sapdemo/susaas-router
containerImageAlias: sapdemo/susaas_router
buildpacks:
- "gcr.io/paketo-buildpacks/nodejs"
- path: ./code/gen/srv
containerImageName: sapdemo/susaas-srv
containerImageAlias: sapdemo/susaas_srv
buildpacks:
- "gcr.io/paketo-buildpacks/nodejs"
- path: ./code/gen/api
containerImageName: sapdemo/susaas-api
containerImageAlias: sapdemo/susaas_api
buildpacks:
- "gcr.io/paketo-buildpacks/nodejs"
- path: ./code/broker
containerImageName: sapdemo/susaas-broker
containerImageAlias: sapdemo/susaas_broker
buildpacks:
- "gcr.io/paketo-buildpacks/nodejs"
- path: ./code/gen/db-com
containerImageName: sapdemo/susaas-db-com
containerImageAlias: sapdemo/susaas_db_com
buildpacks:
- "gcr.io/paketo-buildpacks/nodejs"
- path: ./code/app/html5-deployer
containerImageName: sapdemo/susaas-html5-deployer
containerImageAlias: sapdemo/susaas_html5_deployer
buildpacks:
- "gcr.io/paketo-buildpacks/nodejs"
kubernetesDeploy:
valuesMapping:
router.image.repository: image.sapdemo/susaas_router.repository
router.image.tag: image.sapdemo/susaas_router.tag
srv.image.repository: image.sapdemo/susaas_srv.repository
srv.image.tag: image.sapdemo/susaas_srv.tag
api.image.repository: image.sapdemo/susaas_api.repository
api.image.tag: image.sapdemo/susaas_api.tag
broker.image.repository: image.sapdemo/susaas_broker.repository
broker.image.tag: image.sapdemo/susaas_broker.tag
hana_deployer.image.repository: image.sapdemo/susaas_db_com.repository
hana_deployer.image.tag: image.sapdemo/susaas_db_com.tag
html5_apps_deployer.image.repository: image.sapdemo/susaas_html5_deployer.repository
html5_apps_deployer.image.tag: image.sapdemo/susaas_html5_deployer.tag