Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Modeling Build Server Setup"

(add screenshots)
Line 1: Line 1:
{{stub}}
+
This install log is for a SuSE. For an Ubuntu server, see [[EMF Build Server Setup]]. For Fedora/Xen, see [[EMFT Build Server Setup]]. ''The old version of this document is [[Modeling_Build_Server_Setup_(Archived)|here]].''
  
This document is a draft. It will change as this system is stabilized. Please contact [[User:nickb|Nick Boldt]] with any questions or comments.
 
  
== Filesystem Configuration ==
+
= Modeling Build Server Setup =
  
The filesysstem is more restrictive on build.eclipse.org (shared build server) than on emft.eclipse.org (per-project vserver), so configuration is simplified.
+
You will need to be root for most of these tasks.
  
The shared directories where all the magic happens are under <code>/opt/public/modeling/</code>:
+
== Installing and Updating Software ==
  
./public_html/ (website)
+
OOTB, YaST2 (/sbin/yast2) does not include [http://en.opensuse.org/Package_Repositories any repos] for updating your server. This is lame. To fix this, [http://en.opensuse.org/Add_Package_Repositories_to_YaST add the following repos]:
./modeling/ (symlink to public_html to resolve absolute paths)
+
./searchcvs/ (Search CVS)
+
./modeling-releng-common (common releng scripts)
+
./tmp/ (lockfiles)
+
  
./build/downloads/ (central storage for upstream dependencies' zips)
+
http://install/sles10/sles10/CD1
./build/requests/ (list of dependencies, used by build pages & crons)
+
http://packman.unixheads.com/suse/10.3/
./build/modeling/scripts (symlink to modeling-releng-common/tools/scripts/)
+
./build/modeling/mdt/... (components' build folders)
+
  
Note that because eclipse.org webservers do not resolve symlinks (for security purposes) build files are actually created inside <code>public_html</code> and symlinked from the <code>./build/modeling/mdt/...</code> folders.
+
Then, you can [http://sman.informatik.htw-dresden.de/doc/manual.10.3/sec.yast.ncurses_commands.html use YaST2] to find and install software, or you can install [http://en.opensuse.org/Using_zypper Zypper] and do it all via the commandline.
 
+
== Starting Builds ==
+
 
+
A build can be started from its build page, eg., http://build.eclipse.org/modeling/mdt/ocl/build/. These pages are .htaccess protected.
+
 
+
[[Image:Modeling-Build-website.png|Run a build]]
+
 
+
== Executing Builds ==
+
 
+
Builds are queued to run by creating a lockfile in the filesystem. On a schedule, a cron script checks for the existence of lockfiles, and runs them. Once a build is completed, the lockfile is deleted. Using this system, only one build per project/component/version can be run at a time.
+
 
+
== Verifying Builds ==
+
 
+
Builds can be verified using the online tools, eg., http://build.eclipse.org/modeling/mdt/downloads/index.php?sortBy=date&project=eodm. This page includes links to config files, map files, build logs, test logs & test results.
+
 
+
 
+
[[Image:Modeling-Build-in-progress.png|Downloads page, build in progress]]
+
 
+
== Promoting Builds ==
+
 
+
Once a build has completed and has been verified, it needs to be promoted to download.eclipse.org for publication and mirroring. This can be done via the project's promote page, eg., http://build.eclipse.org/modeling/mdt/ocl/build/promo.php
+
 
+
[[Image:Modeling-Build-promote-a-build.png|Promote a build]]
+
 
+
 
+
[[Category:Releng]][[Category:Modeling]]
+

Revision as of 17:39, 22 December 2008

This install log is for a SuSE. For an Ubuntu server, see EMF Build Server Setup. For Fedora/Xen, see EMFT Build Server Setup. The old version of this document is here.


Modeling Build Server Setup

You will need to be root for most of these tasks.

Installing and Updating Software

OOTB, YaST2 (/sbin/yast2) does not include any repos for updating your server. This is lame. To fix this, add the following repos:

http://install/sles10/sles10/CD1 http://packman.unixheads.com/suse/10.3/

Then, you can use YaST2 to find and install software, or you can install Zypper and do it all via the commandline.

Back to the top