Skip to content

Commit 7573c5d

Browse files
committed
Bump version to 0.0.10-rc6
Signed-off-by: Eric Sauer <esauer@redhat.com>
1 parent fa5af18 commit 7573c5d

File tree

4 files changed

+45
-34
lines changed

4 files changed

+45
-34
lines changed

pelorus-operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 0.0.10-rc.6
6+
VERSION ?= 0.0.10-rc.60-rc.60-rc.60-rc.60-rc.60-rc.6
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

pelorus-operator/bundle/manifests/pelorus-operator.clusterserviceversion.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ metadata:
5050
categories: |
5151
Modernization & Migration,Developer Tools,Monitoring,Integration & Delivery
5252
containerImage: quay.io/pelorus/pelorus-operator:0.0.10-rc.6
53-
createdAt: "2024-09-19T20:50:32Z"
53+
createdAt: "2025-09-30T21:02:40Z"
5454
description: |
5555
Tool that helps IT organizations measure their impact on the overall performance of their organization
5656
operatorframework.io/suggested-namespace: pelorus
5757
operators.operatorframework.io/builder: operator-sdk-v1.33.0
5858
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
5959
repository: https://github.com/dora-metrics/pelorus/
6060
support: Pelorus Community
61-
name: pelorus-operator.v0.0.10-rc.6
61+
name: pelorus-operator.v0.0.10-rc.60-rc.60-rc.60-rc.60-rc.60-rc.6
6262
namespace: placeholder
6363
spec:
6464
apiservicedefinitions: {}
@@ -393,7 +393,7 @@ spec:
393393
- --metrics-bind-address=127.0.0.1:8080
394394
- --leader-elect
395395
- --leader-election-id=pelorus-operator
396-
image: quay.io/pelorus/pelorus-operator:0.0.10-rc.6
396+
image: quay.io/pelorus/pelorus-operator:0.0.10-rc.60-rc.60-rc.60-rc.60-rc.60-rc.6
397397
livenessProbe:
398398
httpGet:
399399
path: /healthz
@@ -495,4 +495,15 @@ spec:
495495
provider:
496496
name: Red Hat
497497
url: https://redhat.com
498-
version: 0.0.10-rc.6
498+
version: 0.0.10-rc.60-rc.60-rc.60-rc.60-rc.60-rc.6
499+
replaces: pelorus-operator.v0.0.9
500+
skips:
501+
- pelorus-operator.v0.0.9
502+
- pelorus-operator.v0.0.8
503+
- pelorus-operator.v0.0.7
504+
- pelorus-operator.v0.0.6
505+
- pelorus-operator.v0.0.5
506+
- pelorus-operator.v0.0.4
507+
- pelorus-operator.v0.0.3
508+
- pelorus-operator.v0.0.2
509+
- pelorus-operator.v0.0.1

pelorus-operator/config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Kustomization
55
images:
66
- name: controller
77
newName: quay.io/pelorus/pelorus-operator
8-
newTag: 0.0.10-rc.6
8+
newTag: 0.0.10-rc.60-rc.60-rc.60-rc.60-rc.60-rc.6

scripts/update_projects_version.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
OPERATOR_DOMAIN = "pelorus.dora-metrics.io"
3939

4040
ROOT = Path(__file__).resolve().parent.parent
41-
PELORUS_CHARTS_FOLDER = ROOT / "charts/pelorus"
41+
PELORUS_CHARTS_FOLDER = ROOT / "pelorus-operator/helm-charts/pelorus"
4242
PELORUS_EXPORTERS_FOLDER = PELORUS_CHARTS_FOLDER / "charts/exporters"
4343
PELORUS_OPERATOR_FOLDER = ROOT / "pelorus-operator"
4444
PATCHES_FOLDER = ROOT / "scripts/pelorus-operator-patches"
@@ -54,7 +54,7 @@
5454
CHARTS_FILES_TO_UPDATE = {
5555
# Files to updated in charts folder and number of changes in each one
5656
PELORUS_CHARTS_FOLDER / "Chart.yaml": 2,
57-
ROOT / "charts/operators/Chart.yaml": 1,
57+
# ROOT / "charts/operators/Chart.yaml": 1,
5858
PELORUS_EXPORTERS_FOLDER / "Chart.yaml": 1,
5959
PELORUS_EXPORTERS_FOLDER / "templates/_deployment.yaml": 2,
6060
PELORUS_EXPORTERS_FOLDER / "templates/_imagestream_from_image.yaml": 1,
@@ -123,8 +123,8 @@ def check_prerequisites(destination: Path, force: bool) -> None:
123123
shutil.rmtree(destination)
124124
destination.mkdir(parents=True)
125125

126-
if any(destination.iterdir()):
127-
exit_error(f"Destination folder {destination} is not empty")
126+
# if any(destination.iterdir()):
127+
# exit_error(f"Destination folder {destination} is not empty")
128128

129129
for dependency in SHELL_DEPENDENCIES:
130130
dependency_path = shutil.which(dependency)
@@ -254,24 +254,24 @@ def add_replaces_to_csv(
254254

255255

256256
def update_operator_folder(next_operator_version: str, destination: Path) -> None:
257-
logging.info("Creating operator init files")
258-
# TODO run update command instead of init every time
259-
run_command(
260-
f"operator-sdk init --plugins=helm --domain={OPERATOR_DOMAIN} --project-name={OPERATOR_NAME}",
261-
directory=destination,
262-
)
263-
logging.info("Creating operator api")
264-
exporters_charts_in_operator = destination / "helm-charts/pelorus/charts/exporters"
265-
exporters_charts_in_operator.mkdir(parents=True)
266-
shutil.copytree(
267-
PELORUS_EXPORTERS_FOLDER, exporters_charts_in_operator, dirs_exist_ok=True
268-
)
269-
run_command(
270-
f"operator-sdk create api --helm-chart={PELORUS_CHARTS_FOLDER}",
271-
directory=destination,
272-
)
273-
for file in exporters_charts_in_operator.parent.glob("*.tgz"):
274-
file.unlink()
257+
# logging.info("Creating operator init files")
258+
# # TODO run update command instead of init every time
259+
# run_command(
260+
# f"operator-sdk init --plugins=helm --domain={OPERATOR_DOMAIN} --project-name={OPERATOR_NAME}",
261+
# directory=destination,
262+
# )
263+
# logging.info("Creating operator api")
264+
# exporters_charts_in_operator = destination / "helm-charts/pelorus/charts/exporters"
265+
# exporters_charts_in_operator.mkdir(parents=True)
266+
# shutil.copytree(
267+
# PELORUS_EXPORTERS_FOLDER, exporters_charts_in_operator, dirs_exist_ok=True
268+
# )
269+
# run_command(
270+
# f"operator-sdk create api --helm-chart={PELORUS_CHARTS_FOLDER}",
271+
# directory=destination,
272+
# )
273+
# for file in exporters_charts_in_operator.parent.glob("*.tgz"):
274+
# file.unlink()
275275

276276
replace_in_file(
277277
file=PELORUS_OPERATOR_FOLDER / "Makefile",
@@ -282,7 +282,7 @@ def update_operator_folder(next_operator_version: str, destination: Path) -> Non
282282
operator_image = f"quay.io/{OPERATOR_ORGANIZATION_NAME}/{OPERATOR_NAME}"
283283
replace_in_file(
284284
file=PELORUS_OPERATOR_FOLDER / "Makefile",
285-
pattern=r"IMAGE_TAG_BASE \?= pelorus\.dora-metrics\.io/pelorus-operator",
285+
pattern=r"IMAGE_TAG_BASE \?= quay\.io/pelorus/pelorus-operator",
286286
new=f"IMAGE_TAG_BASE ?= {operator_image}",
287287
number_of_changes=1,
288288
)
@@ -292,15 +292,15 @@ def update_operator_folder(next_operator_version: str, destination: Path) -> Non
292292
directory=destination,
293293
)
294294

295-
for file in sorted(PATCHES_FOLDER.rglob("*")):
296-
if file.is_file():
297-
logging.info(f"Applying patch {file}")
298-
run_command(f"patch -d {destination} -p0 < {file}")
295+
# for file in sorted(PATCHES_FOLDER.rglob("*")):
296+
# if file.is_file():
297+
# logging.info(f"Applying patch {file}")
298+
# run_command(f"patch -d {destination} -p0 < {file}")
299299

300300
replace_in_file(
301301
file=PELORUS_OPERATOR_FOLDER
302302
/ f"config/manifests/bases/{OPERATOR_CSV_FILE_NAME}",
303-
pattern=" containerImage: placeholder",
303+
pattern=r" containerImage: quay\.io/pelorus/pelorus-operator:.*",
304304
new=f" containerImage: {operator_image}:{next_operator_version}",
305305
number_of_changes=1,
306306
)

0 commit comments

Comments
 (0)