forked from camptocamp/c2cgeoportal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.yaml
30 lines (29 loc) · 1.26 KB
/
vars.yaml
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
vars:
main_version: __import__('pkg_resources').get_distribution('c2cgeoportal').version.split('.')[0:2]
dbuser: www-data
dbpassword: www-data
dbhost: localhost
dbport: 5432
db: c2cgeoportal_test
mapserv_url: http://{fqdn}/mapserv
mapserver_join_tables: main.restrictionarea AS ra, main.role_restrictionarea AS rra, main.layer_restrictionarea AS lra, main.treeitem AS la
mapserver_join_area: ra.area
mapserver_join_where: "rra.role_id = %role_id% AND rra.restrictionarea_id = ra.id AND lra.restrictionarea_id = ra.id AND lra.layer_id = la.id AND la.name ="
mapserver_layer_metadata: ""
mapserver_layer_validation:
'"default_role_id" "-1"
"role_id" "^-?[0-9]*$"'
mapfile_data_subselect: "SELECT ST_Collect(ra.area) FROM main.restrictionarea AS ra, main.role_restrictionarea AS rra, main.layer_restrictionarea AS lra, main.treeitem AS la WHERE rra.role_id = %role_id% AND rra.restrictionarea_id = ra.id AND lra.restrictionarea_id = ra.id AND lra.layer_id = la.id AND la.name ="
fqdn: hostname -f
git_branch: git rev-parse --abbrev-ref HEAD
tx_version: TX_VERSION
interpreted:
environment:
- tx_version
bash:
- fqdn
- git_branch
yaml:
- fqdn # to trim
python:
- main_version