summaryrefslogtreecommitdiff
path: root/tools/build_test_env.sh
Commit message (Collapse)AuthorAgeFilesLines
* feat(ci): improve functionnal testsCyril Jouve2019-10-061-12/+47
|
* test: minor test fixesMax Wittig2019-07-211-3/+4
|
* chore(ci): add automatic GitLab image pusheschore/enable-gitlab-ci-buildsMax Wittig2019-06-101-1/+1
|
* Use the pythongitlab/test-python-gitlab docker image for testsupdate/docker-imageGauvain Pocentek2018-11-031-1/+1
| | | | | | This images is updated to the latest GitLab CE. Fix the diff() test to match the change in the API output.
* tests: default to python 3Gauvain Pocentek2018-06-061-4/+3
| | | | Fix the bytes/str issues
* Drop API v3 supportGauvain Pocentek2018-05-191-2/+2
| | | | Drop the code, the tests, and update the documentation.
* longer docker image startup timeout for testsGauvain Pocentek2018-05-191-1/+1
|
* tests: increase waiting time and hope for the bestGauvain Pocentek2018-03-051-1/+1
|
* Update testing tools for /session removalGauvain Pocentek2017-12-171-29/+16
|
* tests: faster docker shutdownGauvain Pocentek2017-09-021-8/+2
| | | | | Kill the test container violently, no need to wait for a proper shutdown.
* tests: default to v4 APIGauvain Pocentek2017-09-021-1/+1
|
* [tests] Use -n to not use a venvGauvain Pocentek2017-08-201-8/+12
|
* functional tests for v4Gauvain Pocentek2017-08-041-1/+1
| | | | | Update the python tests for v4, and fix the problems raised when running those tests.
* Prepare for v4 API testingGauvain Pocentek2017-05-271-1/+9
|
* Workaround gitlab setup failure in testsGauvain Pocentek2016-09-301-11/+16
| | | | | While running the functional tests in a venv, the token download somtimes fail. Try to get it multiple times before failing.
* don't suppress docker's standard errorRichard Hansen2016-01-311-4/+4
| | | | | While docker is quite noisy, suppressing stderr makes it difficult to troubleshoot problems.
* wait for the docker container to stop before removing itRichard Hansen2016-01-311-1/+5
|
* use 'docker stop' instead of 'docker kill'Richard Hansen2016-01-311-2/+2
| | | | | | | The 'stop' command first tries SIGTERM before resorting to SIGKILL, which is a gentler way to stop processes. (SIGTERM gives processes an opportunity to clean up before exiting; SIGKILL can't be caught so it is very abrupt.)
* add more log messagesRichard Hansen2016-01-311-1/+15
|
* define a testcase() function; use it for testsRichard Hansen2016-01-311-0/+7
|
* use ${CONFIG} instead of repeating the filenameRichard Hansen2016-01-311-2/+2
|
* fix usage error messageRichard Hansen2016-01-311-1/+3
|
* improve error handlingRichard Hansen2016-01-311-11/+16
| | | | | | Break up pipelines and check the exit status of non-basic commands to ensure that any problems cause the scripts/testcases to fail right away.
* convert scripts to POSIX shell by eliminating bashismsRichard Hansen2016-01-311-3/+3
|
* quote underquoted variable expansionsRichard Hansen2016-01-311-6/+6
| | | | | | This protects against word splitting if the variable contains IFS characters, and it ensures that an empty variable doesn't become an elided argument.
* convert $GITLAB to a functionRichard Hansen2016-01-311-1/+1
| | | | This makes it possible to quote the $CONFIG variable expansion.
* convert $OK to a functionRichard Hansen2016-01-311-1/+1
| | | | This makes it possible to quote the variable expansions.
* only run deactivate if it existsRichard Hansen2016-01-311-1/+1
| | | | | The deactivate command only exists if activate is run, but cleanup() might be called before activate is run if there is an error.
* ensure that cleanup() runs if terminated by the userRichard Hansen2016-01-311-0/+1
|
* check if docker container is up when waiting for gitlabRichard Hansen2016-01-311-1/+3
| | | | | There's no point in waiting for GitLab to come up if the docker container died.
* error out if required utilities aren't installedRichard Hansen2016-01-311-0/+9
|
* use the log functions for errors and status messagesRichard Hansen2016-01-311-6/+5
| | | | | This causes the error messages to go to standard error, and it makes it easy to prefix all log messages if desired.
* add logging and error handling helper functionsRichard Hansen2016-01-311-0/+11
|
* compact some case statementsRichard Hansen2016-01-311-8/+3
|
* move common code to build_test_env.shRichard Hansen2016-01-311-0/+21
| | | | | Note that build_test_env.sh now creates and prepares the Python virtualenv (it didn't before).
* wrap long linesRichard Hansen2016-01-311-3/+6
| | | | Use line continuations to keep lines shorter than 80 columns.
* increase the timeout value for testsGauvain Pocentek2016-01-231-1/+1
|
* use a custom docker image for testsGauvain Pocentek2016-01-231-1/+1
|
* Add a script to build a test envGauvain Pocentek2016-01-101-0/+73
functional_tests.sh has been split in 2 scripts to make easier the run of gitlab container.