Explorar el Código

Moved front end first

luis hace 7 años
padre
commit
d986d8e566
Se han modificado 1 ficheros con 8 adiciones y 8 borrados
  1. 8 8
      .drone.yml

+ 8 - 8
.drone.yml

@@ -18,6 +18,13 @@ pipeline:
     volumes:
       - /tmp/cache:/cache
 
+    frontend:
+    image: node:6
+    commands:
+      - cd browser/vue-flow 
+      - yarn 
+      - yarn build
+
   backend: 
     image: golang
     environment:
@@ -28,14 +35,6 @@ pipeline:
       - go get -d -t ./go/src/...
       - go/deps/bin/gocov test -v -race ./go/src/... | go/deps/bin/gocov report
       - CGO_ENABLED=0 go build -o DIST/flowserver flowserver/cmd/flowserver  
-  frontend:
-    image: node:6
-    commands:
-      - cd browser/vue-flow 
-      - yarn 
-      - yarn build
-
-
   rebuild-cache:
     image: drillster/drone-volume-cache
     rebuild: true
@@ -45,6 +44,7 @@ pipeline:
     # Mount the cache volume, needs "Trusted"
     volumes:
       - /tmp/cache:/cache
+
   deploy:
     image: docker
     when: