Run accessbot less frequently

We already run accessbot in project-config when the accessbot
script changes. We don't need to run it whenever any of the puppet
or other config on eavesdrop runs, not do we need to run it
hourly. Just run it nightly and on changes to the actual
accessbot config.

Change-Id: Idd47f7c96f677fd1e1c8da3be262a52a70646acd
This commit is contained in:
Monty Taylor 2020-05-08 08:12:37 -05:00
parent 1ccabf5529
commit 6a53ffa3ae
2 changed files with 10 additions and 5 deletions

View File

@ -505,7 +505,11 @@
- infra-prod-service-eavesdrop
vars:
playbook_name: run-accessbot.yaml
files: *infra_prod_eavesdrop_files
files:
- accessbot/channels.yaml
- playbooks/run-accessbot.yaml
- playbooks/roles/accessbot
- docker/accessbot/
# Run AFS changes separately so we can make sure to only do one at a time
# (turns out quorum is nice to have)

View File

@ -224,6 +224,11 @@
- infra-prod-service-gitea
- infra-prod-service-codesearch
- infra-prod-service-eavesdrop
- infra-prod-run-accessbot:
dependencies:
- infra-prod-service-eavesdrop
- name: system-config-promote-image-accessbot
soft: true
- infra-prod-remote-puppet-afs
- infra-prod-remote-puppet-else
- infra-prod-run-cloud-launcher
@ -288,7 +293,3 @@
dependencies:
- name: infra-prod-install-ansible
soft: true
- infra-prod-run-accessbot:
dependencies:
- name: infra-prod-install-ansible
soft: true