Page History

Turn Off History

This is for the new BATLab (submit-*.batlab.org). For the obsolete, pre-2012 BATLab (nmi-s00*.cs.wisc.edu), see NmiBuild.

Building a HTCondor 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-3.batlab.org.

From your usual machine,

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

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

  % cd workspace
  % 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 --desc="A Description"

If you're trying to build something older than 7.7, you'll need to do the following before the condor_nmi_submit. It's not necessary for 7.7 and later.

  % git --git-dir=/space/git/CONDOR_DOC.git archive origin/master | tar xf -

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: