#83 - Extend release train iterations.

Add further service release iterations to release trains.
This commit is contained in:
Mark Paluch
2018-09-10 10:34:30 +02:00
parent 1cb4edec88
commit 7cf7cc84f6
3 changed files with 16 additions and 14 deletions

View File

@@ -29,7 +29,9 @@ import org.springframework.util.Assert;
@Value @Value
public class Iteration { public class Iteration {
public static final Iteration SR16 = new Iteration("SR16", null); public static final Iteration SR18 = new Iteration("SR18", null);
public static final Iteration SR17 = new Iteration("SR17", SR18);
public static final Iteration SR16 = new Iteration("SR16", SR17);
public static final Iteration SR15 = new Iteration("SR15", SR16); public static final Iteration SR15 = new Iteration("SR15", SR16);
public static final Iteration SR14 = new Iteration("SR14", SR15); public static final Iteration SR14 = new Iteration("SR14", SR15);
public static final Iteration SR13 = new Iteration("SR13", SR14); public static final Iteration SR13 = new Iteration("SR13", SR14);

View File

@@ -52,10 +52,10 @@ public class ReleaseTrains {
Iteration M2 = new Iteration("M2", M3); Iteration M2 = new Iteration("M2", M3);
Iteration M1 = new Iteration("M1", M2); Iteration M1 = new Iteration("M1", M2);
Iterations kayIterations = new Iterations(M1, M2, M3, M4, RC1, RC2, RC3, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7, SR8, SR9); Iterations kayIterations = new Iterations(M1, M2, M3, M4, RC1, RC2, RC3, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7, SR8, SR9, SR10, SR11, SR12, SR13, SR14, SR15);
KAY = INGALLS.next("Kay", Transition.MAJOR, new Module(GEODE, "2.0")).withIterations(kayIterations); KAY = INGALLS.next("Kay", Transition.MAJOR, new Module(GEODE, "2.0")).withIterations(kayIterations);
Iterations lovelaceIterations = new Iterations(M1, M2, M3, RC1, RC2, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7); Iterations lovelaceIterations = new Iterations(M1, M2, M3, RC1, RC2, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7, SR8, SR9, SR10);
LOVELACE = KAY.next("Lovelace", Transition.MINOR, new Module(JDBC, "1.0"), new Module(SOLR, "4.0")) LOVELACE = KAY.next("Lovelace", Transition.MINOR, new Module(JDBC, "1.0"), new Module(SOLR, "4.0"))
.withIterations(lovelaceIterations); .withIterations(lovelaceIterations);

View File

@@ -186,7 +186,7 @@ public class Train implements Streamable<Module> {
public static class Iterations implements Iterable<Iteration> { public static class Iterations implements Iterable<Iteration> {
public static Iterations DEFAULT = new Iterations(M1, RC1, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7, SR8, SR9, SR10, public static Iterations DEFAULT = new Iterations(M1, RC1, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7, SR8, SR9, SR10,
SR11, SR12, SR13, SR14, SR15, SR16); SR11, SR12, SR13, SR14, SR15, SR16, SR17, SR18);
private final List<Iteration> iterations; private final List<Iteration> iterations;