Ansible: deliver validator-agent from the artreg registry instead of building on each host
The role resolves image_tag to a digest once per run and pulls that image on every validator before replacing the container; the git and build steps are gone. scripts/publish-agent-image.sh builds and pushes the agent image (<rev12> and latest tags). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
65c6975a24
commit
d0ab6b94f9
16 files changed
+323
-238
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# Доставка validator-agent на все валидаторы: обновить git-клон, собрать образ
|
||||
# на каждом хосте, остановить и удалить старый контейнер, поднять новый.
|
||||
# Доставка validator-agent на все валидаторы: скачать образ из реестра
|
||||
# (по digest), остановить и удалить старый контейнер, поднять новый.
|
||||
# Запуск (из deploy/ansible): ansible-playbook playbooks/deploy-validator-agent.yml
|
||||
- name: Deliver validator-agent to the validators
|
||||
hosts: validators
|
||||
|
||||
Reference in new issue
Block a user