Commit Graph
973 Commits
Author SHA1 Message Date
Heinz-Alexander FuettererandNicola Soranzo 347e7b8301 chore: fix typos
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-10-13 16:29:27 +02:00
mvdbeek edeaf26720 Drop delayed_tool_init config setting 2023-08-17 11:44:29 +02:00
mvdbeek e32836b5e6 Merge branch 'release_23.1' into dev 2023-08-17 11:42:27 +02:00
John Davis 21a35b84a7 Merge pull request #16537 from mvdbeek/tool_document_cache
[23.1] Limit tool document cache to tool configs with explicit cache path
2023-08-15 04:32:02 +10:00
mvdbeek 98b3642fe2 Drop unused tool_cache_data_dir config setting 2023-08-10 12:08:43 +02:00
mvdbeek e6c671ca55 Add back $TMPDIR:rw,$TMP:rw,$TEMP:rw mounts
These were incorrectly dropped in
https://github.com/galaxyproject/galaxy/pull/15614/commits/9e48ceb169200eb55a132328b431d1cabc282259.
2023-08-09 15:34:38 +02:00
John Davis b6f8377aa4 Remove unused config property 2023-07-15 12:06:41 +10:00
claudiofr 462f57155e Move behavior from celery_user_rate_limit model class to base_task module.
Moved behavioral logic from CeleryUserRateLimit model class to base_task
module because model classes should be plain old classes. Ran
make config-schema to update galaxy_options.rst and galaxy.yml.sample
based on changes made to config_schema.yml.
2023-07-12 10:35:54 -04:00
claudiofr 05885febb3 Limit number of celery tasks that a user can run per second.
Introduce a celery_user_rate_limit config parameter which
specifies how many tasks per second a user can execute. Create a
custom celery Task class called GalaxyTask with a before_start hook
that implements the rate limiting logic. Add a new table,
celery_user_rate_limit that tracks the last scheduled execution time
by user id. Add new integration test, test_celery_user_rate_limit.py.
2023-07-12 10:35:54 -04:00
Rendani Gangazhe 06ae184ee5 Serialize geographical location code and remove unneeded carbon emissions flags
- `carbon_intensity` and `geographical_server_location_name` are
  automatically computed on startup and are never set by an admin. So
  they don't need to be in the config at all.
2023-07-06 13:39:56 +02:00
Rendani Gangazhe c72904d432 Fix types in config_schema 2023-07-01 10:39:54 +02:00
Rendani Gangazhe 34d34e26b6 Correctly type power_usage_effectiveness flag in config 2023-06-28 17:15:04 +02:00
Rendani Gangazhe a19f06b1c7 Merge dev 2023-06-24 14:13:40 +02:00
Rendani Gangazhe 611527b53e Move carbon intensity reference data to backend and add admin docs
- Add `geographical_server_location_code`, `geographical_server_location_name` and `carbon_intensity` flags.
- Alphabetically sort the list of config flags in galaxy init file.
- Add logic to set `geographical_server_location_name` and `carbon_intensity` based off of `geographical_server_location_code`.
2023-06-24 13:53:34 +02:00
Marius van den Beek fb11e30bf8 Merge pull request #16280 from mvdbeek/container_resolver_followup
Improve container resolver documentation
2023-06-22 11:30:22 +02:00
mvdbeek 3606c34540 Rebuild schema docs 2023-06-21 22:45:13 +02:00
claudiofr 2d3547a630 Change default beaker cache type to file for the 3 beaker caches. 2023-06-21 22:45:12 +02:00
claudiofr cb9ff7c7b8 Changed default beaker cache table name to beaker_cache for all caches
All 3 beaker caches, mulled_resolution, citations, biotools service,
now use the same default cache table, beaker_cache. This reduces the
number of open db connections because beaker creates a separate
sqlalchemy engine and associated connection pool for each distinct
table and each connection pool opens up a certain number of connections.
This was causing the integration tests to fail because the max
postgress connections(100) were being exceeded.
2023-06-21 22:45:12 +02:00
claudiofr 213398aee3 Change citation and biotools_service beaker cache type from file to
ext:database.

Rather than store cache data in the file system store cache data
in the database. These are the last 2 beaker caches that need
to be converted to the database as part of issue 15216.
Introduce new config parameters for database url, cache table name.
Introduce logic to default values of a parameter to values of another
parameter. i.e. default cache database url to database_connection.
Metadata for this was placed in code. Should probably be
placed eventually in config file which would require a change
to the config_schema.yml.

Introduced a new unit test, test_citations_db.py
Did not introduce a new test for the biotools_service beaker cache
because I could not find a place in the code where it was used.
2023-06-21 22:19:04 +02:00
claudiofr 80f9d66824 Change muled resolution beaker cache type from file to ext:database.
Rather than store cache data in the file system store cache data
in the database. Partially addresses issue 15216. For now this was
only changed for the mulled resolution cache. Introduced new
config parameters for database url, cache table name. Introduced
logic to default values of a parameter to values of another
parameter. i.e. default cache database url to database_connection.
Metadata for this was placed in code. Should probably be
placed eventually in config file which would require a change
to the config_schema.yml.

Introduced a new unit test, test_mulled_resolution_cache_db.py.
2023-06-21 22:19:03 +02:00
mvdbeek e93d09ad02 Minor documentation tweaks 2023-06-21 12:40:09 +02:00
Nicola Soranzo df36f65ca3 Merge pull request #15614 from bernt-matthias/topic/container-resolvers-typing-docs-tests
Container resolvers: add docs, typing and tests
2023-06-20 23:47:31 +01:00
M BerntandNicola Soranzo 33c71a685a Update doc/source/admin/jobs.md
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-20 11:57:46 +02:00
M BerntandNicola Soranzo 6cfcb04c19 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-20 10:30:19 +02:00
Matthias Bernt de38dbe81f fix compute -> execution environment 2023-06-15 10:04:09 +02:00
M BerntandNicola Soranzo 15a3595c4d Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-15 09:43:08 +02:00
Matthias Bernt 368725b80d doc: polishing 2023-06-14 15:28:43 +01:00
Matthias Bernt 37608160b5 doc: continue 2023-06-14 15:28:42 +01:00
Matthias Bernt 037d0282bb doc: cnt 2023-06-14 15:28:41 +01:00
Matthias Bernt 9e48ceb169 containers: do not mount /tmp/
fixes https://github.com/galaxyproject/galaxy/issues/15673

- singularity: add `--no_mount tmp` (analogous to docker's default)
- do not bind `$TMPDIR:rw,$TMP:rw,$TEMP:rw` by default
- instead (by default )provide a writable `/tmp` via
  `$_GALAXY_JOB_TMP_DIR/:/tmp:rw` note that this dir is still also
  available as `$_GALAXY_JOB_TMP_DIR:rw`
2023-06-14 15:28:38 +01:00
Matthias Bernt 2117883996 doc: cont 2023-06-14 15:28:37 +01:00
Alireza Heidari 4625293a0f remove notification favorite field from backend and update schema, migration and tests 2023-06-14 14:16:11 +02:00
Matthias Bernt 9f68bdb39a doc 2023-06-14 11:13:41 +01:00
Matthias Bernt b94c1d589a doc cont:
add container conf sample
2023-06-14 11:13:40 +01:00
Matthias Bernt 881f506458 doc: more intro 2023-06-14 11:13:40 +01:00
M BerntandNuwan Goonasekera d610c0a480 Apply suggestions from code review
Co-authored-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>
2023-06-14 11:13:39 +01:00
Matthias Bernt d2b3d2f82b cnt 2023-06-14 11:13:39 +01:00
Matthias Bernt 07a5a1f507 initial commit of container resolvers documentation 2023-06-14 11:13:37 +01:00
Rendani Gangazhe 313977339e Add carbon emissions admin configuration options
- Server location can be set as a valid ISO 3166 code. This is used to
  determine the carbon intensity based off of the galaxy instance server
  location
- A non-default power usage effectiveness value can be set
- Carbon emissions reporting can be toggled
2023-06-12 17:21:57 +02:00
davelopez 0bc982d218 Add periodic task to cleanup expired notifications 2023-05-26 18:04:05 +02:00
davelopez ab20569413 Add config option to enable/disable notifications 2023-05-26 18:04:04 +02:00
mvdbeek 49c82389ff Merge branch 'release_23.0' into dev 2023-05-26 12:56:53 +02:00
Nicola Soranzo 7fea2db936 Merge branch 'release_22.05' into release_23.0 2023-05-25 13:53:52 +01:00
Nicola Soranzo 1fedac75ab Fix `mulled-update-singularity-containers` documentation
The `mulled-singularity-testing` command was never added to the
`galaxy-tool-util` package.
2023-05-25 08:32:20 +01:00
Minh Vu a59e0b4a27 refactored 2023-04-27 11:21:29 +02:00
Minh Vu aecbe0cff1 Option to display a different message on the export citations tool page 2023-04-27 11:19:33 +02:00
Dannon 47966341c9 Merge pull request #15628 from ElectronicBlueberry/training-recommendations
Add suggested Training material to Tool Form
2023-04-26 07:59:20 -04:00
mvdbeek 3d836f09a7 Merge branch 'release_23.0' into dev 2023-04-19 14:43:36 +02:00
Laila Los 568624ce70 match using tool id
rename repository to owner
2023-04-17 08:39:17 +02:00
Laila Los 0a26f58bc4 fix config description 2023-04-17 08:39:15 +02:00