Page History

Turn Off History

See NmiBuild for the old BATLab (nmi-s00#). It also has information not yet verified as working in the new BATLab and copied here.

Building a Condor workspace in NMI

Here is a common scenario: You would like to do a build on some platform or set of platforms in order to ensure that you haven't broken the build process. What are your options? You could check in the code and wait for the nightly builds, but you may well break the build and receive fifty lashes with a wet noodle. A better solution is to not check in your code, but use NMI to build it on any platform that you like.

Before you start, make sure that you have an account on submit-2.batlab.org.

From your usual machine,

  % ssh submit-2.batlab.org mkdir workspace
  % cd path-to-git-dir
  % tar cf - * | ssh submit-2.batlab.org cd workspace '&&' tar xf -

Then, log into submit-2.batlab.org, and run the following commands

  % cd workspace
  # Note: this next git line is no longer necessary on the current (7.7.x) master
  % git --git-dir=/space/git/CONDOR_DOC.git archive origin/master | tar xf -
  % cd nmi_tools
  % ./condor_nmi_submit --build --git --workspace=../ --platforms=x86_64_macos_10.7,x86_64_rhap_5.7,x86_64_rhap_6.2,x86_winnt_5.1 --notify-fail-only --use-externals-cache --desc="A Description"

Note that you probably only need the git archive operation the first time you do this.

Some important options:

The script has a couple of other options. run condor_nmi_submit without options for a summary.

Checking your build's status

Attachments: