Skip to content

Commit 66e7fac

Browse files
committed
50 minutes instead of 1 hr
env not 'defined'
1 parent 343f836 commit 66e7fac

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

ansible/group_vars/alpha-khronos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ container_envs: >
3636
-e API_URL={{ api_url }}
3737
-e CONSUL_HOST={{ consul_host_address }}:{{ consul_api_port }}
3838
-e CANARY_API_TOKEN={{ khronos_canary_token | default('undefined') }}
39-
-e CANARY_API_FAILOVER_TOKEN={{ khronos_canary_failover_token | default('undefined') }}
39+
{% if api_new_relic_app_name is defined %}
40+
-e CANARY_API_FAILOVER_TOKEN={{ khronos_canary_failover_token }}
41+
{% endif %}
4042
-e CANARY_GITHUB_BRANCHES_INSTANCE_ID={{ khronos_canary_github_branches_instance_id | default('undefined') }}
4143
-e CANARY_LOG_INSTANCE_ID={{ khronos_canary_logs_instance_id | default('undefined') }}
4244
-e CANARY_LOG_TERMINAL_SLEEP=10

ansible/roles/khronos/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
script: canary-cron.sh
3030
state: "{% if node_env == 'production-delta' %}present{% else %}absent{% endif %}"
3131
- name: Khronos CLI - Hourly Canary
32-
hour: "*/1"
32+
minute: "*/50"
3333
script: hourly-canary-cron.sh
3434
state: "{% if node_env == 'production-delta' %}present{% else %}absent{% endif %}"
3535

0 commit comments

Comments
 (0)