Skip to content

Commit d123717

Browse files
committed
orchestratord test: Make sure all images exist locally
1 parent cfb6290 commit d123717

File tree

3 files changed

+342
-55
lines changed

3 files changed

+342
-55
lines changed

ci/nightly/pipeline.template.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,14 +2296,14 @@ steps:
22962296
agents:
22972297
queue: hetzner-aarch64-16cpu-32gb
22982298

2299-
- id: orchestratord-all
2300-
label: "Orchestratord test (every property)"
2299+
- id: orchestratord-individual
2300+
label: "Orchestratord test (individual properties)"
23012301
depends_on: build-aarch64
23022302
timeout_in_minutes: 180
23032303
plugins:
23042304
- ./ci/plugins/mzcompose:
23052305
composition: orchestratord
2306-
args: [--scenario=all, --recreate-cluster]
2306+
args: [--scenario=individual, --recreate-cluster]
23072307
ci-builder: stable
23082308
agents:
23092309
queue: hetzner-aarch64-16cpu-32gb
@@ -2319,3 +2319,15 @@ steps:
23192319
ci-builder: stable
23202320
agents:
23212321
queue: hetzner-aarch64-16cpu-32gb
2322+
2323+
- id: orchestratord-upgrade
2324+
label: "Orchestratord test (upgrade)"
2325+
depends_on: build-aarch64
2326+
timeout_in_minutes: 180
2327+
plugins:
2328+
- ./ci/plugins/mzcompose:
2329+
composition: orchestratord
2330+
args: [--scenario=upgrade, --runtime=7200, --recreate-cluster]
2331+
ci-builder: stable
2332+
agents:
2333+
queue: hetzner-aarch64-16cpu-32gb

misc/python/materialize/version_list.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,26 @@ def get_self_managed_versions() -> list[MzVersion]:
4949
return sorted(result)
5050

5151

52+
BAD_SELF_MANAGED_VERSIONS = {
53+
MzVersion.parse_mz("v0.130.0"),
54+
MzVersion.parse_mz("v0.130.1"),
55+
MzVersion.parse_mz("v0.130.2"),
56+
MzVersion.parse_mz("v0.130.3"),
57+
MzVersion.parse_mz("v0.130.4"),
58+
}
59+
60+
61+
def get_all_self_managed_versions() -> list[MzVersion]:
62+
result = set()
63+
for entry in yaml.safe_load(
64+
requests.get("https://materializeinc.github.io/materialize/index.yaml").text
65+
)["entries"]["materialize-operator"]:
66+
version = MzVersion.parse_mz(entry["appVersion"])
67+
if not version.prerelease and version not in BAD_SELF_MANAGED_VERSIONS:
68+
result.add(version)
69+
return sorted(result)
70+
71+
5272
# not released on Docker
5373
INVALID_VERSIONS = {
5474
MzVersion.parse_mz("v0.52.1"),

0 commit comments

Comments
 (0)