Scientific Linux containers for unit testing and linting the GlideinWMS project
7.6K
Scientific Linux containers for unit testing and linting the GlideinWMS project
Example Use Cases: $ docker run dbox/gwms-test help Linux 1e4aa62ba891 4.9.93-linuxkit-aufs #1 SMP Wed Jun 6 16:55:56 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Scientific Linux release 7.5 (Nitrogen) glideinWMS test container some commands:
help: this message
new_gwms_branches N: show branches that have been changed in the last N days
gwms_quick_tests <branch>: execute the fast-running unit tests on <branch>
run_gwms_coverage : run a full coverage test on run_gwms_pylint : run pylint and pycodestyle on
#!/bin/bash
VER=6 BRANCH=master
BRANCH_DIR=$(echo $BRANCH | sed -e 's///_/g')
CONTAINER=$(docker run -dit dbox/gwms-test:sl${VER} /bin/bash) docker exec -it $CONTAINER run_gwms_unit_tests $BRANCH docker exec -it $CONTAINER run_gwms_pylint $BRANCH docker cp $CONTAINER:/gwms_test/$BRANCH_DIR $BRANCH_DIR.sl${VER} docker stop $CONTAINER
Content type
Image
Digest
Size
225 MB
Last updated
about 7 years ago
docker pull dbox/gwms-test