Skip to content

Commit dad3e83

Browse files
authored
Upgrade OPM version used (#5099)
* Upgrade OPM version used Signed-off-by: Thierry Wasylczenko <[email protected]> * Upgrade OPM version to v1.18 and update 00-template.yaml Signed-off-by: Thierry Wasylczenko <[email protected]> * Use correct OPM version with 3 parts Signed-off-by: Thierry Wasylczenko <[email protected]> * Dedicated fragment for release notes Signed-off-by: Thierry Wasylczenko <[email protected]> * [upgrade-opm-version] Using OPM 1.19.1 Signed-off-by: Thierry Wasylczenko <[email protected]>
1 parent 189bbf9 commit dad3e83

File tree

8 files changed

+15
-7
lines changed

8 files changed

+15
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
entries:
2+
- description: >
3+
Upgrade OPM version that is used by default to 1.19.1 in the generated Makefile so `make catalog-build` also works on OSX.
4+
5+
kind: "change"
6+
7+
# Is this a breaking change?
8+
breaking: false

internal/plugins/manifests/v2/init.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232

3333
// Version of `opm` to download and use for building index images.
3434
// This version's release artifacts *must* contain a binary for multiple arches; certain releases do not.
35-
const opmVersion = "v1.15.1"
35+
const opmVersion = "v1.19.1"
3636

3737
const filePath = "Makefile"
3838

testdata/ansible/memcached-operator/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ ifeq (,$(shell which opm 2>/dev/null))
149149
@{ \
150150
set -e ;\
151151
mkdir -p $(dir $(OPM)) ;\
152-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.15.1/$(OS)-$(ARCH)-opm ;\
152+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.19.1/$(OS)-$(ARCH)-opm ;\
153153
chmod +x $(OPM) ;\
154154
}
155155
else

testdata/go/v2/memcached-operator/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ ifeq (,$(shell which opm 2>/dev/null))
190190
set -e ;\
191191
mkdir -p $(dir $(OPM)) ;\
192192
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
193-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.15.1/$${OS}-$${ARCH}-opm ;\
193+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.19.1/$${OS}-$${ARCH}-opm ;\
194194
chmod +x $(OPM) ;\
195195
}
196196
else

testdata/go/v3/memcached-operator/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ ifeq (,$(shell which opm 2>/dev/null))
189189
set -e ;\
190190
mkdir -p $(dir $(OPM)) ;\
191191
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
192-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.15.1/$${OS}-$${ARCH}-opm ;\
192+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.19.1/$${OS}-$${ARCH}-opm ;\
193193
chmod +x $(OPM) ;\
194194
}
195195
else

testdata/helm/memcached-operator/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ ifeq (,$(shell which opm 2>/dev/null))
149149
@{ \
150150
set -e ;\
151151
mkdir -p $(dir $(OPM)) ;\
152-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.15.1/$(OS)-$(ARCH)-opm ;\
152+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.19.1/$(OS)-$(ARCH)-opm ;\
153153
chmod +x $(OPM) ;\
154154
}
155155
else

website/content/en/docs/upgrading-sdk-version/v1.6.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ ifeq (,$(shell which opm 2>/dev/null))
178178
@{ \
179179
set -e ;\
180180
mkdir -p $(dir $(OPM)) ;\
181-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.15.1/$(OS)-$(ARCH)-opm ;\
181+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.19.1/$(OS)-$(ARCH)-opm ;\
182182
chmod +x $(OPM) ;\
183183
}
184184
else

website/content/en/docs/upgrading-sdk-version/v1.6.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ ifeq (,$(shell which opm 2>/dev/null))
178178
@{ \
179179
set -e ;\
180180
mkdir -p $(dir $(OPM)) ;\
181-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.15.1/$(OS)-$(ARCH)-opm ;\
181+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.19.1/$(OS)-$(ARCH)-opm ;\
182182
chmod +x $(OPM) ;\
183183
}
184184
else

0 commit comments

Comments
 (0)