From 03e16059e43060e4634777f287ab816f77a2fe14 Mon Sep 17 00:00:00 2001 From: Ruan Bekker Date: Thu, 18 Apr 2019 17:45:18 +0200 Subject: [PATCH] add drone configuration --- .drone.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6e50801..dbb5731 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,21 +1,22 @@ pipeline: - backend: + run_golang: group: build image: golang commands: - go build - go test - frontend: + + run_bash: group: build - image: node + image: alpine commands: - - npm install - - npm run test - - npm run build + - myhostname=$(hostname) + - echo my hostname is ${myhostname} + slack: image: plugins/slack channel: system_events webhook: - from_secret: slack_webhook + from_secret: slack_webhook when: status: [ success, failure ]