+def getTasks(config_env):
+ # Things that need to be done before any of the builds
+ initialTask = Task([
+ Job("cleanup", "distrib/all/build-setup", env=config_env),
+ Job("makedocs", "distrib/all/build-docs", env=config_env),
+ Job("maketarball", "distrib/all/build-sources", env=config_env),
+ ])
+
+ # Build tasks. Anything that can be done in parallel (depends greatly
+ # on the nature of the build machines configurations...) is a separate
+ # task.
+
+ jaguarTask = Task(
+ Job("whopper.23",
+ "distrib/all/build-osx", [config.OSX_HOST_jaguar, "jaguar", "2.3"], env=config_env) )
+
+ pantherTask = Task(
+ [ Job("bigmac.23",
+ "distrib/all/build-osx", [config.OSX_HOST_panther, "panther", "2.3"], env=config_env),
+ Job("bigmac.24",
+ "distrib/all/build-osx", [config.OSX_HOST_panther, "panther", "2.4"], env=config_env)
+ ])
+
+ beastTask1 = Task(
+ [ Job("beast.23", "distrib/all/build-windows", ["2.3"], env=config_env),
+ Job("co-rh9.23", ["distrib/all/build-rpm", CFGFILE, "beast", "co-rh9", "rh9", "2.3"]),
+ Job("beast.24", "distrib/all/build-windows", ["2.4"], env=config_env),
+ Job("co-rh9.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-rh9", "rh9", "2.4"]),
+ ])
+
+ beastTask2 = Task(
+ [ Job("co-fc2.23", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc2", "fc2", "2.3"]),
+ #Job("co-mdk101.23", ["distrib/all/build-rpm", CFGFILE, "beast", "co-mdk101","mdk101","2.3"]),
+ Job("co-fc4.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc4", "fc4", "2.4"]),
+ #Job("co-fc2.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc2", "fc2", "2.4"]),
+ Job("co-mdk102.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-mdk102","mdk102","2.4"]),
+ ])
+
+## cyclopsTask = Task(
+## [ Job("co-mdk92.23", "distrib/all/build-rpm", ["cyclops", "co-mdk92", "mdk92", "2.3"], env=config_env),
+## Job("co-rh9.23", "distrib/all/build-rpm", ["cyclops", "co-rh9", "rh9", "2.3"], env=config_env),
+## Job("co-mdk92.24", "distrib/all/build-rpm", ["cyclops", "co-mdk92", "mdk92", "2.4"], env=config_env),
+## Job("co-rh9.24", "distrib/all/build-rpm", ["cyclops", "co-rh9", "rh9", "2.4"], env=config_env),
+## ])
+
+ buildTasks = [ jaguarTask,
+ pantherTask,
+ beastTask1,
+ beastTask2,
+## cyclopsTask,
+ ]
+
+ # Finalization. This is for things that must wait until all the
+ # builds are done, such as copying the installers someplace, sending
+ # emails, etc.
+ finalizationTask = Task( Job("", "distrib/all/build-finalize", env=config_env) )