Skip to content

Commit 3e61eb5

Browse files
authored
Merge pull request #63 from redis-field-engineering/FIELDENG-802-dynatrace-database-dashboard-updates
Updates to Dynatrace Database Dashboard
2 parents 74812fa + 87b907d commit 3e61eb5

File tree

4 files changed

+551
-105
lines changed

4 files changed

+551
-105
lines changed

dynatrace_v2/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
bundle.zip
2-
extension.zip
1+
bundle.zip*
2+
extension.zip*

dynatrace_v2/kickstarter/terraform/gcp/main.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ resource "null_resource" "install_activegate" {
5151
"sudo apt-get install -y wget",
5252
"wget -O ActiveGate.sh \"${local.activegate_installer_url}\" --header=\"Authorization: Api-Token ${var.dynatrace_api_token}\"",
5353
"chmod +x ActiveGate.sh",
54-
"sudo ./ActiveGate.sh"
54+
"sudo ./ActiveGate.sh",
55+
"sudo add-apt-repository ppa:deadsnakes/ppa -y",
56+
"sudo apt update",
57+
"sudo apt install -y python3.12 python3.12-venv python3.12-dev",
58+
"python3.12 -m venv venv",
59+
". venv/bin/activate",
60+
"pip install redis"
5561
]
5662
}
5763
connection {
@@ -73,6 +79,8 @@ resource "null_resource" "upload_extension" {
7379
pip install dt-cli
7480
base_dir=$(pwd)
7581
cd ../../..
82+
rm -f bundle.zip
83+
rm -f extension.zip
7684
dt extension assemble
7785
dt extension sign --key $base_dir/${var.developer_pem}
7886
dt extension upload --tenant-url ${local.dynatrace_tenant_url} --api-token ${var.dynatrace_api_token} bundle.zip

0 commit comments

Comments
 (0)