Skip to content

Commit 591540b

Browse files
authored
feat: onboard DA to IBM catalog (#196)
1 parent eb2a86a commit 591540b

File tree

4 files changed

+329
-0
lines changed

4 files changed

+329
-0
lines changed

.catalog-onboard-pipeline.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
apiVersion: v1
3+
offerings:
4+
- name: deploy-arch-ibm-icd-mysql
5+
kind: solution
6+
catalog_id: 7df1e4ca-d54c-4fd0-82ce-3d13247308cd
7+
offering_id: 4be16b65-3efc-457e-bc30-690e3ac7a6a1
8+
variations:
9+
- name: standard
10+
mark_ready: true
11+
install_type: fullstack
12+
scc:
13+
instance_id: 1c7d5f78-9262-44c3-b779-b28fe4d88c37
14+
region: us-south

.releaserc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
}],
1111
["@semantic-release/exec", {
1212
"successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV"
13+
}],
14+
["@semantic-release/exec",{
15+
"publishCmd": "./ci/trigger-catalog-onboarding-pipeline.sh --version=v${nextRelease.version}"
1316
}]
1417
]
1518
}

ibm_catalog.json

Lines changed: 296 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,296 @@
1+
{
2+
"products": [
3+
{
4+
"name": "deploy-arch-ibm-icd-mysql",
5+
"label": "Cloud automation for Databases for MySQL",
6+
"product_kind": "solution",
7+
"tags": [
8+
"ibm_created",
9+
"target_terraform",
10+
"terraform",
11+
"data_management",
12+
"solution"
13+
],
14+
"keywords": [
15+
"mysql",
16+
"IaC",
17+
"infrastructure as code",
18+
"terraform",
19+
"solution",
20+
"mysql standard",
21+
"cache",
22+
"in memory"
23+
],
24+
"short_description": "Creates and configures an instance of IBM Cloud Databases for MySQL.",
25+
"long_description": "This architecture supports creating and configuring an instance of Databases for MySQL with KMS encryption.",
26+
"offering_docs_url": "https://github.com/terraform-ibm-modules/terraform-ibm-icd-mysql/blob/main/README.md",
27+
"offering_icon_url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-icd-mysql/main/images/mysql_icon.svg",
28+
"provider_name": "IBM",
29+
"features": [
30+
{
31+
"title": "Creates an instance of Databases for MySQL",
32+
"description": "Creates and configures an IBM Cloud Databases for MySQL instance."
33+
},
34+
{
35+
"title": "Supports KMS encryption",
36+
"description": "Provides KMS encryption for the data that you store in the database."
37+
},
38+
{
39+
"title": "Supports autoscaling",
40+
"description": "Provides the autoscaling to allow the database to increase resources in response to usage."
41+
},
42+
{
43+
"title": "Supports backup restoration",
44+
"description": "Provides database restoration using a backup created by a deployment with the same service ID."
45+
}
46+
],
47+
"flavors": [
48+
{
49+
"label": "Standard",
50+
"name": "standard",
51+
"install_type": "fullstack",
52+
"working_directory": "solutions/standard",
53+
"compliance": {
54+
"authority": "scc-v3",
55+
"profiles": [
56+
{
57+
"profile_name": "IBM Cloud Framework for Financial Services",
58+
"profile_version": "1.7.0"
59+
}
60+
]
61+
},
62+
"iam_permissions": [
63+
{
64+
"role_crns": [
65+
"crn:v1:bluemix:public:iam::::role:Administrator"
66+
],
67+
"service_name": "all-account-management-services"
68+
},
69+
{
70+
"role_crns": [
71+
"crn:v1:bluemix:public:iam::::role:Editor"
72+
],
73+
"service_name": "databases-for-mysql"
74+
},
75+
{
76+
"role_crns": [
77+
"crn:v1:bluemix:public:iam::::serviceRole:Manager",
78+
"crn:v1:bluemix:public:iam::::role:Editor"
79+
],
80+
"service_name": "kms"
81+
}
82+
],
83+
"architecture": {
84+
"descriptions": "This architecture creates an instance of IBM CLoud Databases for MySQL instance with KMS encryption. Supports autoscaling.",
85+
"features": [
86+
{
87+
"title": " Creates an instance of Databases for MySQL",
88+
"description": "This architecture creates an instance of IBM Cloud Databases for MySQL with KMS encryption. It accepts or creates a resource group, and provides autoscaling rules."
89+
}
90+
],
91+
"diagrams": [
92+
{
93+
"diagram": {
94+
"caption": "Databases for MySQL instance on IBM Cloud",
95+
"url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-icd-mysql/main/reference-architecture/deployable-architecture-mysql.svg",
96+
"type": "image/svg+xml"
97+
},
98+
"description": "This architecture supports creating and configuring an instance of Databases for MySQL instance with KMS encryption."
99+
}
100+
]
101+
},
102+
"configuration": [
103+
{
104+
"key": "ibmcloud_api_key"
105+
},
106+
{
107+
"key": "provider_visibility",
108+
"options": [
109+
{
110+
"displayname": "private",
111+
"value": "private"
112+
},
113+
{
114+
"displayname": "public",
115+
"value": "public"
116+
},
117+
{
118+
"displayname": "public-and-private",
119+
"value": "public-and-private"
120+
}
121+
]
122+
},
123+
{
124+
"key": "use_existing_resource_group"
125+
},
126+
{
127+
"key": "resource_group_name"
128+
},
129+
{
130+
"key": "prefix"
131+
},
132+
{
133+
"key": "name"
134+
},
135+
{
136+
"key": "region",
137+
"required": true,
138+
"default_value": "us-south",
139+
"options": [
140+
{
141+
"displayname": "Chennai (che01)",
142+
"value": "che01"
143+
},
144+
{
145+
"displayname": "Dallas (us-south)",
146+
"value": "us-south"
147+
},
148+
{
149+
"displayname": "Frankfurt (eu-de)",
150+
"value": "eu-de"
151+
},
152+
{
153+
"displayname": "London (eu-gb)",
154+
"value": "eu-gb"
155+
},
156+
{
157+
"displayname": "Madrid (eu-es)",
158+
"value": "eu-es"
159+
},
160+
{
161+
"displayname": "Osaka (jp-osa)",
162+
"value": "jp-osa"
163+
},
164+
{
165+
"displayname": "Paris (par01)",
166+
"value": "par01"
167+
},
168+
{
169+
"displayname": "Sao Paulo (br-sao)",
170+
"value": "br-sao"
171+
},
172+
{
173+
"displayname": "Sydney (au-syd)",
174+
"value": "au-syd"
175+
},
176+
{
177+
"displayname": "Toronto (ca-tor)",
178+
"value": "ca-tor"
179+
},
180+
{
181+
"displayname": "Tokyo (jp-tok)",
182+
"value": "jp-tok"
183+
},
184+
{
185+
"displayname": "Washington (us-east)",
186+
"value": "us-east"
187+
}
188+
]
189+
},
190+
{
191+
"key": "mysql_version",
192+
"required": true,
193+
"options": [
194+
{
195+
"displayname": "6.2",
196+
"value": "6.2"
197+
},
198+
{
199+
"displayname": "7.2",
200+
"value": "7.2"
201+
}
202+
]
203+
},
204+
{
205+
"key": "members"
206+
},
207+
{
208+
"key": "member_memory_mb"
209+
},
210+
{
211+
"key": "member_cpu_count"
212+
},
213+
{
214+
"key": "member_disk_mb"
215+
},
216+
{
217+
"key": "member_host_flavor"
218+
},
219+
{
220+
"key": "service_credential_names"
221+
},
222+
{
223+
"key": "admin_pass"
224+
},
225+
{
226+
"key": "users"
227+
},
228+
{
229+
"key": "tags"
230+
},
231+
{
232+
"key": "ibmcloud_kms_api_key"
233+
},
234+
{
235+
"key": "existing_kms_instance_crn",
236+
"required": true
237+
},
238+
{
239+
"key": "existing_kms_key_crn"
240+
},
241+
{
242+
"key": "kms_endpoint_type",
243+
"options": [
244+
{
245+
"displayname": "public",
246+
"value": "public"
247+
},
248+
{
249+
"displayname": "private",
250+
"value": "private"
251+
}
252+
]
253+
},
254+
{
255+
"key": "key_ring_name"
256+
},
257+
{
258+
"key": "key_name"
259+
},
260+
{
261+
"key": "auto_scaling"
262+
},
263+
{
264+
"key": "existing_secrets_manager_instance_crn"
265+
},
266+
{
267+
"key": "existing_secrets_manager_endpoint_type",
268+
"options": [
269+
{
270+
"displayname": "public",
271+
"value": "public"
272+
},
273+
{
274+
"displayname": "private",
275+
"value": "private"
276+
}
277+
]
278+
},
279+
{
280+
"key": "service_credential_secrets"
281+
},
282+
{
283+
"key": "skip_mysql_sm_auth_policy"
284+
},
285+
{
286+
"key": "skip_mysql_kms_auth_policy"
287+
},
288+
{
289+
"key": "backup_crn"
290+
}
291+
]
292+
}
293+
]
294+
}
295+
]
296+
}

images/mysql_icon.svg

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)