Skip to content

Commit

Permalink
chore: Updated superagent tests
Browse files Browse the repository at this point in the history
* test: Super-agent's rhel updated flow

* chore: Updated tests superagent tests

* chore: Updated tests superagent tests

* chore: Fixed default
  • Loading branch information
NSSPKrishna authored Aug 14, 2024
1 parent 039776f commit aaae88f
Show file tree
Hide file tree
Showing 50 changed files with 1,490 additions and 1,454 deletions.
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
{
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},

"resources": [{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.nano",
"ami_name": "debian-10-amd64-202?????-*",
"user_name": "admin"
}],
"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.nano",
"ami_name": "debian-10-amd64-202?????-*",
"user_name": "admin"
}
],

"instrumentations": {
"resources": [
{
"id": "nr_super_agent",
"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/super-agent/debian.yml",
"validate_output": "super-agent\\s+\\(unsupported\\)",
"recipe_targeted": "super-agent"
}
}
]
"instrumentations": {
"resources": [
{
"id": "nr_super_agent",
"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/super-agent/debian.yml",
"validate_output": "super-agent\\s+\\(unsupported\\)",
"recipe_targeted": "super-agent",
"use_organization_id": true
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
{
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},

"resources": [{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t4g.nano",
"ami_name": "debian-10-arm64-202?????-*",
"user_name": "admin"
}],
"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t4g.nano",
"ami_name": "debian-10-arm64-202?????-*",
"user_name": "admin"
}
],

"instrumentations": {
"resources": [
{
"id": "nr_super_agent",
"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/super-agent/debian.yml",
"validate_output": "super-agent\\s+\\(unsupported\\)",
"recipe_targeted": "super-agent"
}
}
]
"instrumentations": {
"resources": [
{
"id": "nr_super_agent",
"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/super-agent/debian.yml",
"validate_output": "super-agent\\s+\\(unsupported\\)",
"recipe_targeted": "super-agent",
"use_organization_id": true
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
{
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.nano",
"ami_name": "debian-11-amd64-daily-202?????-*",
"user_name": "admin"
}
],
"instrumentations": {
"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.nano",
"ami_name": "debian-11-amd64-daily-202?????-*",
"user_name": "admin"
{
"id": "nr_super_agent",
"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/super-agent/debian.yml",
"validate_output": "New Relic Super Agent\\s+\\(installed\\)",
"recipe_targeted": "super-agent",
"use_organization_id": true
}
],
"instrumentations": {
"resources": [
{
"id": "nr_super_agent",
"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/super-agent/debian.yml",
"validate_output": "New Relic Super Agent\\s+\\(installed\\)",
"recipe_targeted": "super-agent"
}
}
]
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
{
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"resources": [
{
"id": "ubuntu16-super-eu",
"provider": "aws",
"type": "ec2",
"size": "t3.small",
"ami_name": "ubuntu-pro-server/images/hvm-ssd/ubuntu-xenial-16.04-amd64-pro-server-????????",
"user_name": "ubuntu"
}
],
"instrumentations": {
"resources": [
{
"id": "ubuntu16-super-eu",
"provider": "aws",
"type": "ec2",
"size": "t3.small",
"ami_name": "ubuntu-pro-server/images/hvm-ssd/ubuntu-xenial-16.04-amd64-pro-server-????????",
"user_name": "ubuntu"
{
"id": "nr_super_agent",
"resource_ids": ["ubuntu16-super-eu"],
"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/super-agent/debian.yml",
"validate_output": "New Relic Super Agent\\s+\\(installed\\)",
"recipe_targeted": "super-agent",
"use_organization_id": true
}
],
"instrumentations": {
"resources": [
{
"id": "nr_super_agent",
"resource_ids": [
"ubuntu16-super-eu"
],
"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/super-agent/debian.yml",
"validate_output": "New Relic Super Agent\\s+\\(installed\\)",
"recipe_targeted": "super-agent"
}
}
]
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
{
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},
"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.nano",
"ami_name": "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-????????",
"user_name": "ubuntu"
}
],
"instrumentations": {
"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.nano",
"ami_name": "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-????????",
"user_name": "ubuntu"
{
"id": "nr_super_agent",
"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/super-agent/debian.yml",
"validate_output": "New Relic Super Agent\\s+\\(installed\\)",
"recipe_targeted": "super-agent",
"use_organization_id": true
}
],
"instrumentations": {
"resources": [
{
"id": "nr_super_agent",
"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/super-agent/debian.yml",
"validate_output": "New Relic Super Agent\\s+\\(installed\\)",
"recipe_targeted": "super-agent"
}
}
]
}
}
]
}
}
Loading

0 comments on commit aaae88f

Please sign in to comment.