summaryrefslogtreecommitdiffstats
path: root/setup/projects/adei/vars
diff options
context:
space:
mode:
Diffstat (limited to 'setup/projects/adei/vars')
-rw-r--r--setup/projects/adei/vars/globals.yml18
1 files changed, 13 insertions, 5 deletions
diff --git a/setup/projects/adei/vars/globals.yml b/setup/projects/adei/vars/globals.yml
index 91f5933..72262e5 100644
--- a/setup/projects/adei/vars/globals.yml
+++ b/setup/projects/adei/vars/globals.yml
@@ -1,5 +1,7 @@
adei_domain: "{{ openshift_master_default_subdomain }}"
+adei_pod_history_limit: 2
+
adei_pod_env:
- name: "HOME"
value: "/tmp"
@@ -21,8 +23,6 @@ adei_pod_env:
value: "${adei_revision}"
- name: "ADEI_PATH"
value: "/adei/src"
- - name: "ADEI_URL"
- value: "http://adei-${setup}.adei.svc.cluster.local/adei"
adei_prod_env:
- name: "ADEI_SETUP"
@@ -35,6 +35,8 @@ adei_prod_env:
value: "${enable_debug}"
- name: "APACHE_SERVERS"
value: "${apache_servers}"
+ - name: "ADEI_CONTINUOUS_CACHING"
+ value: "${continuous_caching}"
adei_log_env:
- name: "ADEI_SETUP"
@@ -66,13 +68,15 @@ adei_cron_env:
- name: "ADEI_SCHEDULER"
value: "${sched_parallel}"
-adei_ccache_env:
+adei_update_env:
- name: "ADEI_CONTINUOUS_CACHING"
value: "${continuous_caching}"
adei_cache_env:
- name: "ADEI_SETUP"
value: "${setup}"
+ - name: "ADEI_URL"
+ value: "http://adei-${setup}.adei.svc.cluster.local/adei"
- name: "ADEI_PARALLEL"
value: "${cache_parallel}"
- name: "ADEI_IDLE_SLEEP"
@@ -81,6 +85,8 @@ adei_cache_env:
adei_arc_cache_env:
- name: "ADEI_SETUP"
value: "${setup}"
+ - name: "ADEI_URL"
+ value: "http://adei-${setup}.adei.svc.cluster.local/adei"
- name: "ADEI_PARALLEL"
value: "${cache_parallel}"
- name: "ADEI_IDLE_SLEEP"
@@ -89,6 +95,8 @@ adei_arc_cache_env:
adei_log_cache_env:
- name: "ADEI_SETUP"
value: "${setup}-logs"
+ - name: "ADEI_URL"
+ value: "http://adei-${setup}-logs.adei.svc.cluster.local/adei"
- name: "ADEI_PARALLEL"
value: "${sched_parallel}"
- name: "ADEI_IDLE_SLEEP"
@@ -172,7 +180,7 @@ adei_frontends:
name: "adei-${setup}-cacher"
replicas: "${cache_replicas}"
cmd: [ "/bin/bash", "/adei/src/scripts/system/cacher.sh" ]
- env: "{{ adei_pod_env | union(adei_cache_env) | union(adei_ccache_env) }}"
+ env: "{{ adei_pod_env | union(adei_cache_env) }}"
vols: "{{ adei_pod_vols }}"
mounts: "{{ adei_prod_mounts | union(adei_pod_mounts) }}"
groups: [ "adei" ]
@@ -199,7 +207,7 @@ adei_frontends:
name: "adei-${setup}-update"
cron: "${update_schedule}"
cmd: [ "/bin/bash", "/adei/src/scripts/cron/adei.cron.sh" ]
- env: "{{ adei_pod_env | union(adei_cron_env) | union(adei_ccache_env) }}"
+ env: "{{ adei_pod_env | union(adei_cron_env) | union(adei_update_env) }}"
vols: "{{ adei_pod_vols }}"
mounts: "{{ adei_prod_mounts | union(adei_pod_mounts) }}"
groups: [ "adei" ]