Docker based strategy for building, deploying, and testing lexevs, lexevs-remote, and lexevs-service (CTS2).
Docker must be installed to run the LexEVS System Tests.
- Clone this repository.
- CD to lexevs-system-test
- In a Docker enabled command line, run the test shell script.
Run the system tests, using all default git branches and repositories.
.\test.sh
Git branches and repositories can be passed in when running the test script.
Note: Either specify all git branches and repositories or none (leave blank).
The following is the specific order of the parameters that need to passed in:
LEXEVS_BRANCH
- LexEVS git branch. Default: devLEXEVS_REPO
- LexEVS git repository. Default: https://github.com/lexevs/lexevs.gitLEXEVS_REMOTE_BRANCH
- LexEVS Remote API branch. Default: devLEXEVS_REMOTE_REPO
- LexEVS Remote API repository. Default: https://github.com/lexevs/lexevs-remote.gitURI_RESOLVER_TAG
- URI Resolver tag. Default: tags/v1.0.0.FINALURI_RESOLVER_REPO
URI Resolver repository. Default: https://github.com/cts2/URI_Resolver.gitLEXEVS_SERVICE_BRANCH
- LexEVS Service (CTS2) branch. Default: devLEXEVS_SERVICE_REPO
- LexEVS Service (CTS2) repository. Default: https://github.com/cts2/lexevs-service.gitNCI_DOCKER_USER
- NCI Nexus Docker hub IDNCI_DOCKER_PW
- NCI Nexus Docker hub PWTEST_OPTIONS
- Options to skip CTS2 tests and/or LexEVS Remote API tests. This can be entered as -skipCts2 to skip CTS2 tests, -skipRemote to skip Remote API tests, or -skipCts2-skipRemote to skip bother
Example call: Run the system tests, specifying the git branches and repositories:
.\test.sh dev https://github.com/lexevs/lexevs.git dev https://github.com/lexevs/lexevs-remote.git tags/v1.0.0.FINAL https://github.com/cts2/URI_Resolver.git dev https://github.com/cts2/lexevs-service.git nci_docker_user nci_docker_pw -skipCts2-skipRemote