-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathapb.yml
211 lines (210 loc) · 7.32 KB
/
apb.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
---
version: 1.0
name: mssql-apb
description: Deployment of Microsoft SQL Server on Linux
bindable: true
async: optional
metadata:
displayName: Microsoft SQL Server on Linux
imageUrl:
https://raw.githubusercontent.com/ansibleplaybookbundle/mssql-apb/master/docs/img/sql-server.png
documentationUrl:
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-overview
dependencies: ['registry.centos.org/microsoft/mssql-server-linux']
tags:
- database
- mssql
plans:
- name: ephemeral
description: This plan deploys an ephemeral Microsoft SQL Server on Linux
free: true
default: true
metadata:
displayName: Ephemeral installation
longDescription:
This plan will deploy a standalone Microsoft SQL Server on Linux
using ephemeral storage
parameters:
- name: ACCEPT_EULA
title: Accept the End-User Licensing Agreement
type: boolean
required: true
default: false
description: http://go.microsoft.com/fwlink/?LinkId=746388
display_group: Required - EULA
- name: MSSQL_PASSWORD
required: true
default: "Hello123!"
pattern: "^(?:(?:[a-z]+.*[A-Z]+.*(\\d|\\W)+.*)\
|(?:[A-Z]+.*[a-z]+.*(\\d|\\W)+.*)\
|(?:(\\d|\\W)+.*[a-z].*[A-Z].*)|(?:(\\d|\\W)+.*[A-Z]+.*[a-z]+.*)\
|(?:[A-Z]+.*(\\d|\\W)+.*[a-z]+.*)|(?:[a-z]+.*(\\d|\\W)+.*[A-Z]+.*)\
|(?:\\d+.*\\W+.*([A-Z]|[a-z])+.*)|(?:\\W+.*\\d+.*([A-Z]|[a-z])+.*)\
|(?:([A-Z]|[a-z])+.*\\d+.*\\W+.*)|(?:([A-Z]|[a-z])+.*\\W+.*\\d+.*)\
|(?:\\W+.*([A-Z]|[a-z])+.*\\d+.*)|(?:\\d+.*([A-Z]|[a-z])+.*\\W+.*))$"
type: string
display_type: password
title: "Database Admin (SA) Password"
description:
"The password must be at least 8 characters long and contain
characters from three of the following four sets: Uppercase
letters, Lowercase letters, Base 10 digits, and Symbols"
display_group: Microsoft SQL Config
min_length: 8
max_length: 128
- name: MSSQL_DATABASE
required: true
default: TestDB
pattern: "^[a-zA-Z0-9_-]*$"
type: string
title: Microsoft SQL Database Name
display_group: Microsoft SQL Config
- name: MSSQL_AGENT_ENABLED
title: Enable SQL Server Agent
type: boolean
required: true
default: false
display_group: Microsoft SQL Config
- name: MSSQL_PID
required: true
type: enum
enum: ['Developer', 'Evaluation']
default: Developer
title: SQL Server Edition
display_group: Microsoft SQL Config
- name: MSSQL_LOCAL_IS
title: Use existing mssql-server-linux imagestream in project
type: boolean
required: true
default: false
display_group: Microsoft SQL Config
- name: MSSQL_LCID
title: Language ID
type: integer
required: true
default: 1033
description: e.g., 1033 is English (US), 1036 is French
min_length: 4
max_length: 4
display_group: Microsoft SQL Config
- name: MSSQL_IMAGE_PULL
title: "DeploymentConfig Image Pull Policy"
type: enum
enum: ['Always', 'IfNotPresent', 'Never']
required: true
default: IfNotPresent
display_group: Microsoft SQL Config
- name: MSSQL_MEMORY_LIMIT
required: true
default: 3
type: integer
title:
Maximum amount of memory the container can use (in GB) eg 1GB 2GB
display_group: Environment Sizing
- name: MSSQL_MEMORY_REQUEST
required: true
default: 2
type: integer
title:
Requested amount of memory for the container to start (in GB)
eg 1GB 2GB
display_group: Environment Sizing
- name: persistent
description: This plan deploys a persistent Microsoft SQL Server on Linux
free: true
metadata:
displayName: Persistent installation
longDescription:
This plan will deploy a standalone Microsoft SQL Server on Linux
using persistent storage
parameters:
- name: ACCEPT_EULA
title: Accept the End-User Licensing Agreement
type: boolean
required: true
default: false
description: http://go.microsoft.com/fwlink/?LinkId=746388
display_group: Required - EULA
- name: MSSQL_PASSWORD
required: true
default: "Hello123!"
pattern: "^(?:(?:[a-z]+.*[A-Z]+.*(\\d|\\W)+.*)\
|(?:[A-Z]+.*[a-z]+.*(\\d|\\W)+.*)\
|(?:(\\d|\\W)+.*[a-z].*[A-Z].*)|(?:(\\d|\\W)+.*[A-Z]+.*[a-z]+.*)\
|(?:[A-Z]+.*(\\d|\\W)+.*[a-z]+.*)|(?:[a-z]+.*(\\d|\\W)+.*[A-Z]+.*)\
|(?:\\d+.*\\W+.*([A-Z]|[a-z])+.*)|(?:\\W+.*\\d+.*([A-Z]|[a-z])+.*)\
|(?:([A-Z]|[a-z])+.*\\d+.*\\W+.*)|(?:([A-Z]|[a-z])+.*\\W+.*\\d+.*)\
|(?:\\W+.*([A-Z]|[a-z])+.*\\d+.*)|(?:\\d+.*([A-Z]|[a-z])+.*\\W+.*))$"
type: string
display_type: password
title: "Database Admin (SA) Password"
description:
"The password must be at least 8 characters long and contain
characters from three of the following four sets: Uppercase
letters, Lowercase letters, Base 10 digits, and Symbols"
display_group: Microsoft SQL Config
min_length: 8
max_length: 128
- name: MSSQL_DATABASE
required: true
default: TestDB
pattern: "^[a-zA-Z0-9_-]*$"
type: string
title: Microsoft SQL Database Name
display_group: Microsoft SQL Config
- name: MSSQL_AGENT_ENABLED
title: Enable SQL Server Agent
type: boolean
required: true
default: false
display_group: Microsoft SQL Config
- name: MSSQL_PID
required: true
type: enum
enum: ['Developer', 'Evaluation']
default: Developer
title: SQL Server Edition
display_group: Microsoft SQL Config
- name: MSSQL_LOCAL_IS
title: Use existing mssql-server-linux imagestream in project
type: boolean
required: true
default: false
display_group: Microsoft SQL Config
- name: MSSQL_LCID
title: Language ID
type: integer
required: true
default: 1033
description: e.g., 1033 is English (US), 1036 is French
min_length: 4
max_length: 4
display_group: Microsoft SQL Config
- name: MSSQL_IMAGE_PULL
title: "DeploymentConfig Image Pull Policy"
type: enum
enum: ['Always', 'IfNotPresent', 'Never']
required: true
default: IfNotPresent
display_group: Microsoft SQL Config
- name: MSSQL_DATA_STORAGE_SIZE
required: true
default: 1
type: integer
title: Persistent volume size for db data (in GB) eg 1GB 2GB
display_group: Environment Sizing
- name: MSSQL_MEMORY_LIMIT
required: true
default: 3
type: integer
title:
Maximum amount of memory the container can use (in GB) eg 1GB 2GB
display_group: Environment Sizing
- name: MSSQL_MEMORY_REQUEST
required: true
default: 2
type: integer
title:
Requested amount of memory for the container to start (in GB)
eg 1GB 2GB
display_group: Environment Sizing