Skip to content

Commit

Permalink
Force unmount /projects by cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayP13 committed Nov 3, 2018
1 parent df86353 commit 81fee71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,9 @@ Deploy Linux Wheels:
stage: Deploy Linux Wheels
script:
- export SHARED_PATH=/builds/shared/$CI_PROJECT_PATH
- mkdir -p ${SHARED_PATH}
- touch ${SHARED_PATH}/setup.py
- echo $SHARED_PATH
- cp -a $CI_PROJECT_DIR/. /$SHARED_PATH/
- ls $SHARED_PATH
- export CIBW_PLATFORM=linux
- export CIBW_BUILD_VERBOSITY=3
- export CIBW_BEFORE_BUILD="echo 'PRINT ROOT';ls /||true;echo 'PRINT HOST';ls /host;echo 'PRINT PROJECT';ls /project;echo 'PRINT BUILDS';ls /host/builds;echo 'PRINT BUILDS PLASTICITY';ls /host/builds/Plasticity;echo 'PRINT BUILDS PLASTICITY MAG';ls /host/builds/Plasticity/magnitude; rm -rf /project; ln -s /host/$CI_PROJECT_DIR /project; echo 'PRINT PROJECT';ls /project;"
- export CIBW_BEFORE_BUILD="echo 'PRINT PROJECT';ls /project;echo 'PRINT BUILDS';ls /host/builds;echo 'PRINT BUILDS PLASTICITY';ls /host/builds/Plasticity;echo 'PRINT BUILDS PLASTICITY MAG';ls /host/builds/Plasticity/magnitude; echo "DYNAMIC"; ls /host/$CI_PROJECT_DIR; rm -rf /project || true; umount -l /project || true; ln -s /host/$CI_PROJECT_DIR /project; echo 'PRINT PROJECT';ls /project;"
- echo $CIBW_BEFORE_BUILD
- pip2 install pip setuptools -U
- pip2 install git+https://github.com/plasticity-admin/cibuildwheel.git@macos-ssl
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ('0', '1', '86')
__version_info__ = ('0', '1', '87')
__version__ = '.'.join(__version_info__)

0 comments on commit 81fee71

Please sign in to comment.