Skip to content

Commit

Permalink
fix(demo_deployer): updated specific regular expressions in validate_…
Browse files Browse the repository at this point in the history
…output's param value
  • Loading branch information
rpaliwal1997 committed Nov 19, 2024
1 parent c7dbc92 commit aa824ae
Show file tree
Hide file tree
Showing 27 changed files with 42 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"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/debian.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/dotNet/linux-systemd.yml",
"validate_output": "New Relic installation complete"
"validate_output": ".NET Agent\\s+\\(installed\\)"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"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/apm/dotNet/linux-systemd.yml",
"validate_output": "New Relic installation complete"
"validate_output": ".NET Agent\\s+\\(installed\\)"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/dotNet/windows/iis-blank.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"deploy_script_path": "test/deploy/windows/newrelic-cli/install-recipe/roles",
"params": {
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/windows.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/dotNet/windows-iis.yml",
"validate_output": "New Relic installation complete"
"validate_output": ".NET Agent\\s+\\(installed\\)"
}
}
]
Expand Down
29 changes: 15 additions & 14 deletions test/definitions-eu/apm/dotNet/windows/windows2016-iis.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,21 @@
"is_core_app": "true"
}
}],
"instrumentations": {
"resources": [
{
"id": "nr_infra",
"resource_ids": ["iiswindows2016"],
"provider": "newrelic",
"source_repository": "https://github.com/newrelic/open-install-library.git",
"deploy_script_path": "test/deploy/windows/newrelic-cli/install/roles",
"params": {
"local_recipes": true
}

"instrumentations": {
"resources": [
{
"id": "nr_infra",
"resource_ids": ["iiswindows2016"],
"provider": "newrelic",
"source_repository": "https://github.com/newrelic/open-install-library.git",
"deploy_script_path": "test/deploy/windows/newrelic-cli/install-recipe/roles",
"params": {
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/windows.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/dotNet/windows-iis.yml",
"validate_output": ".NET Agent\\s+\\(installed\\)"
}
]
}
}
]
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"source_repository": "https://github.com/newrelic/open-install-library.git",
"deploy_script_path": "test/deploy/windows/newrelic-cli/install/roles",
"params": {
"local_recipes": true
}
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/windows.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/dotNet/windows-iis.yml",
"validate_output": ".NET Agent\\s+\\(installed\\)" }
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"deploy_script_path": "test/deploy/windows/newrelic-cli/install-recipe/roles",
"params": {
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/windows.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/dotNet/windows-iis.yml",
"validate_output": "New Relic installation complete"
"validate_output": ".NET Agent\\s+\\(installed\\)"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/deb10-supd-javatron.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"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/debian.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/deb10-sysd-custom-sh.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"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/debian.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/deb10-sysd-tomcat-cmd.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"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/debian.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/deb10-sysd-tomcat-sh.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"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/debian.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/deb11-apt-sysd-tomcat.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/debian.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/deb11-sysd-jboss.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/debian.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/rhl2-supd-javatron.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/rhl2-sysd-custom-sh.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/rhl2-sysd-tomcat-cmd.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/rhl2-sysd-tomcat-sh.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/rhl2-yum-docker-jboss.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/rhl2-yum-sysd-tomcat.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/ub20-apt-docker-jboss.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"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/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/ub20-apt-docker-tomcat.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"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/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/definitions-eu/apm/java/ub20-apt-sysd-tomcat.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/apm/java/linux.yml",
"validate_output": "New Relic installation complete"
"validate_output": "Java Agent\\s+\\(installed\\)"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/php/redhat.yml",
"validate_output": "New Relic installation complete"
"validate_output": "PHP Agent\\s+\\(installed\\)"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/apm/php/debian.yml",
"validate_output": "New Relic installation complete"
"validate_output": "PHP Agent\\s+\\(installed\\)"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/php/redhat.yml",
"validate_output": "New Relic installation complete"
"validate_output": "PHP Agent\\s+\\(installed\\)"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/apm/php/debian.yml",
"validate_output": "New Relic installation complete"
"validate_output": "PHP Agent\\s+\\(installed\\)"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/awslinux.yml,https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/apm/php/redhat.yml",
"validate_output": "New Relic installation complete"
"validate_output": "PHP Agent\\s+\\(installed\\)"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"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/apm/php/debian.yml",
"validate_output": "New Relic installation complete"
"validate_output": "PHP Agent\\s+\\(installed\\)"
}
}
]
Expand Down

0 comments on commit aa824ae

Please sign in to comment.