Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-01-14 03:32:25 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-01-14 03:34:11 +0300
commit6e65163c794184b868d761e3ed62a54f5e343df7 (patch)
treeffbe893b2443a911a171768c56af9ec1b47768a3
parent0d5745308da263d7553bef7ad577e8d06d99f2d2 (diff)
Add stages and empty publish jobvtest-1
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d373a31ae..bf2f8e627 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,18 @@
image: golang:1.7
+stages:
+ - test
+ - package
+ - publish
+
test:
script:
- make
- make test
package:
+ only:
+ - tags
script:
- apt-get update -qq
- apt-get install -qq -y rubygems ruby2.1 bundler
@@ -17,3 +24,10 @@ package:
artifacts:
paths:
- ./*.deb
+
+publish:
+ only:
+ - tags
+ script:
+ - ls -lh *.deb
+ - shasum -a256 *.deb