From 0cfb286b7b17cfaa6ea9f3a576d0fc82ef74820c Mon Sep 17 00:00:00 2001 From: vlaborie Date: Fri, 29 Mar 2019 15:58:07 +0100 Subject: [PATCH] Doc utilisation --- HowtoDroneCI.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/HowtoDroneCI.md b/HowtoDroneCI.md index 60ba1464..dcec03fd 100644 --- a/HowtoDroneCI.md +++ b/HowtoDroneCI.md @@ -86,4 +86,19 @@ On peut maintenant lancer **DroneCI** via docker-compose : ~~~ 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 ~~~ \ No newline at end of file