Skip to content

Commit

Permalink
Merge pull request #1133 from newrelic/ubuntu24-mysql-test
Browse files Browse the repository at this point in the history
test(mysql-integration): add testcase for mysql integration in ubuntu…
  • Loading branch information
vagrawal-newrelic authored Nov 8, 2024
2 parents f4b022b + 4c70560 commit 7792bc3
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions test/definitions/ohi/linux/mysql-ubuntu24.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.micro",
"ami_name": "ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-202?????",
"user_name": "ubuntu"
}
],
"services": [
{
"id": "mysql1",
"destinations": [
"host1"
],
"source_repository": "https://github.com/newrelic/open-install-library.git",
"deploy_script_path": "test/deploy/linux/mysql/install/debian/roles",
"port": 9999,
"params": {
"create_env_var": true
}
}
],
"instrumentations": {
"resources": [
{
"id": "nr_infra_mysql",
"resource_ids": [
"host1"
],
"provider": "newrelic",
"source_repository": "https://github.com/newrelic/open-install-library.git",
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
"params": {
"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",
"validate_output": "(MySQL Integration)\\s+\\(installed\\)"
}
}
]
}
}

0 comments on commit 7792bc3

Please sign in to comment.