Skip to content

Commit 1adc582

Browse files
committed
moving 4.18 to latest ocp release version and adding 4.19
Signed-off-by: Adam D. Cornett <[email protected]>
1 parent f95a1cc commit 1adc582

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

internal/bundle/bundle.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ var ocpToKubeVersion = map[string]string{
3232
"4.16": "1.29",
3333
"4.17": "1.30",
3434
"4.18": "1.31",
35+
"4.19": "1.32",
3536
}
3637

37-
const latestReleasedVersion = "4.17"
38+
const latestReleasedVersion = "4.18"
3839

3940
func Validate(ctx context.Context, imagePath string) (*Report, error) {
4041
logger := logr.FromContextOrDiscard(ctx)

internal/bundle/bundle_test.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ var _ = Describe("BundleValidateCheck", func() {
109109
Entry(">= 4.11", "v4.11", latestReleasedVersion, true),
110110
Entry(">= 4.15", "v4.15", latestReleasedVersion, true),
111111
Entry(">= 4.16, which is more than released", "v4.16", latestReleasedVersion, true),
112-
Entry(">= 4.17, which is more than released", "v4.17", "4.17", true),
113-
Entry(">= 4.18, which is more than released", "v4.18", "4.18", true),
112+
Entry(">= 4.17, which is more than released", "v4.17", latestReleasedVersion, true),
113+
Entry(">= 4.18, which is more than released", "v4.18", latestReleasedVersion, true),
114+
Entry(">= 4.18, which is more than released", "v4.19", "4.19", true),
114115
Entry("begins = with error", "=foo", "", false),
115116
Entry("bare version with error", "vfoo", "", false),
116117
Entry("range with error", "v4.6-vfoo", "", false),

0 commit comments

Comments
 (0)