Skip to content

Commit

Permalink
Run cross edition updates only for Ubuntu 22.04
Browse files Browse the repository at this point in the history
Change-Id: Ie90012d8eebc5fc40a6960c86226f4a03c474aae
  • Loading branch information
JonasScharpf committed Dec 27, 2024
1 parent 233ef51 commit 5905d6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildscripts/scripts/test-update.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def main() {
"""
|===== CONFIGURATION ===============================
|distros:.................. │${distros}
|all_distros:.............. │${all_distros}
|edition:.................. │${edition}
|cross_edition_target:..... │${cross_edition_target}
|branch_name:.............. │${branch_name}
Expand All @@ -64,6 +65,10 @@ def main() {

build_for_parallel[stepName] = { ->
def run_condition = distro in distros;
if (cross_edition_target && distro != "ubuntu-22.04") {
// see CMK-18366
run_condition = false;
}
println("Should ${distro} be tested? ${run_condition}");

/// this makes sure the whole parallel thread is marked as skipped
Expand Down

0 comments on commit 5905d6e

Please sign in to comment.