Skip to content

Commit

Permalink
Revert "Merge pull request #30994 from def-/pr-legacy-upgrade-unblock"
Browse files Browse the repository at this point in the history
This reverts commit 9b0c0bb, reversing
changes made to 769f822.
  • Loading branch information
ParkMyCar committed Jan 10, 2025
1 parent b1db073 commit 0e23e30
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 36 deletions.
35 changes: 10 additions & 25 deletions ci/nightly/pipeline.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1564,31 +1564,16 @@ steps:
- ./ci/plugins/mzcompose:
composition: balancerd

- group: Legacy upgrade tests
key: legacy-upgrade
steps:
- id: legacy-upgrade-git
label: Legacy upgrade tests (last version from git)
depends_on: build-aarch64
timeout_in_minutes: 60
plugins:
- ./ci/plugins/mzcompose:
composition: legacy-upgrade
args: ["--versions-source=git"]
agents:
queue: hetzner-aarch64-4cpu-8gb

- id: legacy-upgrade-docs
label: "Legacy upgrade tests (last version from docs)"
parallelism: 2
depends_on: build-aarch64
timeout_in_minutes: 60
plugins:
- ./ci/plugins/mzcompose:
composition: legacy-upgrade
args: ["--versions-source=docs"]
agents:
queue: hetzner-aarch64-4cpu-8gb
- id: legacy-upgrade
label: Legacy upgrade tests (last version from git)
depends_on: build-aarch64
timeout_in_minutes: 60
plugins:
- ./ci/plugins/mzcompose:
composition: legacy-upgrade
args: ["--versions-source=git"]
agents:
queue: hetzner-aarch64-4cpu-8gb

- group: Cloud tests
key: cloudtests
Expand Down
6 changes: 3 additions & 3 deletions ci/test/pipeline.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,15 @@ steps:
agents:
queue: hetzner-aarch64-4cpu-8gb

- id: legacy-upgrade-docs-ignore-missing
label: "Legacy upgrade tests (last version from docs, ignore missing)"
- id: legacy-upgrade
label: "Legacy upgrade tests (last version from docs)"
parallelism: 2
depends_on: build-aarch64
timeout_in_minutes: 60
plugins:
- ./ci/plugins/mzcompose:
composition: legacy-upgrade
args: ["--versions-source=docs", "--ignore-missing-version"]
args: ["--versions-source=docs"]
agents:
queue: hetzner-aarch64-4cpu-8gb

Expand Down
8 changes: 0 additions & 8 deletions test/legacy-upgrade/mzcompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import random

from materialize import buildkite
from materialize.docker import image_of_release_version_exists
from materialize.mz_version import MzVersion
from materialize.mzcompose import get_default_system_parameters
from materialize.mzcompose.composition import Composition, WorkflowArgumentParser
Expand Down Expand Up @@ -79,7 +78,6 @@ def workflow_default(c: Composition, parser: WorkflowArgumentParser) -> None:
choices=["docs", "git"],
help="from what source to fetch the versions",
)
parser.add_argument("--ignore-missing-version", action="store_true")
args = parser.parse_args()

parallelism_index = buildkite.get_parallelism_index()
Expand All @@ -100,12 +98,6 @@ def workflow_default(c: Composition, parser: WorkflowArgumentParser) -> None:
)

for version in tested_versions:
# Building the latest release might have failed, don't block PRs on
# test pipeline for this.
if args.ignore_missing_version and not image_of_release_version_exists(version):
print(f"Unknown version {version}, skipping")
continue

priors = [
v for v in all_versions if v <= version and v >= min_upgradable_version
]
Expand Down

0 comments on commit 0e23e30

Please sign in to comment.