From 4dec9871201e964a4be1b96963900edbdfbcd66f Mon Sep 17 00:00:00 2001
From: M2947 <m2947@student.jamk.fi>
Date: Fri, 26 Jun 2020 12:31:47 +0300
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8fd3903..dee3481 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,22 +1,37 @@
+image: ubuntu:lastest
+
 stages:
+    - deploy
     - build
     - test
+deploy:
+    stage: deploy
+    script:
+
+        - echo 'coping from Runner to SUT'
+        - ls /home/ubuntu/ -l -a
 
+    only:
+        - master
+    tags:
+        - DA
 build:
     stage: build
-    tags : DAserver
     script:
         - echo "Building"
         - pwd
-        - ls -l -a
 
-        
+    only:
+        - master
 
-        
+    tags:
+        - DA
         
 test:
     stage: test
     script:
         - echo "testing"
-    tags : DAserver
-
+    only:
+        - master
+    tags:
+        - DA
-- 
GitLab