Open nelse003 opened 6 years ago
How:
[x] Setup a test
What does this need to be written in?
[x] Setup a Docker image
Needs CCP4 & Phenix
Copy setup from https://github.com/reskyner/ccp4_docker
Use nelse003/ccp4_phenix_docker (forked from: https://github.com/reskyner/ccp4_docker)
Dockerfile: This contains the instructions for setting up the base install, i.e
Use Ubuntu
Get ccp4
ccp4.setup-sh script to be stored in repo to allow setup of program before testing
pandda update script is stored in repo to allow setup of program before testing
Needed:
Dockerfile : Like that in XCE repo- to be in exhaustive_search repo
./run_tests
Bash script that just shows that docker is ok... Assuming placholder for further tests?
compile_test.py
Changes enbvironment variables and and imports all xce components. this is considered a "Build/ compile test"?
Travis CI needs:
Read: https://docs.travis-ci.com/user/getting-started/
.travis.yml (XCE version)
Used to provide information to travis CI
sudo: required
services: docker
Lines needed for docker to run (See for more info: https://docs.travis-ci.com/user/docker/)
- install: docker build -t reskyner/xce
Builds the version of docker
Not sure where this is pointing to, but should be getting the docker build? Thought his would be at rskyner/ccp4_docker
script: docker run reskyner/xce /bin/bash -c "/ccp4/bin/ccp4-python /XChemExplorer/compile_test.py"
This runs the compile_test.py script using docker image
Need to:
[ ] Get phenix in docker image
[ ] Reduce docker images size if possible, reducing cache build time
Apply more tests:
[ ] Validation: Does it run? Output check with 2 steps?
[ ] Exhaustive search: Does it run?
Aim: Run validation code* at least at every code change/ daily.
Validation code: Minimal:
Enhancements:
Consider closed if minimal condition met, then move enhancements to new issues.
Questions: