Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions test/definitions/otel/rhel/centos7-otel.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,23 @@
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.nano",
"ami_name": "CentOS-7-????-????????_?.x86_64-*",
"user_name": "centos"
"size": "t3.medium",
"ami_name": "brightheadnode-9.1-centos7u8-hvm-3",
"user_name": "root"
}],

"services": [
{
"id": "centos",
"destinations": [
"host1"
],
"source_repository": "-b fix/non-regression-tests-us https://github.com/newrelic/open-install-library.git",
"deploy_script_path": "test/deploy/linux/otel/install/centos/roles",
"port": 9999
}
],

"instrumentations": {
"resources": [
{
Expand Down
18 changes: 15 additions & 3 deletions test/definitions/otel/rhel/centos8-otel.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,23 @@
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.nano",
"ami_name": "CentOS Stream 8 x86_64 ????????",
"user_name": "centos"
"size": "t2.medium",
"ami_name": "brightheadnode-9.1-centos8u2-hvm-4",
"user_name": "root"
}],

"services": [
{
"id": "centos",
"destinations": [
"host1"
],
"source_repository": "-b fix/non-regression-tests-us https://github.com/newrelic/open-install-library.git",
"deploy_script_path": "test/deploy/linux/otel/install/centos/roles",
"port": 9999
}
],

"instrumentations": {
"resources": [
{
Expand Down
14 changes: 14 additions & 0 deletions test/deploy/linux/otel/install/centos/roles/prepare/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
- debug:
msg: Update CentOS

- name: Change directory to /etc/yum.repos.d/
shell: cd /etc/yum.repos.d/

- name: Disable mirrorlist in CentOS repo files
shell: sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*

- name: Update baseurl to vault.centos.org in CentOS repo files
shell: sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*


Loading