Commit Graph
1232 Commits
Author SHA1 Message Date
mvdbeek a1ecabdfbc Adjust API tests
Most of the time we just want an OK status code. 202, 204, 200 should
all be OK and some of this depends on the Galaxy instance config,
so this should be more robust to future changes.
2025-09-23 22:16:20 +02:00
Marius van den Beek 1ccf881190 Merge pull request #20838 from nsoranzo/pytest8
Update pytest to v8
2025-09-23 17:00:13 +02:00
Marius van den Beek 50e39b245c Merge pull request #20932 from mvdbeek/user_defined_tool_type
Allow addressing user defined tools in job config
2025-09-22 15:01:11 +02:00
mvdbeek 99df41a49a Merge branch 'release_25.0' into dev 2025-09-22 09:11:38 +02:00
mvdbeek 0c09aa9e5c Add test for proposed prod-like deployment 2025-09-21 17:03:17 +02:00
mvdbeek e76e2f66c9 Fix collection element sorting in extended_metadata 2025-09-19 18:57:53 +02:00
mvdbeek 48841bd55e Merge branch 'release_25.0' into dev 2025-09-19 17:19:41 +02:00
mvdbeek 253b1768e3 Test sessionless tag creation 2025-09-19 15:44:48 +02:00
Nicola Soranzo 45f2fd96a5 Disable celery tasks for Onedata tests
Fix upload jobs not being picked up by the job handlers:

```
FAILED test/integration/objectstore/test_onedata_objectstore.py::test_tools[multi_output_assign_primary] - galaxy.tool_util.verify.wait.TimeoutAssertionError: Timed out after 60.25 seconds waiting on tool test run.
FAILED test/integration/objectstore/test_onedata_objectstore.py::test_tools[composite_output_tests] - galaxy.tool_util.verify.wait.TimeoutAssertionError: Timed out after 60.25 seconds waiting on tool test run.
FAILED test/integration/objectstore/test_onedata_objectstore.py::test_tools[metadata_bam] - galaxy.tool_util.verify.wait.TimeoutAssertionError: Timed out after 60.25 seconds waiting on tool test run.
```
2025-09-18 04:10:52 +01:00
Nicola Soranzo 0c2d349e35 Restore all environment variables at the end of Keycloak integration tests
not just `OAUTHLIB_INSECURE_TRANSPORT`.

Fix the following error in integration tests that were run after
those in `test/integration/oidc/test_auth_oidc.py`:

```
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)
```

Introduced in https://github.com/galaxyproject/galaxy/pull/16977 .
2025-09-18 04:10:51 +01:00
John Chilton ebd48c7516 Tests for preserving column definitions in different metadata collection strategies. 2025-08-14 09:57:45 -04:00
Nicola Soranzo 7f89e0eab9 Code cleanups from pyupgrade
Found by running:

```
make pyupgrade
ruff check --fix .
ruff check --preview --unsafe-fixes --select=F401 --fix .
make format
make update-client-api-schema
```

The bulk of the changes are replacements of typing deprecated aliases
such as `Dict` and `List` with the standard library classes. These
aliases became redundant in Python 3.9 when the corresponding
pre-existing classes were enhanced to support `[]`, see
https://docs.python.org/3/library/typing.html#deprecated-aliases

Also:
- Update the `pyupgrade` Makefile target to use `--py38-plus` for the
  packages needed by Pulsar, including the new galaxy-tool-util-models
  package.
2025-07-31 11:17:22 +01:00
marius-mather d4e02eba66 Lint fixes 2025-07-16 11:15:50 +10:00
marius-mather 4796a86860 Merge branch 'psa-access-token' of github.com:AustralianBioCommons/galaxy into psa-access-token 2025-07-16 10:49:36 +10:00
marius-mather af98bafdf5 Remove commented code 2025-07-16 10:22:06 +10:00
marius-mather dd1d9b6609 Use a single patch_oidc_config function that we override for each implementation 2025-07-16 10:02:04 +10:00
marius-matherandNuwan Goonasekera 1949bc4b6d Change timeout for checking if Docker is ready
Co-authored-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>
2025-07-16 09:41:16 +10:00
marius-mather 3e393d5a54 isort fixes 2025-07-11 12:57:34 +10:00
marius-mather b7a86c8efd Add type annotations for patchers 2025-07-11 12:47:01 +10:00
marius-mather b4b9f31769 Comments on OIDC integration tests 2025-07-11 12:35:29 +10:00
marius-mather e91d057125 Rework testing approach to patch the OIDC config with the current port 2025-07-10 15:14:19 +10:00
marius-mather 8c4b57f34f Use galaxy's existing util for getting a free port 2025-07-08 14:55:35 +10:00
marius-mather 67c20abe88 Rework handling of ports for integration test 2025-07-08 10:24:48 +10:00
marius-mather d3bb0d0b11 Make sure OIDC config uses the chosen random port 2025-07-07 15:32:24 +10:00
marius-mather 6eed48d85e Ensure Galaxy is ready after restart in OIDC integration test 2025-07-07 11:14:30 +10:00
marius-mather f7af973d26 Increase timeout for waiting on Docker 2025-07-07 09:01:42 +10:00
marius-mather bb650b8225 Improve check of when keycloak docker is ready 2025-07-04 15:48:59 +10:00
marius-mather 3e81fc1663 mypy fixes 2025-07-04 13:27:31 +10:00
marius-mather 22a646feaa Linting fixes 2025-06-27 11:48:32 +10:00
marius-mather ee17c93dee Add integration test of PSA-based OIDC, decoding access token 2025-06-27 11:11:48 +10:00
marius-mather 884e59d485 Update existing OIDC integration tests to be more reusable 2025-06-27 11:10:12 +10:00
davelopez 58a7a9adef Merge branch 'release_25.0' into dev 2025-06-16 20:14:12 +02:00
mvdbeek 03fb43a00d Merge branch 'release_24.2' into release_25.0 2025-06-16 19:34:41 +02:00
mvdbeek 6d0a0b53aa Link workflow invocation outputs upon importing invocation 2025-06-16 15:02:47 +02:00
Nicola Soranzo 9bd2a328f1 Type annotation fixes for mypy 1.16.0 2025-06-10 02:22:18 +01:00
mvdbeek a6f402803c Only test slots and memory
Looks like kubectl hangs in this test setup.
2025-05-19 16:05:43 +02:00
mvdbeek d2597738cb Make to_cwl compatible with pulsar 2025-05-12 10:54:56 +02:00
mvdbeek 90b21f7212 YamlToolSource parser fixes 2025-05-12 10:54:24 +02:00
davelopez e699452006 Add missing download scheme configuration to Rucio object store template for tests 2025-05-08 12:49:01 +02:00
Yakubov, Sergey 5282940a32 fix liniting 2025-05-07 16:10:47 +02:00
Yakubov, Sergey 50a1d5b6a2 add examples, refactor templates 2025-05-07 16:10:47 +02:00
Marius van den Beek 79638b883a Merge pull request #19753 from bernt-matthias/env-fix-24.1
Fix setting env and tags on resubmission
2025-05-06 17:23:45 +02:00
Nicola Soranzo 1be32c1ae0 Move Singularity image cache cleaning to test tearDown 2025-04-30 10:46:56 +01:00
Nicola Soranzo d089171a3c Remove only the Docker images specific for the test
Also:
- Fix `_assert_container_in_cache_singularity()` to append `container_path`
  to `cache_directory` only for explicit resolvers.
  Also calculate `cache_dir_contents` only if `cache_directory` exists.
2025-04-30 01:09:11 +01:00
Matthias Bernt 0c186b227e fix test 2025-03-26 18:07:57 +01:00
mvdbeek 3c6b6c5971 Merge branch 'release_24.2' into dev 2025-03-26 09:51:08 +01:00
mvdbeek 3c12acb270 Assert column_types 2025-03-25 10:29:01 +01:00
mvdbeek de7b0ed7da Merge branch 'release_24.2' into dev 2025-03-21 19:09:05 +01:00
mvdbeek a726a956e5 Run in extended metadata mode again 2025-03-21 10:51:01 +01:00
mvdbeek 0bb228d134 Disable celery and extended metadata
Either of these options are not compatible with rucio. Maybe more than
one connection isn't permitted ?
2025-03-21 09:33:02 +01:00