diff options
author | Rene Rivera <grafikrobot@gmail.com> | 2016-07-14 22:10:22 -0500 |
---|---|---|
committer | Rene Rivera <grafikrobot@gmail.com> | 2016-07-14 22:10:22 -0500 |
commit | e5f95a2ff408e2cb60f0d9eb9be6529a9c57885c (patch) | |
tree | 49bfd824bb50dacf731eed3691170766ebe848d0 /circle.yml | |
parent | 29062f7603f6db1fd94a5953d6c47c542258baf4 (diff) | |
download | boost-e5f95a2ff408e2cb60f0d9eb9be6529a9c57885c.tar.gz |
[circleci] Seems we need to create the wrapper script on all nodes as
the home dir is not shared for all nodes.
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/circle.yml b/circle.yml index 231d99af81..ee1fce8ad4 100644 --- a/circle.yml +++ b/circle.yml @@ -10,19 +10,19 @@ machine: EOL_N: NA NA LF CRLF pre: - | + df + ls -laF "${HOME}" wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ${HOME} wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_library_check.py" -P ${HOME} wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -P ${HOME} wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_status.py" -P ${HOME} - if [ ${CIRCLE_NODE_INDEX} -eq 0 ]; then - echo '#!/bin/sh' > ${HOME}/script.sh - echo 'export SCRIPT_N=(${SCRIPT_N})' >> "${HOME}/script.sh" - echo 'export SCRIPT=${SCRIPT_N[$CIRCLE_NODE_INDEX]}' >> "${HOME}/script.sh" - echo 'export EOL_N=(${EOL_N})' >> "${HOME}/script.sh" - echo 'export EOL=${EOL_N[$CIRCLE_NODE_INDEX]}' >> "${HOME}/script.sh" - echo 'python "${HOME}/${SCRIPT}" "$@"' >> "${HOME}/script.sh" - chmod +x "${HOME}/script.sh" - fi + echo '#!/bin/sh' > ${HOME}/script.sh + echo 'export SCRIPT_N=(${SCRIPT_N})' >> "${HOME}/script.sh" + echo 'export SCRIPT=${SCRIPT_N[$CIRCLE_NODE_INDEX]}' >> "${HOME}/script.sh" + echo 'export EOL_N=(${EOL_N})' >> "${HOME}/script.sh" + echo 'export EOL=${EOL_N[$CIRCLE_NODE_INDEX]}' >> "${HOME}/script.sh" + echo 'python "${HOME}/${SCRIPT}" "$@"' >> "${HOME}/script.sh" + chmod +x "${HOME}/script.sh" post: - exec "${HOME}/script.sh" machine_post checkout: |