diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d7d74ad1dbe6dbf34453b88ea81df8a76c364391..e724ce72f503247dd6510862b2aed25456c5f322 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,33 +8,13 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
REGISTRY: "172.30.190.249:5000"
-build_submodule:
- stage: build_submodule
- image: golang
- tags:
- - docker
-# except:
-# - master
-# only:
-# changes:
-# - goe_web/**
-# - webservice/**
- script:
- - go get github.com/prometheus/client_golang/prometheus
- - go get github.com/prometheus/client_golang/prometheus/promhttp
- - cd goe_web/src/web
- - go build web.go
- - GOBIN=${CI_PROJECT_DIR}/bin/ go install
- - cd ../wrapper
- - go build wrapper.go
- - GOBIN=${CI_PROJECT_DIR}/bin/ go install
- artifacts:
- paths:
- - bin/
- expire_in: 1 hour
-
build_webservice:
stage: build_webservice
+ needs:
+ - project: martin.heide/goe_web
+ job: steve_jobs
+ ref: master
+ artifacts: true
tags:
- docker
except: