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:37:14 +0300
commit773e94d4de60953ce34a19a56d8516c5f9e20e81 (patch)
tree752db7dcb93039e29f861b5a8e657cdba17e368c
parent0d5745308da263d7553bef7ad577e8d06d99f2d2 (diff)
Add stages and empty publish jobvtest-2
-rw-r--r--.gitlab-ci.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d373a31ae..f395244ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,20 @@
image: golang:1.7
+stages:
+ - test
+ - package
+ - publish
+
test:
+ stage: test
script:
- make
- make test
package:
+ stage: package
+ only:
+ - tags
script:
- apt-get update -qq
- apt-get install -qq -y rubygems ruby2.1 bundler
@@ -17,3 +26,11 @@ package:
artifacts:
paths:
- ./*.deb
+
+publish:
+ stage: publish
+ only:
+ - tags
+ script:
+ - ls -lh *.deb
+ - shasum -a256 *.deb