-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathci-azure-pipelines.yml
executable file
·72 lines (69 loc) · 2.33 KB
/
ci-azure-pipelines.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
trigger:
branches:
include:
- master
variables:
helmVersion: '2.14.1'
kubectlVersion: v1.12.1
nodeVersionSpec: 10.x
stages:
- template: ../../../../pipeline-template.yml
parameters:
linuxAgentPool: 'ubuntu-latest'
windowsAgentPool: 'windows-latest'
buildType: 'nodejs'
projectName: 'mydrive-user'
initSteps: []
docker: true
helm: true
imageName: 'mydrive-user'
helmCharts: charts
codeRootDir: docs/demo/nodejs
deployType: 'helm-native'
PR: {
enabled: false,
gate: true,
credscan: true,
codescan: true,
vulnerabilitiesscan: true
}
CI: {
enabled: true,
azureContainerRegistry: 'artifacts-repo',
azureSubscription: 'azure-service-connection',
azureContainerRegistryName: 'orgsharedregistry',
scan: true,
gate: true,
}
AUTOMATION: {
enabled: true,
azureSubscription: 'azure-service-connection',
azureContainerRegistry: 'artifacts-repo',
azureContainerRegistryName: 'orgsharedregistry',
environmentNamespace: 'Automation.automation',
namespace: 'automation',
upgradeParameters: '--set repository=orgsharedregistry.azurecr.io/mydrive-user --set tag=$(Build.BuildId) --set name=mydrive-user',
gate: true
}
FUNCTIONAL: {
enabled: true,
azureSubscription: 'azure-service-connection',
azureContainerRegistry: 'artifacts-repo',
azureContainerRegistryName: 'orgsharedregistry',
environmentNamespace: 'Functional.functional',
namespace: 'functional',
upgradeParameters: '--set repository=orgsharedregistry.azurecr.io/mydrive-user --set tag=$(Build.BuildId) --set name=mydrive-user',
testType: 'galing',
gatlingScenario: '',
gate: true,
}
NONFUNCTIONAL: {
enabled: true,
azureSubscription: 'azure-service-connection',
azureContainerRegistry: 'artifacts-repo',
azureContainerRegistryName: 'orgsharedregistry',
environmentNamespace: 'NonFunctional.nonfunctional',
namespace: 'nonfunctional',
upgradeParameters: '--set repository=orgsharedregistry.azurecr.io/mydrive-user --set tag=$(Build.BuildId) --set name=mydrive-user',
gate: true
}