Commit Graph
14 Commits
Author SHA1 Message Date
mvdbeek 2552ab47f1 Use f-strings in forward-merged code 2021-05-11 18:09:53 +02:00
mvdbeek 41aca51d2b Merge branch 'release_20.09' into release_21.01 2021-05-11 18:01:46 +02:00
Marius van den BeekandNicola Soranzo 8acf0d16a8 Use different string formatting option
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2021-05-11 14:57:21 +02:00
Marius van den BeekandNicola Soranzo d69a79f29e Use generator expression instead of list comprehension
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2021-05-11 14:56:50 +02:00
mvdbeek 75f5877951 Log exceptions IT port monitor fails and stop job
That should make it significantly easier to debug issues when the
container monitor dies unexpectedly (which I sort of expect in the
future given that we parse output from the docker CLI).
2021-05-10 17:43:46 +02:00
mvdbeek 5fa02d8f7a Add testcase and move stop operation into API 2020-12-12 11:26:09 +01:00
Nicola Soranzo 9d74bba7fb Drop support for retired Python 3.5
Upgrade syntax using `pyupgrade --py36-plus` .

Manually drop several `six` imports.

Also:
- Remove broken pr_cache in scripts/bootstrap_history.py
- Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
2020-10-07 11:52:13 +01:00
John Chilton 52bd3ad966 Return to skipping Kubernetes staging tests on Github actions...
... still working out some kind of issue with these.
2020-04-23 12:12:51 -04:00
John Chilton a0d108b844 Outline a test of kubernetes staging + interactive tool. 2020-04-23 12:12:50 -04:00
John Chilton 52c00cacbb Integration test for GxITs against remote proxies.
Instructions for setting up external goodies documented in docstring.

Small tweaks included:
 - Allow serving proxies on ports different than Galaxy (so it can target external proxies without nginx/uwsgi).
 - Fix up config options a bit.
2020-03-24 10:29:58 -04:00
John Chilton 04b21a06ff Allow remote container port monitoring for ITs.
Tested with Pulsar but not sure there is anything Pulsar specific about the implementation - simply set container_monitor_result on the job destination to 'callback' (instead of implicit default of 'file'). This causes the monitor.py script to hit a new job_ports API (that mirrors job_files API) and uses the same security mechanism (per-job keys that are only active while the job is active).

PR contains fixes for embedded Pulsar configuration handling, embedded Pulsar under uwsgi, and the introduction of new feature that allows dynamic expansion of ``$UWSGI_PORT`` inside of galaxy_infrastructure_url.
2020-02-19 09:53:10 -05:00
mvdbeek d5fc7d426e Fix interactivetool python 3 support and tests
- enables docker destination for interactivetool tests
- fixes a wrong argument in entrypoint management
- fixes the test setup that targeted a previous iteration (which was
  still called realtimetools)
- prevents deleting the working directory before python has a chance to
  start the container monitor (that's the sleep command)
- fixes some odd interactive tool test assertions
- uses unicode arguments in key_type_token_mapping.py.
  uwsgi arguments are always passed as bytestrings.
2020-01-09 14:40:48 +01:00
John Chilton 45019c3fbd Move galaxy testing utilities into more sane package structure.
Split test/base into lib/galaxy_test/base and lib/galaxy_test/driver. Dividing things on whether they import galaxy-app code or not - with the goal of a galaxy-test-base package that doesn't depend on galaxy-app and a galaxy-test-driver package that does.

I've been refactoring around this division for a long time. Certain tests (namely the integration tests) always need to bootstrap Galaxy - but the API tests and the Selenium tests should be installable and runnable without Galaxy in the Python environment. So future galaxy-test-api and galaxy-test-selenium packages should have only an optional dependency on galaxy-test-driver.

Properly sturcturing these namespaces is a precursor for real packages on PyPI, clean separation of the tool shed testing code, and cleans up all the flake8 noqa hacks in test/.
2019-11-12 09:03:06 -05:00
Bjoern Gruening 075a356a8c RT to IT 2019-08-31 13:34:51 +02:00