From d956f85cb5a9869cdebf17771dccc3c393483f92 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Thu, 19 Dec 2019 13:54:22 +0200 Subject: [PATCH] Added purpose tag, but not tested --- envs/os_compatibility/README.md | 4 ++-- envs/os_compatibility/terraform/instance_template/main.tf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/envs/os_compatibility/README.md b/envs/os_compatibility/README.md index 9dd136ae7..43456c75e 100644 --- a/envs/os_compatibility/README.md +++ b/envs/os_compatibility/README.md @@ -28,8 +28,8 @@ terraform apply ``` ## Usage -1. Launch os_compat_ISLAND machine and upload your binaries/update island -2. Launch/Reboot all other os_compat test machines +1. Launch os_compat_ISLAND machine and upload your binaries/update island. Reset island environment. +2. Launch/Reboot all other os_compat test machines (Can be filtered with tag "Puropose: os_compat_instance") 3. Wait until machines boot and run monkey 4. Launch `test_compatibility.py` pytest script with island ip parameter (e.g. `test_compatibility.py --island 111.111.111.111:5000`) diff --git a/envs/os_compatibility/terraform/instance_template/main.tf b/envs/os_compatibility/terraform/instance_template/main.tf index 1709a4de1..5a4e08fa7 100644 --- a/envs/os_compatibility/terraform/instance_template/main.tf +++ b/envs/os_compatibility/terraform/instance_template/main.tf @@ -6,6 +6,7 @@ resource "aws_instance" "os_test_machine" { key_name = "os_compat" tags = { Name = "os_compat_${var.name}" + Purpose = "os_compat_instance" } vpc_security_group_ids = ["${data.aws_security_group.os_compat_instance.id}"] associate_public_ip_address = true