Skip to content

Commit

Permalink
Update Test Naica setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cbbayburt committed Oct 12, 2023
1 parent 1796b5f commit 1356ed9
Showing 1 changed file with 24 additions and 15 deletions.
39 changes: 24 additions & 15 deletions terracumber_config/tf_files/SUSEManager-Test-Naica-NUE.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ variable "URL_PREFIX" {
// Not really used as this is for --runall parameter, and we run cucumber step by step
variable "CUCUMBER_COMMAND" {
type = string
default = "export PRODUCT='Uyuni' && run-testsuite"
default = "export PRODUCT='SUSE-Manager' && run-testsuite"
}

variable "CUCUMBER_GITREPO" {
Expand Down Expand Up @@ -85,13 +85,14 @@ terraform {
}

provider "libvirt" {
uri = "qemu+tcp://cthulhu.mgr.suse.de/system"
//uri = "qemu+tcp://cthulhu.mgr.suse.de/system"
uri = "qemu+tcp://suma-04.mgr.suse.de/system"
}

module "cucumber_testsuite" {
source = "./modules/cucumber_testsuite"

product_version = "uyuni-master"
product_version = "4.3-nightly"

// Cucumber repository configuration for the controller
git_username = var.GIT_USER
Expand All @@ -102,7 +103,7 @@ module "cucumber_testsuite" {
cc_username = var.SCC_USER
cc_password = var.SCC_PASSWORD

images = ["centos7o", "opensuse154o", "sles15sp4o", "ubuntu2204o"]
images = ["centos7o", "rocky8o", "opensuse154o", "sles15sp4o", "ubuntu2204o"]

use_avahi = false
name_prefix = "suma-testnaica-"
Expand All @@ -122,35 +123,36 @@ module "cucumber_testsuite" {
controller = {
provider_settings = {
mac = "aa:b2:93:01:00:60"
vcpu = 2
memory = 2048
}
}
server = {
provider_settings = {
mac = "aa:b2:93:01:00:61"
memory = 16384
}
/* TODO: needs to be upgraded to openSUSE_Leap_15.4?
additional_repos = {
Test_repo = "http://download.suse.de/ibs/Devel:/Galaxy:/Manager:/TEST:/Naica/openSUSE_Leap_15.3/"
Test_repo = "http://download.suse.de/ibs/Devel:/Galaxy:/Manager:/TEST:/Orion/4_3-SLE_15_SP4/"
}
*/
}
/*
proxy = {
provider_settings = {
mac = "aa:b2:93:01:00:62"
}
additional_repos = {
Test_repo = "http://download.suse.de/ibs/Devel:/Galaxy:/Manager:/TEST:/Naica/openSUSE_Leap_15.3/"
Test_repo = "http://download.suse.de/ibs/Devel:/Galaxy:/Manager:/TEST:/Orion/4_3-SLE_15_SP4/"
}
additional_packages = [ "venv-salt-minion" ]
install_salt_bundle = true
}
*/
suse-client = {
image = "sles15sp4o"
name = "cli-sles15"
provider_settings = {
mac = "aa:b2:93:01:00:64"
vcpu = 2
memory = 2048
}
additional_packages = [ "venv-salt-minion" ]
install_salt_bundle = true
Expand All @@ -160,6 +162,8 @@ module "cucumber_testsuite" {
name = "min-sles15"
provider_settings = {
mac = "aa:b2:93:01:00:66"
vcpu = 2
memory = 2048
}
additional_packages = [ "venv-salt-minion" ]
install_salt_bundle = true
Expand All @@ -169,12 +173,15 @@ module "cucumber_testsuite" {
name = "minssh-sles15"
provider_settings = {
mac = "aa:b2:93:01:00:68"
vcpu = 2
memory = 2048
}
additional_packages = [ "venv-salt-minion" ]
additional_packages = [ "venv-salt-minion", "iptables" ]
install_salt_bundle = true
}
redhat-minion = {
image = "centos7o"
name = "min-centos7"
provider_settings = {
mac = "aa:b2:93:01:00:69"
// Since start of May we have problems with the instance not booting after a restart if there is only a CPU and only 1024Mb for RAM
Expand All @@ -190,6 +197,8 @@ module "cucumber_testsuite" {
image = "ubuntu2204o"
provider_settings = {
mac = "aa:b2:93:01:00:6b"
vcpu = 2
memory = 2048
}
additional_packages = [ "venv-salt-minion" ]
install_salt_bundle = true
Expand All @@ -200,16 +209,16 @@ module "cucumber_testsuite" {
provider_settings = {
mac = "aa:b2:93:01:00:6d"
memory = 2048
vcpu = 2
}
additional_packages = [ "venv-salt-minion" ]
install_salt_bundle = true
}
}
provider_settings = {
pool = "ssd"
network_name = null
bridge = "br0"
additional_network = "192.168.142.0/24"
pool = "ssd"
network_name = null
bridge = "br0"
}
}

Expand Down

0 comments on commit 1356ed9

Please sign in to comment.