From f6b82dfe23a539c5769dc08c1b415870324f8851 Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Nov 08 2017 19:44:05 +0000 Subject: Add .gitlab-ci.yml that updates the saltmaster gitfs It updates the saltmaster gitfs on every commit on the production branch --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9d893aa --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +stages: + - deploy + +deploy_job: + stage: deploy + script: salt-call event.fire_master update salt/fileserver/gitfs/update + only: + - production + tags: + - shell