devops: Write renovate equivalent docker cmd
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a4bf192c12
commit
4e58219ba8
20
tutorial/devops/renovate-cmd.md
Normal file
20
tutorial/devops/renovate-cmd.md
Normal file
@ -0,0 +1,20 @@
|
||||
Exportez dans une variable d'environnement le token d'accès généré qui vous est affiché par Gitea :
|
||||
|
||||
<div lang="en-US">
|
||||
```shell
|
||||
export RENOVATE_TOKEN=a0b1c2d3e4f5A6B7C8D9
|
||||
```
|
||||
</div>
|
||||
|
||||
|
||||
La commande que nous allons utiliser pour lancer Renovatebot est la suivante :
|
||||
|
||||
<div lang="en-US">
|
||||
```shell
|
||||
docker container run --name renovate --network my_ci_net \
|
||||
-e RENOVATE_ENDPOINT="http://gitea:3000/api/v1/" RENOVATE_PLATFORM=gitea \
|
||||
-e RENOVATE_TOKEN -e RENOVATE_GIT_AUTHOR="Renovatebot <renovate@sample>" \
|
||||
-e RENOVATE_AUTODISCOVER=true -e RENOVATE_LOG_LEVEL=info -d \
|
||||
renovate/renovate
|
||||
```
|
||||
</div>
|
@ -24,7 +24,7 @@ Lançons enfin Drone avec les deux commandes suivantes :
|
||||
```shell
|
||||
docker volume create drone_data
|
||||
|
||||
docker container run --name droneci -v drone_data:/data --network my_ci_net
|
||||
docker container run --name droneci -v drone_data:/data --network my_ci_net \
|
||||
-p 80:80 -e DRONE_GITEA_CLIENT_ID -e DRONE_GITEA_CLIENT_SECRET \
|
||||
-e DRONE_GITEA_SERVER=http://gitea:3000 -e DRONE_SERVER_PROTO=http \
|
||||
-e DRONE_RPC_SECRET -e DRONE_SERVER_HOST=droneci -d \
|
||||
|
Loading…
Reference in New Issue
Block a user