Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re #11063 Where these conflicts on master have came from?
Merge branch 'master' into 11063_ParValidation Conflicts: Code/Mantid/scripts/Inelastic/Direct/DirectEnergyConversion.py Code/Mantid/scripts/Inelastic/Direct/PropertiesDescriptors.py Code/Mantid/scripts/Inelastic/Direct/PropertyManager.py Code/Mantid/scripts/Inelastic/Direct/ReductionWrapper.py Code/Mantid/scripts/Inelastic/Direct/RunDescriptor.py
- Loading branch information
Showing
497 changed files
with
20,381 additions
and
13,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
#!/bin/sh | ||
##################################################################### | ||
# Starts the Jenkins slave process if it is not already running. | ||
# It also downloads the slave.jar to /tmp if it does not already | ||
# exist. | ||
# | ||
# The settings at the top must be filled in for each slave. | ||
##################################################################### | ||
# Crontab setting should be something like | ||
# 0,30 * * * * /home/builder/jenkins-linode/jenkins-slave.sh nodename secret | ||
# or (on mac) | ||
# 0,30 * * * * /Users/builder/jenkins-linode/jenkins-slave.sh nodename secret | ||
##################################################################### | ||
# User configuration | ||
##################################################################### | ||
# Main url for Jenkins | ||
JENKINS_URL=http://builds.mantidproject.org | ||
# URL for proxy (if required) | ||
PROXY_HOST=${3} | ||
# Port for proxy (if required) | ||
PROXY_PORT=${4} | ||
# Name of the node as it appears on jenkins | ||
NODE_NAME=${1} | ||
# Copy the secret from the command line given at the above URL | ||
SECRET=${2} | ||
|
||
##################################################################### | ||
# Constants | ||
##################################################################### | ||
# URL of jnlp file for slave | ||
SLAVE_AGENT_URL="${JENKINS_URL}/computer/${NODE_NAME}/slave-agent.jnlp" | ||
# name of the slave jar - full path is determined later | ||
JAR_FILE=slave.jar | ||
|
||
##################################################################### | ||
# Script | ||
##################################################################### | ||
# exit if it is already running | ||
RUNNING=$(ps aux | grep java | grep ${JAR_FILE}) | ||
if [ ! -z "${RUNNING}" ]; then | ||
echo "Slave process is already running" | ||
exit 0 | ||
else | ||
echo "Slave process is not running" | ||
fi | ||
|
||
# error out if there isn't a node name and secret | ||
if [ "$#" -lt 2 ]; then | ||
echo "Usage: `basename ${0}` <NODE_NAME> <SECRET> [PROXY_HOST] [PROXY_PORT]" | ||
exit -1 | ||
fi | ||
|
||
# setup the proxy | ||
if [ ! -z "${PROXY_HOST}" ]; then | ||
PROXY_ARGS="-Dhttp.proxyHost=${PROXY_HOST} -Dhttp.proxyPort=${PROXY_PORT}" | ||
echo "using proxy ${PROXY_HOST} ${PROXY_PORT}" | ||
# For curl | ||
export http_proxy=http://$PROXY_HOST:$PROXY_PORT | ||
fi | ||
|
||
# find the jar file if it exists | ||
if [ -f ${HOME}/jenkins-linode/${JAR_FILE} ]; then | ||
JAR_FILE=${HOME}/jenkins-linode/${JAR_FILE} | ||
elif [ -f ${HOME}/Jenkins/${JAR_FILE} ]; then | ||
JAR_FILE=${HOME}/Jenkins/${JAR_FILE} | ||
else | ||
JAR_FILE=/tmp/${JAR_FILE} | ||
if [ ! -f ${JAR_FILE} ]; then | ||
echo "Downloading slave jar file to ${JAR_FILE}" | ||
if [ $(command -v curl) ]; then | ||
echo "curl -o ${JAR_FILE} ${JENKINS_URL}/jnlpJars/slave.jar" | ||
curl -o ${JAR_FILE} ${JENKINS_URL}/jnlpJars/slave.jar | ||
else | ||
echo "Need curl to download ${JENKINS_URL}/jnlpJars/slave.jar" | ||
exit -1 | ||
fi | ||
fi | ||
fi | ||
|
||
echo "starting ..." | ||
JAVA=`which java` | ||
JAVA_ARGS="${PROXY_ARGS} -jar ${JAR_FILE} -jnlpUrl ${SLAVE_AGENT_URL} -secret ${SECRET}" | ||
echo "${JAVA} ${JAVA_ARGS}" | ||
${JAVA} ${JAVA_ARGS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Code/Mantid/Build/dev-packages/deb/mantid-developer/mantid-developer-1.2.4/DEBIAN/control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Package: mantid-developer | ||
Version: 1.2.4 | ||
Section: main | ||
Priority: optional | ||
Architecture: all | ||
Depends: git, clang, cmake-qt-gui(>=2.8.12), qt4-qmake, qt4-dev-tools, libqt4-dbg, libpoco-dev(>=1.4.2), libboost-all-dev, libboost-dbg, libnexus0-dev, libgoogle-perftools-dev, libqwt5-qt4-dev, libqwtplot3d-qt4-dev, python-qt4-dev, libgsl0-dev, liboce-visualization-dev, libmuparser-dev, python-numpy, libssl-dev, libqscintilla2-dev, texlive,texlive-latex-extra, dvipng, libhdf4-dev, doxygen, python-sphinx, python-scipy, ipython-qtconsole (>=1.2.0), libhdf5-dev, libhdf4-dev, libpococrypto11-dbg, libpocodata11-dbg, libpocofoundation11-dbg, libpocomysql11-dbg, libpoconet11-dbg, libpoconetssl11-dbg, libpocoodbc11-dbg, libpocosqlite11-dbg, libpocoutil11-dbg, libpocoxml11-dbg, libpocozip11-dbg, python-qt4-dbg, qt4-default, ninja-build, libjsoncpp-dev, python-dateutil, python-sphinx-bootstrap-theme, graphviz | ||
Installed-Size: 0 | ||
Maintainer: Mantid Project <mantid-help@mantidproject.org> | ||
Description: Installs all packages required for a Mantid developer | ||
A metapackage which requires all the dependencies and tools that are | ||
required for Mantid development. It works for Ubuntu version 14.04, 14.10 | ||
Some packages (poco) must be newer than those in the Ubuntu repository. Please | ||
follow instructions at http://www.mantidproject.org/Mantid_Prerequisites#Repositories |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.