Skip to content

Commit 802ab78

Browse files
feat: added support for OCP 4.14, and removed support for 4.11 (#312)
1 parent f4b1a10 commit 802ab78

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tests/other_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ func TestCrossKmsSupportExample(t *testing.T) {
9292
"kms_instance_guid": permanentResources["kp_us_south_guid"],
9393
"kms_key_id": permanentResources["kp_us_south_root_key_id"],
9494
"kms_cross_account_id": permanentResources["ge_ops_account_id"],
95+
"ocp_version": ocpVersion2,
9596
},
9697
})
9798

tests/pr_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ const crossKmsSupportExampleDir = "examples/cross_kms_support"
2323
const yamlLocation = "../common-dev-assets/common-go-assets/common-permanent-resources.yaml"
2424

2525
// Ensure there is one test per supported OCP version
26-
const ocpVersion1 = "4.13" // used by TestRunUpgradeAdvancedExample, TestFSCloudExample and TestRunMultiClusterExample
27-
const ocpVersion2 = "4.12" // used by TestRunAdvancedExample and TestRunAddRulesToSGExample
28-
const ocpVersion3 = "4.11" // used by TestRunBasicExample
26+
const ocpVersion1 = "4.14" // used by TestRunUpgradeAdvancedExample, TestFSCloudExample and TestRunMultiClusterExample
27+
const ocpVersion2 = "4.13" // used by TestRunAdvancedExample, TestCrossKmsSupportExample and TestRunAddRulesToSGExample
28+
const ocpVersion3 = "4.12" // used by TestRunBasicExample
2929

3030
var sharedInfoSvc *cloudinfo.CloudInfoService
3131
var permanentResources map[string]interface{}

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ variable "ocp_version" {
109109
var.ocp_version == null,
110110
var.ocp_version == "default",
111111
var.ocp_version == "latest",
112-
var.ocp_version == "4.11",
113112
var.ocp_version == "4.12",
114113
var.ocp_version == "4.13",
114+
var.ocp_version == "4.14",
115115
])
116116
error_message = "The specified ocp_version is not of the valid versions."
117117
}

0 commit comments

Comments
 (0)