Commit Graph
33 Commits
Author SHA1 Message Date
John Chilton b1f12d41f6 Simplify run_test_wrapper.sh per @natefoo comments.
https://github.com/galaxyproject/galaxy/pull/3755/files#r106182107
2017-03-20 09:12:33 -04:00
John Chilton d6654838f3 Fix pip install cache inside Galaxy testing container.
It is causing Jenkins to fail throughout on https://github.com/galaxyproject/galaxy/pull/3179.
2017-03-14 16:28:38 -04:00
John Chilton d1eab2685f Provide a fallback for GALAXY_TEST_UID if manually running Docker tests. 2017-03-14 16:28:36 -04:00
John Chilton 5c48402b02 Various fixes for test image Docker user switching.
- Fix if testing as user with GID 109 (fixes #3425).
- Fix if testing as a user with any UID or GID that already exists in the container.
- More logging to indicate the "problems" being printed to standard output in these cases are not problems.
- Fix sqlite being readonly in the container for the test user.
2017-01-17 16:56:51 -05:00
John Chilton 09f0272ede Document how to create Docker testing images.
With fix noted by @martenson.
2017-01-10 15:54:35 -05:00
Björn Grüning 64faeece93 Merge pull request #3286 from jmchilton/slim_test_dockerfile
Slim down testing ``Dockerfile``.
2017-01-08 17:50:05 +01:00
John Chilton b75ee68d9f Run Galaxy tests in --dockerize mode as UID of tester.
Fixes #1541 and should really help Jenkins clean up after itself.
2017-01-05 14:53:10 -05:00
John Chilton a78ae1bb71 Fix tool shed pre-population against current dev.
I don't know how this ever worked to be honest - but these changes make a lot of sense. I think there was another bug somewhere that prevented this bug from exhibiting itself.
2017-01-05 14:52:06 -05:00
John Chilton 433b993eca Slim down testing `Dockerfile`.
- Remove broken CasperJS from testing Dockerfile.
- Remove multi-process mode.

Multi-process mode was difficult to maintain and the last time I did testing at scale I found docker-galaxy-stable to be much more useful and easy to use. The test framework now supports GALAXY_TEST_EXTERNAL again so it should be easy enough to rig something up with docker-compose that actually uses a best practice container for scaling tests such as those in ``test/manual``.
2016-12-19 10:58:36 -05:00
John Chilton 6135d7ea56 Update to phantomjs 2.1 and official sources. 2016-02-29 14:36:40 +00:00
John Chilton 78b1f9af37 Dockerfile testing improvements.
- Use wheel from inside container.
- Update to the latest pre-release phantom and casper dependencies (they seem more stable).
2016-02-29 13:19:41 +00:00
Dave B 5f175e3503 Update run_test_wrapper.sh 2016-01-22 10:45:33 -05:00
Martin Cech f8d95abf06 Merge pull request #1263 from nsoranzo/dev_tool_shed_fixes
Extend the logging of tool dependency status changes.
2015-12-10 20:49:17 -05:00
Martin Cech c3e4ae11b0 set client_encoding for TS dockerized test db 2015-12-09 11:37:31 -05:00
Nicola Soranzo a22c09b11f Fix typos. 2015-12-08 16:56:27 +00:00
Martin Cech 2dcb92aa0e Merge pull request #942 from davebx/docker
Enable dockerized toolshed tests.
2015-11-13 11:26:24 -05:00
Nate Coraor 4a05d5ea12 Merge branch 'dev' of https://github.com/galaxyproject/galaxy into smash_eggs 2015-10-20 18:59:06 -04:00
Dave B 1766b896e3 Merge -dev. 2015-10-20 13:02:09 -04:00
carlfeberhard c4edd0b32e Merge pull request #952 from martenson/postgres-docker-client-encoding
fix the docker db client_encoding to not be ascii (default)
2015-10-20 12:21:37 -04:00
Martin Cech 9890e70af6 fix the docker db client_encoding to not be ascii (default) 2015-10-20 11:20:17 -04:00
Nate Coraor f2878d22dd Docker testing-base: fail if common_startup.sh fails 2015-10-20 09:42:42 -04:00
Nate Coraor 653dfaf6be testing-base docker image changes:
1. Always run common_startup.sh
2. Install packages in dev-requirements.txt if they exist.
2015-10-19 16:07:43 -04:00
Dave B 096adbf8d0 Collect apt installs in one place. 2015-10-19 14:03:22 -04:00
Dave B ffda4aa2cd Allow dockerized toolshed tests. 2015-10-19 13:13:34 -04:00
Nate Coraor c893afda00 Merge branch 'dev' into smash_eggs 2015-10-19 11:46:58 -04:00
Nate Coraor da9ebc17bb Run ./scripts/common_startup.sh inside docker when using `run_tests.sh
--dockerize`. Requires a rebuild of galaxy/base-testing.

Necessary for tests to run on #428 (and anything else once #428 is
merged).
2015-10-16 13:36:17 -04:00
Nate Coraor 367ceae256 Dockerized tests need to create and activate .venv if it does not exist.
Do this by calling common_startup.sh prior to manage_db.sh in
run_test_wrapper.sh. Will require a rebuild of the testing-base image.

Also, have scripts in Galaxy root activate .venv if it exists.
2015-10-16 11:35:52 -04:00
Nate Coraor 433b79de2b Merge branch 'dev' of https://github.com/galaxyproject/galaxy into smash_eggs 2015-10-13 16:54:18 -04:00
Dave B 47b34e844f Verbosity is superfluous. 2015-10-07 14:09:13 -04:00
Nate Coraor f334764627 Egg cleaning in test/ 2015-09-22 10:32:16 -04:00
John Chilton 134c985f90 Updates and fixes for dockerized Galaxy testing. 2015-09-19 16:52:48 +01:00
John Chilton a357e2b613 Workflow scaling test infrastructure.
- Add script to hit the API with workflows requests.
 - Update testing Dockerfile to allow just booting up with a fixed master API key for this test to leverage.
 - WIP: on updating test Dockerfile to work with slurm, multiple handlers, uwsgi, etc...
2015-03-25 14:54:48 -04:00
John Chilton e99adb5b0f Add --dockerize and --db [postgres|mysql|sqlite] options to run_tests.sh.
Runs tests in a Dockerfile with pre-migrated databases and all testing dependencies (postgres, mysql, npm, casper, phantomjs, etc...). Hopefully this makes it easier to run more interesting tests - down the road I would like to add more options for things like condor, slurm, run as real user, etc....
2015-02-21 13:29:58 -05:00