Skip to content

Commit 35cd589

Browse files
Upgrade OPM to version from to
Signed-off-by: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com>
1 parent 0da7ea3 commit 35cd589

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
lines changed

changelog/fragments/upgrade-opm.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# entries is a list of entries to include in
2+
# release notes and/or the migration guide
3+
entries:
4+
- description: >
5+
For All-based Operators, upgrade OPM to version from `v1.23.0` to `v1.55.0`, which includes several bug fixes and
6+
improvements. For further information, see: https://github.com/operator-framework/operator-registry/releases
7+
kind: "change"
8+
breaking: false
9+
migration:
10+
header: Upgrade OPM version to v1.55.0 in the Makefile
11+
body: |
12+
Update the OPM version in your Makefile to `v1.55.0`:
13+
14+
```makefile
15+
-const opmVersion = "v1.23.0"
16+
+const opmVersion = "v1.55.0"
17+
```
18+
19+
```makefile
20+
- curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.23.0/$${OS}-$${ARCH}-opm ;\
21+
+ curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.55.0/$${OS}-$${ARCH}-opm ;\
22+
```

internal/plugins/manifests/v2/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535

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

4040
const filePath = "Makefile"
4141

testdata/go/v4/memcached-operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ ifeq (,$(shell which opm 2>/dev/null))
308308
set -e ;\
309309
mkdir -p $(dir $(OPM)) ;\
310310
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
311-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.23.0/$${OS}-$${ARCH}-opm ;\
311+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.55.0/$${OS}-$${ARCH}-opm ;\
312312
chmod +x $(OPM) ;\
313313
}
314314
else

testdata/go/v4/monitoring/memcached-operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ ifeq (,$(shell which opm 2>/dev/null))
323323
set -e ;\
324324
mkdir -p $(dir $(OPM)) ;\
325325
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
326-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.23.0/$${OS}-$${ARCH}-opm ;\
326+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.55.0/$${OS}-$${ARCH}-opm ;\
327327
chmod +x $(OPM) ;\
328328
}
329329
else

testdata/helm/memcached-operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ ifeq (,$(shell which opm 2>/dev/null))
198198
@{ \
199199
set -e ;\
200200
mkdir -p $(dir $(OPM)) ;\
201-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.23.0/$(OS)-$(ARCH)-opm ;\
201+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.55.0/$(OS)-$(ARCH)-opm ;\
202202
chmod +x $(OPM) ;\
203203
}
204204
else

0 commit comments

Comments
 (0)