19 Commits
Author SHA1 Message Date
Vincent RenavilleandGitHub 61aadafabf fix: add missing function get_running_env (#354) 2022-03-15 13:41:32 +01:00
Patrick TombezandYannick Vaucher 1349eb06e0 [13.0][FIX] cloud_platform: Fix Redis checks 2021-11-15 16:11:37 +01:00
Patrick TombezandYannick Vaucher cd4fec96ee [13.0][IMP] Make cloud_platform fully abstract + update related modules (#244) 2021-11-15 16:11:37 +01:00
Guewen BaconnierandGitHub 3cc4e93375 Merge pull request #137 from camptocamp/9-fixes
cloud_platform: fix default config
2020-06-22 07:38:37 +02:00
Akim Juillerat c657507a4b Require AWS_BUCKETNAME for prod, integration and labs environments only
AWS_BUCKETNAME is only needed in order to write on the bucket, but
read-only access should be allowed for other environments.

Fixes bug introduced by 6c3b610610
2020-02-25 16:02:11 +01:00
Simone Orsi 4e0d582cd0 cloud_platform: fix default config
`_config_by_server_env` should always retutn a `PlatformConfig` instance
2020-02-04 13:40:58 +01:00
jcoux 7fc296d73e Backport OVH modules from 10.0 2018-10-29 13:45:20 +01:00
Guewen Baconnier bcb4b8b98d Allow to use a Redis Sentinel 2017-05-16 09:07:30 +02:00
Guewen Baconnier 4823d10eb5 Do not force metrics on production 2017-04-29 09:19:16 +02:00
Guewen Baconnier 8ad99c9336 Add more details in asserts 2017-01-17 11:07:36 +01:00
Guewen Baconnier 65e9bad4e5 Add monitoring_statsd in cloud_platform 2016-11-04 10:30:10 +01:00
Guewen Baconnier b5f00c26dc Fix pep8 2016-11-02 10:29:02 +01:00
Guewen Baconnier ab0fa598ca Adapt cloud_platform setup for 73aaff6
Following the changes in attachment_s3
2016-10-31 14:05:58 +01:00
Guewen Baconnier fde2688b27 Do not require REDIS on dev environment 2016-10-28 12:06:51 +02:00
Guewen Baconnier 202d37f08b Relax rules for the redis prefix
If we run 2 instances with the 'integration' server_env, we want 2
the ability to use different prefixes.
2016-10-25 13:26:26 +02:00
Guewen Baconnier 6eb25377fb Remove extra parameter 2016-10-25 12:09:27 +02:00
Guewen Baconnier e286a0da1a Allow different bucket name than *-odoo-prod
Only force it if the server-env is 'prod'. When we have no production
yet, the integration will have its own bucket.
2016-10-25 10:16:26 +02:00
Guewen Baconnier fedfbb199e Allow s3 on non-prod environment
But force it to be readonly
2016-10-25 09:55:29 +02:00
Guewen Baconnier 982285b298 Add a cloud_platform 'profile' addon
* When installed, it pulls the addons required for Odoo to run on the
  Cloud Platform.
* It provides a method to configure Odoo at the installation.
* It checks if the environment variables are correct according the the
  'server environment'
* And add documentation
2016-10-25 09:38:48 +02:00