-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.yml
69 lines (58 loc) · 2.44 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
# deployment method selection, current accepted values
# - pull-and-build: pulls the platform-client and builds it in the
# deployment target
# - rsync: deploys built platform-client by synchronizing a
# local folder against a folder in the deployment
# - s3-sync: deploys built platform-client by synchronizing a
# local folder against a S3 bucket + optional prefix
#
platform_client_deploy_flavor: pull-and-build
## common variables
platform_client_base_path: /var/www/platform-client
platform_client_static_folder: server/www
# - contents of configuration files:
platform_client_intercom_appid: ""
platform_client_app_store_id: ""
platform_client_mapbox_api_key: ""
platform_client_raven_url: ""
platform_client_backend_url: ""
platform_client_ga_key: ""
platform_client_gtm_key: ""
platform_client_google_maps_api_key: ""
platform_client_oauth_id: "ushahidiui"
platform_client_oauth_secret: "35e7f0bca957836d05ca0492211b0ac707671261"
platform_client_multisite_domain: ""
platform_client_multisite_api_domain: "api.{{platform_client_multisite_domain}}"
platform_client_tos_release_date: ""
platform_client_environment: ""
platform_client_assets_domain: ""
## pull-and-build specific
platform_client_version: master
platform_client_repo_url: "https://github.com/ushahidi/platform-client.git"
platform_client_update: true
platform_client_tx_username: ""
platform_client_tx_password: ""
platform_client_app_languages: ""
## rsync and s3-sync specific
# - path to built client
platform_client_deploy_src: ""
## s3-sync specific
# - destination bucket (required) and prefix (optional)
platform_client_s3_dest_bucket: ""
platform_client_s3_dest_prefix: "" # don't comment this default
platform_client_s3_sync_global_args:
acl: public-read
platform_client_s3_sync_groups:
- include: [ index.html, config.js, config.json, manifest.json, importmap.json ]
cache_control: "public, max-age=0, s-maxage=0, must-revalidate"
- include: [ locales/* ]
cache_control: "public, max-age=60, s-maxage=60, stale-while-revalidate=86400"
- exclude: [ index.html, config.js, config.json, manifest.json, importmap.json, locales/* ]
cache_control: "public, max-age=31536000, s-maxage=31536000"
# - s3 api access details (defaults provided via environment)
# platform_client_aws_access_key_id:
# platform_client_aws_secret_access_key:
# platform_client_aws_default_region:
# - aws-cli executable (optional)
platform_client_aws_cli: aws