diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2017-01-31 09:50:56 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2017-01-31 09:50:56 +0000 |
commit | ad133fbe3c9e5398224616f522afff0eb5152332 (patch) | |
tree | 26c34b827bcc1a45b76cd741b27317c262668c9f | |
parent | 78b368082d129424b02387a89f848320e4a466bf (diff) |
Added gitlab-ci
-rw-r--r-- | .gitlab-ci.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..12fbd96 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,32 @@ +stages: + - test + - package + - publish + +test: &test + stage: test + image: $CI_REGISTRY/docker-images/layers:jessie-ruby + script: + - make test + +package: &package + image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb + variables: + DISTRO: jessie + stage: package + script: + - package + artifacts: + paths: + - pkg/ + +publish: + stage: publish + variables: + RSYNC_HOSTNAME: repo.bytemark.co.uk + tags: + - shell + script: + - publish + + |