From 0c93acaea0e8fa2c908d0135ba2a9664ca0fb278 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 16 Jun 2017 15:40:52 -0700 Subject: [PATCH] No need to pull deps they are in git --- .gitlab-ci.yml | 52 +++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf56e4ff3..9a819da40 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ cache: untracked: true stages: -- deps +# - deps - build - test - deploy @@ -15,31 +15,31 @@ before_script: - ln -s `pwd` "${GOPATH}/src/gitlab-odx.oracle.com/odx/" - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions" -get_deps: - stage: deps - script: - - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions" - - pwd - - go get github.com/Masterminds/glide - - glide install --strip-vendor - - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions/fn" - - pwd - - glide install --strip-vendor - only: - - master - -load_deps: - stage: deps - script: - - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions" - - pwd - - ls vendor/github.com/ > /dev/null || which glide || go get github.com/Masterminds/glide - - ls vendor/github.com/ > /dev/null || glide install --strip-vendor - - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions/fn" - - pwd - - ls vendor/github.com/ > /dev/null || glide install --strip-vendor - except: - - master +# get_deps: +# stage: deps +# script: +# - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions" +# - pwd +# - go get github.com/Masterminds/glide +# - glide install --strip-vendor +# - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions/fn" +# - pwd +# - glide install --strip-vendor +# only: +# - master +# +# load_deps: +# stage: deps +# script: +# - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions" +# - pwd +# - ls vendor/github.com/ > /dev/null || which glide || go get github.com/Masterminds/glide +# - ls vendor/github.com/ > /dev/null || glide install --strip-vendor +# - cd "${GOPATH}/src/gitlab-odx.oracle.com/odx/functions/fn" +# - pwd +# - ls vendor/github.com/ > /dev/null || glide install --strip-vendor +# except: +# - master build_job: stage: build