Doc utilisation
This commit is contained in:
parent
cf99ffab10
commit
0cfb286b7b
|
@ -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
|
||||||
~~~
|
~~~
|
Loading…
Reference in New Issue