diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a67240f..336ab65 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,9 @@ glide-install: - mkdir -p build/i386 build/amd64 build/armv7 cache: key: "pipeline-$CI_PIPELINE_ID" - untracked: true + paths: + - src/meow.tf/deb-simple/vendor + - src/meow.tf/deb-simple/.glide build-i386: stage: build @@ -32,6 +34,9 @@ build-i386: cache: key: "pipeline-$CI_PIPELINE_ID" policy: pull + paths: + - src/meow.tf/deb-simple/vendor + - src/meow.tf/deb-simple/.glide build-amd64: stage: build @@ -44,6 +49,9 @@ build-amd64: cache: key: "pipeline-$CI_PIPELINE_ID" policy: pull + paths: + - src/meow.tf/deb-simple/vendor + - src/meow.tf/deb-simple/.glide build-armv7: stage: build @@ -56,6 +64,9 @@ build-armv7: cache: key: "pipeline-$CI_PIPELINE_ID" policy: pull + paths: + - src/meow.tf/deb-simple/vendor + - src/meow.tf/deb-simple/.glide package-i386: stage: package @@ -63,8 +74,6 @@ package-i386: script: - cd $CI_PROJECT_DIR - ARCH=i386 packaging/build-package.sh - - echo "Uploading to repository server" - - curl -X POST "$UPLOAD_URL" -F "file=@build/i386/deb-simple_$VERSION.deb" artifacts: paths: - build @@ -75,8 +84,6 @@ package-amd64: script: - cd $CI_PROJECT_DIR - ARCH=amd64 packaging/build-package.sh - - echo "Uploading to repository server" - - curl -X POST "$UPLOAD_URL" -F "file=@build/amd64/deb-simple_$VERSION.deb" artifacts: paths: - build @@ -87,8 +94,6 @@ package-armv7: script: - cd $CI_PROJECT_DIR - ARCH=armv7 packaging/build-package.sh - - echo "Uploading to repository server" - - curl -X POST "$UPLOAD_URL" -F "file=@build/armv7/deb-simple_$VERSION.deb" artifacts: paths: - build