Skip to content

Commit 4c70560

Browse files
test(mysql-integration): add testcase for mysql integration in ubuntu 24.04
1 parent f4b022b commit 4c70560

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"global_tags": {
3+
"owning_team": "virtuoso",
4+
"Environment": "development",
5+
"Department": "product",
6+
"Product": "virtuoso"
7+
},
8+
"resources": [
9+
{
10+
"id": "host1",
11+
"provider": "aws",
12+
"type": "ec2",
13+
"size": "t3.micro",
14+
"ami_name": "ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-202?????",
15+
"user_name": "ubuntu"
16+
}
17+
],
18+
"services": [
19+
{
20+
"id": "mysql1",
21+
"destinations": [
22+
"host1"
23+
],
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/mysql/install/debian/roles",
26+
"port": 9999,
27+
"params": {
28+
"create_env_var": true
29+
}
30+
}
31+
],
32+
"instrumentations": {
33+
"resources": [
34+
{
35+
"id": "nr_infra_mysql",
36+
"resource_ids": [
37+
"host1"
38+
],
39+
"provider": "newrelic",
40+
"source_repository": "https://github.com/newrelic/open-install-library.git",
41+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
42+
"params": {
43+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/ubuntu.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/ohi/mysql/debian.yml",
44+
"validate_output": "(MySQL Integration)\\s+\\(installed\\)"
45+
}
46+
}
47+
]
48+
}
49+
}

0 commit comments

Comments
 (0)