51 Commits
Author SHA1 Message Date
Yannick Payot 5d2779d03b Change CI to GitHub actions
Use copier template from oca/oca-addons-repo-template

Apply linting
2023-05-24 19:44:34 +02:00
Yannick Vaucher 185458f06b Bump version after refactor 2021-11-15 16:18:52 +01:00
Patrick TombezandYannick Vaucher bb33417795 [13.0][FIX] cloud_platform: Fix Redis checks 2021-11-11 18:44:13 +01:00
Patrick TombezandYannick Vaucher 899f390f66 [13.0][IMP] Make cloud_platform fully abstract + update related modules (#244) 2021-11-03 20:23:22 +01:00
Denis Leemann a8b4b251ef Update manifest files to be consistent inbetween them
The main goal is to be able to easily do grep and sed when we
do mass update on them
2021-10-18 13:08:30 +02:00
Denis Leemann e03fadfd21 15.0 Modules migration 2021-10-18 13:08:30 +02:00
Patrick Tombez fee088f695 [MIG] cloud_platform: Migration to 14.0 2020-11-03 15:58:32 +01:00
Denis Leemann 287332576a Set module for 14.0 uninstallable 2020-10-06 10:54:24 +02:00
Akim Juillerat a372cabeb6 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-03-05 09:56:09 +01:00
Akim JuilleratandGitHub 99bf5ffef1 Merge pull request #151 from yvaucher/13.0-aws-bucketname-unstructured
[13.0] Add AWS_BUCKETNAME_UNSTRUCTURED to by-pass check
2020-03-05 09:53:36 +01:00
Yannick Vaucher feb737cb25 Swift same by-pass structured store location 2020-02-25 16:28:35 +01:00
Yannick Vaucher 6f66af94ab Add AWS_BUCKETNAME_UNSTRUCTURED to by-pass check
Curently the name of the bucket is cross checked with the
running environment. In rare case you can have a bucket name
that doesn't match the structure <project>-odoo-<env> in place.
2020-02-25 16:28:35 +01:00
Simone Orsi ec6f8ee541 cloud_platform: fix default config
`_config_by_server_env` should always retutn a `PlatformConfig` instance
2020-02-04 11:42:35 +01:00
Yannick VaucherandGitHub b083eaf63b Merge pull request #118 from leemannd/description_added
[13.0] Add description to model
2019-12-10 10:59:09 +01:00
Denis Leemann 07f7b3b19f Add description to model
This removes the useless warning at startup
2019-12-09 15:06:55 +01:00
Guewen Baconnier d9307f44cb Add an advice in error message 2019-11-18 16:25:34 +01:00
Guewen Baconnier a482f186ce Add support of 'labs' RUNNING_ENV in cloud_platform
The labs env can be anything starting by 'labs', such as
'labs-logistics', 'labs-finance', ...

* At install, s3/swift is set as default storage
* However, unlike prod/integration, the storage is not forced to be an
object storage
* Redis is required
* When the storage is set on s3/swift, then the bucket name is mandatory
(otherwise, there is no place where to create the files...)

The redis prefix regex match is relaxed: anything starting by a project
name, then '-odoo-', then any combination of letters, digits, and dashes
is accepted (so a prefix my-project9-odoo-labs-web3 is valid).
2019-11-18 16:25:34 +01:00
Tonow-c2c c07adcd69e BSRD-286: MIG V13 cloud_platform 2019-10-08 17:16:36 +02:00
Tonow-c2c cbff157fdd BSRD-286: Set the addons to uninstallable 2019-10-07 12:16:06 +02:00
Tonow-c2c 6b87b1c604 cloud_platform: support client name w/ number 2019-09-08 15:48:23 +02:00
Simone Orsi 50cb368704 cloud_platform: support client name w/ multiple - 2019-07-30 14:20:12 +02:00
Patrick Tombez dc0029cfda Fix S3 bucket name check to allow numbers 2019-04-24 12:08:42 +02:00
jcoux 44fd22c3d4 Fix the check stack name for project with digit at first character 2018-11-23 16:08:25 +01:00
jcoux 5c43e3547e fixup! Migration to 12.0 2018-11-23 09:31:46 +01:00
jcoux 7eac1013eb Migration to 12.0 2018-10-24 12:44:45 +02:00
jcoux 73293a1390 Set all modules to uninstallable 2018-10-24 11:53:27 +02:00
Yannick VaucherandGitHub 78d99ff330 Remove useless call to lower()
'0'.lower() == '0'
2018-02-08 14:49:15 +01:00
Guewen Baconnier 4bb649f729 Add check for empty bucket on integration 2017-11-15 15:03:03 +01:00
Guewen Baconnier b084ce278a Set addons installable 2017-11-15 14:56:45 +01:00
Guewen Baconnier 96c9a38150 Set addons uninstallable 2017-11-15 14:31:23 +01:00
jcoux 55631073b1 Fix regex on check ODOO_SESSION_REDIS_PREFIX 2017-10-26 12:29:41 +02:00
Guewen Baconnier edc700c807 Configure storage by platform kind 2017-09-20 15:42:25 +02:00
Guewen Baconnier 81196a8058 Various small changes after review 2017-09-20 12:43:38 +02:00
Thierry DucrestandGuewen Baconnier 1548fd674a Abstract install method 2017-09-19 16:30:51 +02:00
Thierry DucrestandGuewen Baconnier 66748534f6 Add OVH as an option for the cloud platform 2017-09-19 16:30:51 +02:00
Guewen Baconnier c7240e1fe1 Allow to use a Redis Sentinel 2017-05-16 09:07:59 +02:00
Guewen Baconnier 2b81b7a6fb Do not require to run statds metrics 2017-04-29 09:20:55 +02:00
Guewen Baconnier f0519cf2f6 Add more details in asserts 2017-01-17 11:11:47 +01:00
Guewen Baconnier 8e4b461c75 Migrate addons to 10.0 2016-12-21 21:29:09 +01:00
Guewen Baconnier 65e9bad4e5 Add monitoring_statsd in cloud_platform 2016-11-04 10:30:10 +01:00
Guewen Baconnier 3c8b74369b Make pylint happy 2016-11-03 16:58:36 +01:00
Guewen Baconnier b5f00c26dc Fix pep8 2016-11-02 10:29:02 +01:00
Guewen Baconnier ec1f3fc61a Add logging_json
Output odoo logs as json
2016-11-02 10:10:05 +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 fb7c07a47c Install session_redis and monitoring_status 2016-10-25 09:39:28 +02:00