19
0
Fork 0

Doc utilisation

This commit is contained in:
vlaborie 2019-03-29 15:58:07 +01:00
parent cf99ffab10
commit 0cfb286b7b
1 changed files with 15 additions and 0 deletions

View File

@ -86,4 +86,19 @@ On peut maintenant lancer **DroneCI** via docker-compose :
~~~ ~~~
docker-compose up docker-compose up
~~~
## Utilisation
DroneCI se configure via un fichier `.drone.yml` a la racine de vos projets **GIT**, voici un exemple simple qui lance l'utilitaire `shellcheck` sur un script shell :
~~~
kind: pipeline
name: default
steps:
- name: run shellcheck on script.sh
image: vlaborie/shellcheck
commands:
- LC_ALL=C.UTF-8 shellcheck script.sh
~~~ ~~~