HomeSoftware Heritage

Allow to override celery config file name via the SWH_CONFIG_FILENAME env var

Description

Allow to override celery config file name via the SWH_CONFIG_FILENAME env var

this will take precedence over the implicit config file scheme. The expected
config file given via the environment variable is expected to have a
[celery] section which will be used as config for the Celery app created
in swh.scheduler.celery_backend.config.

Related to T1410 and T826.

Details

Provenance
douarddaAuthored on Feb 1 2019, 4:57 PM
douarddaPushed on Feb 6 2019, 10:26 AM
Differential Revision
D1067: Allow to override celery config file name via the SWH_CONFIG_FILENAME env var
Parents
rDSCH0f2f3ff9d09f: Make (celery) tests immune to environment variables
Branches
Unknown
Tags
Unknown
Build Status
Buildable 4019
Build 5275: test-and-build