Skip to content

Commit

Permalink
PRODENG-2744 run smoke test on release branch (#518)
Browse files Browse the repository at this point in the history
- make the full GH smoke test on the current release branch
- drop centos7 in the tests, as the AWS image yum repos are offline now
- added rhel8 and rocky8 to the full smoke test
- also move the example tfvars file to a template

Signed-off-by: James Nesbitt <[email protected]>
  • Loading branch information
james-nesbitt authored Nov 7, 2024
1 parent f446d2a commit 1111954
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/smoke-test-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- v1.5.9-release-branch
paths:
- '**.go'
- '**.tf'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// used to name infrastructure (CHANGE THIS)
name = "mcc-smoke-test"

aws = {
region = "us-east-1"
}
Expand Down
14 changes: 9 additions & 5 deletions test/smoke/smoke_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var SUBNETS = map[string]interface{}{
"main": map[string]interface{}{
"cidr": "172.31.0.0/17",
"private": false,
"nodegroups": []string{"MngrUbuntu22", "MngrRocky9", "MngrSles15", "MngrCentos7", "MngrRhel9", "WrkUbuntu22", "WrkRocky9", "WrkSles15", "WrkCentos7", "WrkRhel9"},
"nodegroups": []string{"MngrUbuntu22", "MngrUbuntu20", "MngrRocky9", "MngrRocky8", "MngrSles15", "MngrRhel9", "MngrRhel8", "WrkUbuntu22", "WrkUbuntu20", "WrkRocky9", "WrkRocky8", "WrkSles15", "WrkRhel9", "WrkRhel8"},
},
}

Expand Down Expand Up @@ -104,16 +104,20 @@ func TestSupportedMatrixCluster(t *testing.T) {

nodegroups := map[string]interface{}{
"MngrUbuntu22": test.Platforms["Ubuntu22"].GetManager(),
"MngrUbuntu20": test.Platforms["Ubuntu20"].GetManager(),
"MngrRocky9": test.Platforms["Rocky9"].GetManager(),
"MngrSles15": test.Platforms["Sles15"].GetManager(),
"MngrCentos7": test.Platforms["Centos7"].GetManager(),
"MngrRocky8": test.Platforms["Rocky8"].GetManager(),
"MngrRhel9": test.Platforms["Rhel9"].GetManager(),
"MngrRhel8": test.Platforms["Rhel8"].GetManager(),
"MngrSles15": test.Platforms["Sles15"].GetManager(),

"WrkUbuntu22": test.Platforms["Ubuntu22"].GetWorker(),
"WrkUbuntu20": test.Platforms["Ubuntu20"].GetWorker(),
"WrkRocky9": test.Platforms["Rocky9"].GetWorker(),
"WrkSles15": test.Platforms["Sles15"].GetWorker(),
"WrkCentos7": test.Platforms["Centos7"].GetWorker(),
"WrkRocky8": test.Platforms["Rocky8"].GetWorker(),
"WrkRhel9": test.Platforms["Rhel9"].GetWorker(),
"WrkRhel8": test.Platforms["Rhel8"].GetWorker(),
"WrkSles15": test.Platforms["Sles15"].GetWorker(),
}

uTestId := test.GenerateRandomAlphaNumericString(5)
Expand Down

0 comments on commit 1111954

Please sign in to comment.