|
@@ -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:
|