tuto5: add part on renovate
This commit is contained in:
parent
4259fa785c
commit
75c35a36d1
12 changed files with 181 additions and 61 deletions
23
tutorial/devops/renovate-ansible.md
Normal file
23
tutorial/devops/renovate-ansible.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
Voici à quoi pourrait ressembler le playbook Ansible démarrant notre conteneur
|
||||
Renovatebot :
|
||||
|
||||
<div lang="en-US">
|
||||
```yaml
|
||||
- name: Launch renovate container
|
||||
docker_container:
|
||||
name: renovate
|
||||
image: renovate/renovate
|
||||
state: started
|
||||
restart_policy: no
|
||||
memory: 2G
|
||||
networks:
|
||||
- name: gitea
|
||||
env:
|
||||
RENOVATE_ENDPOINT: "http://gitea:3000/api/v1/"
|
||||
RENOVATE_PLATFORM: "gitea"
|
||||
RENOVATE_TOKEN: "{{ renovate_token }}"
|
||||
RENOVATE_GIT_AUTHOR: "Renovatebot <renovate@gitea.sample>"
|
||||
RENOVATE_AUTODISCOVER: "true"
|
||||
RENOVATE_LOG_LEVEL: "info"
|
||||
```
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue