-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
raybellwaves
committed
Jul 4, 2018
1 parent
870d0f3
commit 7e673a4
Showing
1 changed file
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
#!/usr/bin/env bash | ||
|
||
set -x | ||
|
||
function jobqueue_before_install { | ||
docker version | ||
docker-compose version | ||
|
||
# start slurm cluster | ||
cd ./ci/lsf | ||
./start-lsf.sh | ||
cd - | ||
|
||
docker ps -a | ||
docker images | ||
} | ||
|
||
function jobqueue_install { | ||
docker exec -it lsf_master /bin/bash -c "cd /dask-jobqueue; python setup.py install" | ||
} | ||
|
||
function jobqueue_script { | ||
docker exec -it -u lsfuser lsf_master /bin/bash -c "cd /dask-jobqueue; py.test dask_jobqueue --verbose -E lsf" | ||
} | ||
|
||
function jobqueue_after_script { | ||
docker exec -it lsf_master bash -c 'cat /tmp/lsf*' | ||
docker exec -it slave_one bash -c 'cat /tmp/exec*' | ||
docker exec -it slave_two bash -c 'cat /tmp/exec*' | ||
} |